Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Excel Delete Row Shortcut: The Fastest Ways to Do It

· 4 min read · Home Automation

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To delete a row in Microsoft Excel using a shortcut, the fastest method is to select the row and press Ctrl + Minus sign (-). If you haven't selected the entire row yet, you can do so by pressing Shift + Space first, then pressing Ctrl + -. This process removes the entire row and shifts the remaining data up to fill the gap.

Using keyboard shortcuts for row deletion is significantly faster than right-clicking or using the ribbon menu, especially when cleaning up large datasets or removing multiple empty rows. These shortcuts work across most versions of Excel for Windows, though slight variations exist for macOS.

What You'll Need

  • A computer with Microsoft Excel installed.
  • An open workbook containing the data you wish to modify.
  • A keyboard with a numeric keypad or a standard top-row number line.

Step-by-Step

  1. Select a cell: Click on any cell within the row you want to delete.
  2. Select the entire row: Press Shift + Space. This highlights every cell in that specific row from column A to the end of the sheet.
  3. Execute the delete command: Press Ctrl + Minus sign (-).
    • If you have a numeric keypad, use the minus key on the keypad.
    • If you are using a laptop or a keyboard without a keypad, use the hyphen/minus key next to the zero key.
  4. Verify the deletion: The selected row will disappear immediately, and the rows below it will move up one position.

Alternative Method (The Delete Dialog): If you press Ctrl + - without first selecting the entire row (Shift + Space), Excel will open a small "Delete" dialog box. In this menu, you can select "Entire row" using your arrow keys and press Enter to complete the deletion.

Common Mistakes

  • Confusing "Clear Contents" with "Delete": Pressing the Delete key on your keyboard only clears the data (the text or numbers) from the cells; it does not remove the row itself. This leaves behind an empty blank row. To remove the actual row structure, you must use the Ctrl + Minus shortcut.
  • Selecting only a range of cells: If you highlight only a few cells (e.g., A1 to C1) and press Ctrl + Minus, Excel will ask if you want to shift cells up or shift cells left. If you want the whole row gone, ensure the entire row is highlighted first.
  • Using the wrong Minus key: On some international keyboard layouts, the shortcut may behave differently depending on whether you use the hyphen key or the numeric keypad minus key. If one doesn't work, try the other.

Tips

  • Deleting Multiple Rows: To delete several rows at once, hold Shift and use the Up or Down arrow keys after pressing Shift + Space. Once the desired block of rows is highlighted, press Ctrl + - to delete them all in one go.
  • Non-Adjacent Rows: To delete rows that are not next to each other, hold the Ctrl key and click the row numbers on the far left of the screen. Once all target rows are selected, press Ctrl + -.
  • The Undo Shortcut: If you accidentally delete the wrong row, immediately press Ctrl + Z to restore the data.
  • Mac Users: On macOS, the shortcut is Command (⌘) + Minus sign (-). To select the row, use Shift + Space as you would on Windows.

Troubleshooting

If the shortcut key is not working as expected, try these steps in order:

  1. Check for Protected Sheets: If the worksheet is protected, you cannot delete rows. Go to the Review tab and check if it says "Unprotect Sheet." If it does, the sheet is locked, and you will need the password to enable deletions.
  2. Check for Shared Workbook Restrictions: In some older "Shared Workbook" modes or specific co-authoring settings, certain structural changes like deleting rows may be restricted if another user is editing that specific area.
  3. Verify Cell Edit Mode: Ensure you are not currently typing inside a cell. If the cursor is blinking inside a cell or the formula bar, Excel is in "Edit Mode," and shortcuts for row manipulation will not work. Press Enter or Esc to exit the cell first.
  4. Keyboard Hardware Check: Ensure your Fn (Function) key isn't locked in a way that changes the behavior of your number row or keypad.

Frequently Asked Questions

Can I delete a row using only the mouse?

Yes. Right-click on the row number (the gray column on the far left) and select Delete from the context menu.

How do I delete only the contents but keep the row?

Simply select the row or cells and press the Delete key on your keyboard. This clears the data but leaves the empty row in place.

Is there a way to delete all blank rows at once?

The fastest way is to use Find & Select > Go To Special > Blanks, then press Ctrl + - and select "Entire row." This removes all empty rows in the selected range.

Why does a menu pop up instead of the row just disappearing?

This happens because you have only selected a single cell or a small range of cells rather than the entire row. Use Shift + Space before pressing Ctrl + Minus to bypass this menu.

Does this shortcut work in Excel Online (Web version)?

Yes, the Ctrl + - shortcut generally works in the web version of Excel, provided your browser is not overriding the keyboard command.