The fastest way to delete multiple rows at once

To delete multiple rows in Excel, select all the rows you want to remove, then right-click and choose Delete. The rows disappear and the rows below shift up to fill the gap. This takes seconds and works the same way whether you're deleting 2 rows or 200.

The key is selecting the rows correctly first. You can select rows that sit next to each other, rows scattered throughout your sheet, or a mix of both. Each selection method is slightly different, so the section below walks through the exact steps for each situation.

Key Takeaways

  • Click the row number on the left to select an entire row, then hold Shift and click another row number to select a range of consecutive rows.
  • Hold Ctrl (or Cmd on Mac) and click individual row numbers to select rows that are not next to each other.
  • Right-click any selected row number and choose Delete to remove all selected rows at once.
  • Deleted rows cannot be recovered after you save the file, so use Ctrl+Z to undo immediately if you delete the wrong rows.

Selecting consecutive rows (rows that sit next to each other)

Click the row number of the first row you want to delete. The entire row highlights in blue. Then hold Shift on your keyboard and click the row number of the last row you want to delete. Excel selects every row between the first and last row you clicked, including both of them.

For example, if you want to delete rows 5 through 12, click the number 5 on the left side, hold Shift, and click the number 12. All eight rows highlight at once. Then right-click any of the highlighted row numbers and select Delete.

Selecting non-consecutive rows (rows scattered throughout the sheet)

Click the row number of the first row you want to delete. Then hold Ctrl on your keyboard (Cmd if you're on a Mac) and click the row numbers of each additional row you want to delete. Each row you click adds to your selection without removing the previous ones.

For example, if you want to delete rows 3, 7, and 15, click 3, then hold Ctrl and click 7, then hold Ctrl and click 15. All three rows highlight. Right-click any highlighted row number and select Delete. All three rows disappear at once, and the remaining rows shift up to fill the gaps.

Selecting a mix of consecutive and non-consecutive rows

You can combine both methods. Click the first row number, hold Shift, and click the last row number in a range to select consecutive rows. Then hold Ctrl and click individual row numbers to add scattered rows to your selection.

For instance, you could select rows 2 through 5 (by clicking 2, holding Shift, and clicking 5), then hold Ctrl and click row 10 and row 18 separately. All six rows highlight together. Right-click and select Delete to remove them all.

What happens after you delete rows

When you delete rows, every row below them moves up to close the gap. If you delete rows 5 through 8, what was row 9 becomes row 5, what was row 10 becomes row 6, and so on. Your data stays intact — only the row numbers change.

If you delete the wrong rows by mistake, press Ctrl+Z (or Cmd+Z on Mac) immediately to undo. This works as long as you haven't closed the file. Once you save and close the file, deleted rows cannot be recovered. If you're deleting a large number of rows and you're not completely certain, save a copy of the file first.

Deleting rows with filters or hidden rows

If your sheet has filters turned on and you've hidden some rows, be careful. When you select and delete rows, Excel deletes only the visible rows you selected, not the hidden ones. This can lead to unexpected results if you're not paying attention.

Before deleting rows in a filtered sheet, turn off the filter to see all rows. Click the Data tab at the top, then click Filter to toggle it off. Now you can see which rows are actually there and select the ones you truly want to delete. After you delete them, you can turn the filter back on if you need it.

Deleting rows based on a condition (using sorting or filtering first)

If you want to delete all rows that meet a certain condition — for example, all rows where the sales total is below $100 — sort or filter your data first to group those rows together. Then select and delete them all at once.

To filter, click any cell in your data, then click the Data tab and select Filter. Small dropdown arrows appear in the header row. Click the dropdown for the column you want to filter by, uncheck the values you want to keep, and click OK. Now only the rows you want to delete are visible. Select all of them, right-click, and choose Delete. Then turn the filter off to see the remaining rows.

Frequently Asked Questions

Can I delete rows if I'm not sure which ones I need?

No — delete only rows you are certain you don't need. If you're unsure, save a copy of the file first, then delete from the copy. That way your original stays safe. You can always compare the two files later if you need to check what was removed.

What's the difference between deleting a row and clearing its contents?

Deleting a row removes it entirely and shifts all rows below it up. Clearing contents erases the data but leaves the empty row in place. To clear contents instead, select the rows, right-click, and choose Clear Contents. Use this when you want to keep the row structure but remove the data.

Does deleting rows affect formulas in other cells?

Yes. If a formula in another cell refers to a row you delete, that formula will show an error or change its result. Before deleting rows that other formulas depend on, check whether any formulas reference them. You can use Find & Replace (Ctrl+H) to search for the row number in your formulas.

Can I delete rows in a shared Excel file?

Yes, but be cautious. If multiple people are editing the same file, deleting rows can cause conflicts if someone else is working on those rows at the same time. Tell your team before you delete large sections, or work on the file when others are not using it.