The fastest way to remove multiple rows or columns
To delete multiple rows or columns in Excel, select them all at once, then right-click and choose Delete. Excel removes all selected rows or columns in a single action, which is much faster than deleting them one at a time. The rows or columns below or to the right shift up or left to fill the gap.
The method you use depends on whether the rows or columns are next to each other or scattered throughout your spreadsheet. Consecutive rows are easiest — select the first one, hold Shift, and click the last one. Non-consecutive rows require holding Ctrl (or Command on Mac) and clicking each one separately.
Key Takeaways
- Select multiple consecutive rows by clicking the first row number, holding Shift, and clicking the last row number you want to delete.
- Select non-consecutive rows by clicking the first row number, then holding Ctrl (or Command on Mac) and clicking each additional row number.
- Right-click any selected row or column and choose Delete to remove all of them at once.
- Deleted rows shift up; deleted columns shift left, so check your formulas afterward if they reference cells below or to the right of the deletion.
Selecting consecutive rows or columns
If the rows or columns you want to delete are next to each other, this is the quickest method. Click the row number (or column letter) of the first row or column you want to remove. The entire row or column highlights in blue.
Now hold down the Shift key and click the row number or column letter of the last row or column in the group. Excel selects everything from the first one to the last one, including all rows or columns in between. You will see all selected rows or columns highlighted in blue.
Selecting non-consecutive rows or columns
When the rows or columns you need to delete are scattered throughout the spreadsheet, use Ctrl (or Command on Mac) to select them individually. Click the first row number or column letter, then hold Ctrl and click each additional row number or column letter you want to remove.
Each click adds that row or column to your selection without removing the previous ones. You can select as many as you need this way. All selected rows or columns will be highlighted in blue when you are ready to delete them.
Deleting the selected rows or columns
Once you have selected all the rows or columns you want to remove, right-click anywhere on one of the highlighted row numbers or column letters. A menu appears with several options.
Click Delete from the menu. Excel removes all selected rows or columns immediately. Rows below the deleted ones shift up to fill the space; columns to the right of deleted ones shift left. Your spreadsheet automatically adjusts, and any data that was below or to the right moves into the newly empty space.
What happens to your formulas after deletion
If your spreadsheet contains formulas that reference cells in the rows or columns you just deleted, those formulas will show an error or change their result. Excel updates cell references automatically when rows or columns shift, but if a formula pointed directly to a deleted cell, it breaks.
Before you delete multiple rows or columns, scan your spreadsheet for formulas that might be affected. Look for cells containing formulas (they start with an equals sign) that reference the area you are about to delete. If you are unsure, you can undo the deletion by pressing Ctrl+Z (or Command+Z on Mac) immediately after.
Using the Edit menu instead of right-click
If right-clicking does not work or you prefer using the menu bar, you can delete rows or columns through the Edit menu. After selecting the rows or columns you want to remove, click Edit at the top of the screen, then find and click Delete.
This method works the same way as right-clicking — all selected rows or columns are removed at once. Some versions of Excel place this option under a Sheet menu instead of Edit, depending on whether you are using Excel on Windows, Mac, or online.
Deleting rows or columns by content instead of position
Sometimes you want to delete rows based on what they contain rather than their position. For example, you might want to remove all rows where a certain column is blank, or all rows with a specific value. The fastest way to do this is to sort or filter your data first, then select and delete the rows you need.
Use the AutoFilter feature to show only the rows you want to delete, select them all, and delete them together. After deletion, remove the filter to see the remaining data. This approach is safer than trying to select scattered rows manually, because you can see exactly which rows will be removed before you act.
Frequently Asked Questions
Can I undo a deletion if I delete the wrong rows?
Yes. Press Ctrl+Z (or Command+Z on Mac) immediately after deleting to undo the action. Excel will restore the deleted rows or columns and put your data back. If you have made other changes since the deletion, you may need to press Ctrl+Z multiple times to go back far enough.
What is the difference between deleting and clearing?
Deleting removes the entire row or column and shifts everything else over. Clearing removes only the content inside the cells but leaves the empty rows or columns in place. Use Delete when you want to remove the row or column itself; use Clear when you only want to erase what is inside it.
Will deleting rows affect my charts or pivot tables?
Charts and pivot tables that reference the deleted rows will lose that data and update automatically. If the chart or pivot table depends entirely on the rows you delete, it may become empty or show an error. Check any charts or pivot tables before deleting large sections of data.
Can I select and delete rows across multiple sheets at once?
No. You can only select and delete rows within a single sheet at a time. If you need to delete the same rows from multiple sheets, you will need to repeat the process on each sheet separately.
Why does my selection disappear when I right-click?
This usually means you right-clicked on a cell instead of on a row number or column letter. Make sure you are clicking directly on the row number (the gray box on the left with the number) or the column letter (the gray box at the top with the letter), not on a cell inside the row or column.