Word tables have a reputation for breaking the moment you try to change them. You want one more row, you press Enter in the wrong place, and suddenly a cell is twice as tall and the layout has shifted. Most of that goes away once you use the table commands instead of improvising with Enter and the space bar.
TL;DR: Tab in the last cell adds a row; everything else lives on the Table Layout tab under Insert, Merge and Delete.
We tried each step in Word for the web.
Four moves
Tab in the last cell adds a row.
Put the cursor in the bottom-right cell and press Tab. A new empty row appears underneath, with the same column widths. This is the fastest way to extend a list.Insert rows and columns where you need them.
Click a cell, go to the Table Layout tab and open Insert. You can add a row above or below, or a column to the left or right. In our sample we used it to add a "March" column next to the existing months.Merge cells into one heading cell.
Select the cells you want to combine (selecting the whole row is easiest: use the Select drop-down on the Table Layout tab and choose the row), then use the merge command on the same tab. The cells become one, which suits a title row that spans the table.Delete a row cleanly.
Put the cursor in the row, then on Table Layout open Delete and choose to delete the row. In our sample the "Daegu" row disappeared and the rest of the table closed up.
Why not just press Delete?
Selecting a row and pressing the Delete key clears the text but leaves the empty row behind. Backspace behaves differently depending on the selection. The Delete command on the Table Layout tab removes the row itself, which is usually what you meant.
Common mistakes
- Pressing Enter to "add a row". Enter adds a new line inside the current cell, which makes the row taller instead of adding a new one.
- Merging before the data is final. Merged cells make later sorting and copying harder. Merge headings at the end.
- Putting data tables in Word that belong in Excel. If you need totals or sorting, build the table in Excel and paste or link it. Word tables are best for layout and short reference tables.
In code
If you generate reports with python-docx, adding a row looks like this:
from docx import Document
doc = Document("report.docx")
table = doc.tables[0]
cells = table.add_row().cells
cells[0].text = "Busan"
doc.save("report.docx")
python-docx also has cell.merge(other_cell) for merging. Deleting a row has no one-line helper, which is one more reason to get the table structure right in the template.
An AI assistant helped draft this article. The steps were tried in Word for the web.
Top comments (0)