Shortcuts, iPhone, AI & small business
Keyboard shortcuts

Excel shortcut to delete a row: Ctrl + - (and delete blank rows fast)

Select the row with Shift + Space and press Ctrl + - to delete it in Excel. Delete several rows at once, remove every blank row in a list, delete filtered rows only, and what to do when the shortcut opens a dialog.

By The Applio team4 min read

6-second videoDelete a row in Excel with Ctrl + -Select the row with Shift + Space and press Ctrl + -. The row is removed and the list closes up.A new shortcut every week. Follow us:YouTube · TikTok · Instagram · Facebook · Pinterest

To delete a row in Excel from the keyboard, press Shift + Space to select the row, then Ctrl + - (the minus key). The row disappears and the rows below move up. On a Mac the keys are Shift + Space, then Cmd + -.

Quick reference

What you want Windows Mac
Select the whole row Shift + Space Shift + Space
Delete the selected row Ctrl + - Cmd + -
Select the whole column Ctrl + Space Control + Space
Delete the selected column Ctrl + - Cmd + -
Insert a row above Ctrl + Shift + + Cmd + Shift + +
Undo the delete Ctrl + Z Cmd + Z

Why you sometimes get a dialog

If you press Ctrl + - with only a cell selected, Excel does not know what you want to remove and opens the Delete dialog with four choices: shift cells left, shift cells up, entire row, entire column. Press R and Enter for the entire row.

Selecting the row first with Shift + Space skips the dialog. That is why the two-step version is faster once it is in your fingers.

One thing to watch: Shift + Space does not select the row while you are editing a cell. It types a space instead. Press Esc or Enter first.

Delete several rows at once

  • Rows next to each other: press Shift + Space, hold Shift and press ↓ to extend the selection, then Ctrl + -.
  • Rows that are apart: hold Ctrl and click each row number on the left, then press Ctrl + -.
  • A long block: click the first row number, scroll down, hold Shift and click the last row number, then Ctrl + -.

Delete every blank row in a list

Exports often arrive with empty rows scattered through the data. To remove them all in one go:

  1. Select the column that should never be empty, such as the ID or name column.
  2. Press F5, click Special, choose Blanks and click OK. Excel selects only the empty cells.
  3. Press Ctrl + -, choose Entire row and click OK.

Pick the column with care. If you select a column where some real rows have an empty cell, those rows are deleted too. When in doubt, sort the list by that column first so the blank rows gather at the bottom, and delete them as one block.

Delete only the rows that match a filter

  1. Click in the list and press Ctrl + Shift + L to switch on the filter.
  2. Use the arrow in the header to show only the rows you want to remove, for example Status = Cancelled.
  3. Select the visible rows by their row numbers and press Ctrl + -.
  4. Clear the filter. The other rows are untouched.

Excel deletes only the visible rows of a filtered list. This does not apply to rows hidden by hand with Hide: those are deleted together with the selection around them.

Delete or clear?

Delete on the keyboard only empties the cells. The row stays, as a gap in your list. Ctrl + - removes the row itself and pulls everything below it up.

Formulas that pointed at a deleted row show #REF!. Ranges such as =SUM(B2:B50) shrink by themselves and keep working, which is one more reason to sum ranges instead of adding single cells.

When Ctrl + - does not work

  • The numeric keypad minus works but the main one does not, or the other way round. Both should work in current Excel. On laptops without a keypad use the minus key next to 0.
  • The page zooms out. You are in Excel for the web and the browser took the shortcut. Click a cell in the grid first, or right-click the row number and choose Delete.
  • The command is greyed out. The sheet is protected, or the row crosses a merged cell or part of a table that cannot be split. Unprotect the sheet under Review, or delete table rows with right-click, Delete, Table Rows.
  • Nothing happens on a Mac. Use Cmd + -. Control + - also works in recent versions.

Google Sheets

In Google Sheets select the row with Shift + Space, then press Ctrl + Alt + - (Cmd + Option + - on a Mac). The rest of the Sheets keys are in our Google Sheets shortcuts guide.

Common questions

How do I delete a row without the mouse at all?

Move to any cell in the row with the arrow keys, press Shift + Space, then Ctrl + -.

Can I get a deleted row back?

Press Ctrl + Z straight away. After you save and close the file, the only way back is an earlier version under File, Info, Version History.

Is there a shortcut to delete a column?

Yes, the same one. Press Ctrl + Space to select the column, then Ctrl + -.

The opposite move is covered in our guide to the Excel insert row shortcut. Both are in the Excel shortcuts cheat sheet, with a free printable PDF.

Written by

The Applio team

We build booking software for appointment-based businesses: the Applio platform and the BarberSamir app on the App Store. We write about the tools and habits that save us time. More about us

Keep reading

Shortcuts

AutoSum shortcut in Excel: Alt + = adds up a column for you

Click the cell under your numbers and press Alt + = to insert a SUM formula in Excel. Sum several columns at once, add row totals, sum only visible rows, and fix AutoSum when it picks the wrong range or returns 0.

· 5 min read

Shortcuts

Excel shortcut for today's date: Ctrl + ; (and the time)

Press Ctrl + ; to type today's date into an Excel cell and Ctrl + Shift + ; for the current time. Mac keys, date and time in one cell, filling many cells at once, TODAY() vs the shortcut, and fixes when it does nothing.

· 6 min read