Rows, columns and widths
Enter and organize data8 min
Builds on Select ranges, rows and columns.
A finance assistant in Hamburg keeps the half-year expense summary. April was left out, a cancelled project still has its row, and since the totals grew, one column shows ##### where the figures should be.
How it works
You work on rows and columns from their headers, the numbers down the left and the letters along the top. Right-click one (Control and a click on a Mac) for the commands. Insert adds a row above the one you clicked, or a column to its left. Everything below or to the right moves along, and formulas follow the cells they pointed at, so a total over B2:B7 becomes B2:B8 when a row goes in between its first and last rows.
Delete removes the row or column and closes the gap, where the Delete key only empties the cells and leaves a blank row in your list. Hide puts a row or column out of sight with everything in it, and formulas still use it. To bring it back, select the headers on both sides, right-click and choose Unhide. Select several headers first to work on several at once; Insert and Delete on the Home tab do the same jobs.
When a number or a date doesn't fit its column, Excel shows ##### instead of a wrong value. Double-click the border to the right of the column letter to fit the column to its widest entry, or drag the border to the width you want. Format > Column Width on the Home tab sets an exact width.
Example
Project Delta, on row 4, was cancelled:
Common mistakes
- A row added just below a list, between the last row and the total, falls outside the total's range. Check the total after you insert near the bottom.
- Pressing Delete to remove a row leaves a gap, which stops sorting and CtrlDown partway down the list. Delete the row from its header instead.
- Hiding protects nothing. Anyone can unhide a column, so take private figures out of a file before you send it.
In short
- Insert goes above a row or left of a column, and Delete closes the gap.
- Hide keeps the data, and Unhide needs the rows or columns on both sides selected.
#####means too narrow: double-click the border right of the column letter.- To insert, delete and hide from the keyboard, see Insert, delete and hide rows and columns by keyboard.
Practice
4 exercises · free, no account needed