Insert, delete and hide rows and columns by keyboard
Shortcut drills8 min
Builds on Add it up with SUM and Rows, columns and widths.
An HR assistant in Dublin keeps the team's leave tracker. A new starter needs a row, a leaver's row has to go, and the salary column must be out of sight before a screen share with the managers.
How it works
ShiftSpace selects the row of the active cell, and CtrlSpace selects its column. With whole rows or columns selected, CtrlShift= (the plus key) inserts as many as you selected, above the rows or to the left of the columns, and Ctrl- deletes them. With only part of a row selected, the same keys ask which way to move the cells around it.
Ctrl9 hides the selected rows and Ctrl0 the columns. To show them again, select the rows or columns on both sides, right-click and choose Unhide. ShiftF11 adds a new sheet.
| Row | A | B |
|---|---|---|
| 1 | To | Press |
| 2 | Select the row, or the column | ShiftSpace, or CtrlSpace, the same on a Mac |
| 3 | Insert | CtrlShift= (on a Mac, also CmdShift=) |
| 4 | Delete | Ctrl- (on a Mac, Cmd-) |
| 5 | Hide rows, or columns | Ctrl9, or Ctrl0, the same on a Mac |
| 6 | Repeat the last action | F4 (on a Mac, CmdY) |
Example
A total keeps up with an inserted row only when the row lands inside its range:
Common mistakes
- A row inserted between the last row and its total isn't in the total. Check the total's range after every insert near the bottom of a list.
- Delete empties the cells and leaves a blank row in the list. To take the row out, select it with ShiftSpace and press Ctrl-.
- On a Mac with more than one keyboard language, CtrlSpace may switch languages instead of selecting the column.
- Hiding protects nothing: anyone can unhide a column. Take sensitive data out of a file before you send it.
In short
- ShiftSpace selects the row and CtrlSpace the column. Then CtrlShift= inserts and Ctrl- deletes.
- After inserting near the bottom of a list, check that the total's range reaches the new row.
- Ctrl0 hides columns and Ctrl9 rows. Unhide from the right-click menu.
Practice
4 exercises · free, no account needed