LearnExcel.io
Menu

How to Delete Filtered Rows in Excel

Written by ··Updated June 16, 2026

To delete filtered rows in Excel, filter your data so only the unwanted rows are visible, select those visible rows by their row numbers, then right-click and choose Delete Row. When a filter is active, Excel deletes only the visible rows and leaves the hidden (filtered-out) rows untouched, so this is the safe way to remove a subset without harming the rest of your data.

If you often work with large datasets in Microsoft Excel, filtering is likely one of your go-to commands. While filtering helps you quickly identify and analyze specific data subsets, it can be frustrating when you need to delete the filtered rows. Deleting filtered rows in Excel is a common task that many users struggle with, but fortunately, it’s a quick and straightforward process. In this blog post, we’ll walk you through how to delete filtered rows in Excel, step-by-step, so you can streamline your work and save time.

Step 1: Filtering Your Data

The first step in deleting filtered rows in Excel is to filter your data. If you have not turned filtering on yet, see how to use the filter feature in Excel. To filter your data, first click on the filter icon located in the toolbar. Then, select the column you want to filter and choose the criteria you want to filter by.

For example, if you want to filter a list of sales by date, choose the column that contains the dates and select the date range you want. Once you’ve selected your criteria, Excel will filter the list to show only the rows that meet your criteria.

Step 2: Selecting Rows to Delete

After you’ve filtered your data, you’ll need to select the rows you want to delete. To do this, simply click on the first row you want to delete and then hold down the Shift key while clicking on the last row. This will select all the rows between the first and last row, plus the first and last row themselves. If you want to delete individual rows, simply click on each row you want to delete while holding down the Ctrl key. (For non-filtered situations, you can also delete multiple rows in Excel the same way.)

Step 3: Deleting the Rows

Now that you have selected the rows you want to delete, you’re ready to delete them! To do this, simply right-click on one of the selected rows and choose “Delete Row” from the drop-down menu. Excel will ask you to confirm that you want to delete the selected rows, so be sure to click “OK” to complete the process.

Because a filter is still active, Excel removes only the visible rows you selected — the rows hidden by the filter stay in place. This is what makes deleting filtered rows safe: unlike copying a filtered range (which also grabs only visible cells), a delete here will not silently take the hidden rows with it. The one thing to watch is the difference between deleting filtered rows and clearing a filtered column: selecting the visible cells in a single column and pressing Delete clears only those cell values (leaving blank cells behind in the visible rows), rather than removing entire records. If your goal is to drop whole records, always delete the entire row.

Step 4: Clearing Filters

Now that you’ve deleted the filtered rows, you may want to clear the filters to see your full dataset again. To do this, simply click on the filter icon in the toolbar again and select “Clear Filter” from the drop-down menu. This will remove the filters from your data and show you all the rows in your dataset. For more options, see how to clear filters in Excel or remove filters entirely.

Conclusion

Deleting filtered rows in Excel is a simple process that can help you quickly remove unwanted data from your dataset. By following the steps outlined in this blog post, you can streamline your work and save time in Excel. Happy filtering!

Why Delete Filtered Rows in Excel?

By deleting filtered rows in Excel, you can remove unwanted data from your spreadsheet, leaving you with a clean and organized dataset. This is especially useful when working with large datasets, as it can be time-consuming to manually delete rows of data that you don’t need. Additionally, deleting filtered rows can reduce the file size of your Excel spreadsheet, which can help speed up performance.

Other Methods to Delete Rows

There are other ways to delete rows in Excel, but they may not be as efficient as deleting filtered rows. For example, you can delete individual rows by right-clicking on a row number and choosing “Delete” from the drop-down menu. You can also use the “Delete” key on your keyboard to delete individual rows or a series of selected rows. However, these methods can be time-consuming, especially if you have a large dataset. If the rows you want gone are empty, it is usually faster to delete blank rows in Excel; for repeated records, see how to delete duplicate rows in Excel.

Undoing Deleted Rows

If you accidentally delete rows in Excel, don’t panic! Excel has an “Undo” button that you can use to undo your last action. To use the “Undo” button, simply click on the icon in the toolbar or use the keyboard shortcut “Ctrl + Z”. This will undo your last action, including any rows you accidentally deleted.

Using Excel Shortcut Keys to Delete Filtered Rows

If you’re a fan of using keyboard shortcuts, there is a way to delete filtered rows using a combination of keys. First, filter your data as usual. Next, select the rows you want to delete, and then press “Ctrl + Shift + Space” to select the entire row. Finally, press “Ctrl + -” (minus) to bring up the “Delete” dialog box and choose to “Delete entire row”. This method may take some practice, but it can be faster than using the mouse.

Final Thoughts

Deleting filtered rows in Excel is a powerful tool that can help you quickly remove unwanted data from your datasets. By filtering your data, selecting the rows you want to delete, and deleting them, you can create a clean and organized spreadsheet. Remember, Excel has an “Undo” button if you accidentally delete rows, and you can use keyboard shortcuts to save time. With these tips, you’ll be an Excel pro in no time!

Frequently Asked Questions

Here are some frequently asked questions about deleting filtered rows in Excel:

Can I recover deleted rows in Excel?

Yes, you can recover deleted rows in Excel, but only if you have not saved your spreadsheet after deleting the rows. To recover the rows, simply click “Undo” or use the keyboard shortcut “Ctrl + Z”. If you have already saved and closed the file, you may still be able to recover a deleted Excel file from a backup or version history.

How do I know which rows are filtered?

Filtered rows are indicated by a filter icon in the column header. If there is a filter icon, it means that the column has been filtered and only the rows that meet the criteria are visible.

Can I delete hidden rows in Excel?

Yes, you can delete hidden rows in Excel. To delete hidden rows, first unhide the rows by selecting the rows adjacent to the hidden rows, right-clicking, and choosing “Unhide” from the drop-down menu. Then, select the rows you want to delete and follow the same process as deleting filtered rows.

What if I only want to delete certain columns instead of entire rows?

If you only want to delete certain columns instead of entire rows, you can use the “Delete” button on the “Home” tab in Excel. Select the column you want to delete, and click the “Delete” button in the “Cells” group. This will delete the entire column, including the data in the column.

Can I delete multiple filtered rows at once?

Yes, you can delete multiple filtered rows at once. Simply select the first row you want to delete, hold down the “Shift” key, and select the last row you want to delete. This will select all the rows between the first and last row, plus the first and last row themselves. Then, right-click one of the selected rows and choose “Delete Row” from the drop-down menu to delete all the selected rows.

When I delete filtered rows, does Excel also delete the hidden rows?

No. As long as a filter is active and you select the visible rows by their row numbers, Excel deletes only the visible rows and keeps the filtered-out (hidden) rows. This is different from manually hidden rows: if rows are hidden without a filter and your selection spans them, a Delete Row can remove those hidden rows too. When a filter is on, you are safe — but if you are unsure, switch to deleting hidden rows deliberately.

Why does deleting a filtered column behave differently from deleting filtered rows?

Deleting filtered rows removes entire records. But if you select only the visible cells in one filtered column and press the Delete key, Excel just clears those cell values and leaves empty cells behind in the still-existing rows. To remove whole records, always select and delete the entire row rather than clearing a single column.

Related guides

View all Excel Data Manipulation and Transformation guides →