What filtering does and when to use it

Filtering in Excel hides rows that don't match what you're looking for, so you see only the data you want. You keep all your data — nothing gets deleted — but Excel temporarily hides everything else. This is different from sorting, which rearranges your rows. Filtering is useful when you have a list of 500 customers but need to see only those in California, or when you have a sales log and want to see only orders over $1,000.

The filter sits at the top of each column as a small dropdown arrow. You click the arrow, choose what to show, and Excel hides the rest. When you're done, you turn the filter off and see all your data again. You can filter one column, multiple columns at once, or change your filter choices whenever you need to.

Key Takeaways

  • Click any cell in your data table, then go to the Data menu and select AutoFilter to add filter dropdowns to the top row.
  • Click the dropdown arrow in any column header, uncheck the items you want to hide, and click OK to show only what you need.
  • You can filter multiple columns at the same time — each filter works together to narrow down your results.
  • Filtered data is hidden, not deleted, so turning off the filter shows everything again.
  • Use the Data menu to clear all filters at once, or click the dropdown arrow in a single column and select Reset Filter to clear just that column.

Turning on AutoFilter for your data

Before you can filter, you need to turn on the filter feature. Click any cell inside your data table — it doesn't matter which one. Then go to the Data menu at the top of Excel and click AutoFilter. You'll see small dropdown arrows appear in the header row (the top row with your column names). If you don't see arrows, make sure you clicked a cell inside your data and try again.

The filter arrows only appear in the row you've designated as headers. If your data doesn't have a header row, Excel will treat the first row as headers when you turn on AutoFilter. If your headers are in a different row, click a cell in that row before turning on AutoFilter.

Filtering a single column

Click the dropdown arrow in the column you want to filter. A menu will open showing every unique value in that column. By default, all values are checked, meaning all rows are visible. To hide rows, uncheck the items you don't want to see. For example, if you have a "State" column and want to see only California, uncheck every state except California. Then click OK at the bottom of the menu.

Excel will now show only the rows where the State column says California. All other rows are hidden — they're still in your spreadsheet, just not visible. The row numbers on the left will turn blue to show that filtering is active. If you want to see all states again, click the dropdown arrow in that column and click Reset Filter, or check "All" to select everything again.

Using filters on multiple columns at once

You can filter more than one column to narrow down your results further. After you've filtered one column, click the dropdown arrow in another column and uncheck the values you don't want. Both filters work together. For example, you could filter State to show only California, then filter a "Sales Amount" column to show only amounts over $5,000. Now you see only California sales over $5,000.

Each column's filter is independent, so you can change one without affecting the others. If you filter three columns and then decide you want to see all states again, just reset the State column's filter — the other two filters stay active. The dropdown arrows in filtered columns turn blue to remind you that a filter is active on that column.

Finding and using number and date filters

When you click the dropdown arrow in a column with numbers or dates, you'll see an option called Number Filters or Date Filters (depending on your data type). These let you set up more specific rules than just checking and unchecking items. For example, you can filter to show only numbers greater than 100, or dates after January 1, 2024.

Click Number Filters or Date Filters, then choose your condition from the menu. You'll see options like "Greater Than", "Less Than", "Between", and others. Select the condition you want, enter the number or date you're comparing to, and click OK. This is faster than unchecking dozens of individual values when you're working with a large range of numbers or dates.

Clearing filters and turning AutoFilter off

To hide the filter arrows and show all your data again, go to the Data menu and click AutoFilter a second time. The filter arrows disappear and all hidden rows become visible. Your data hasn't changed — you've just turned off the filter feature.

If you want to keep the filter arrows visible but show all rows, go to the Data menu and click Clear (or Reset Filter, depending on your Excel version). This removes all active filters but leaves the dropdown arrows in place so you can filter again later. You can also click the dropdown arrow in a single column and select Reset Filter to clear just that column's filter while keeping others active.

Sorting filtered data

When you have filtered data showing, you can sort it just like you would sort unfiltered data. Click the dropdown arrow in any column and look for sort options at the top of the menu — usually Sort A to Z, Sort Z to A, Sort Smallest to Largest, or Sort Largest to Smallest. Excel will rearrange only the visible (filtered) rows, leaving hidden rows in their original order.

This is useful when you've filtered to show only California sales and now want to see them sorted by amount, highest to lowest. The sort applies only to what you're looking at, so you don't accidentally rearrange your entire dataset. When you clear the filter, the rows return to their original order.

Frequently Asked Questions

Can I save my spreadsheet with filters active?

Yes. When you save a file with filters on, Excel remembers which filters were active the last time you saved. The next time you open the file, the same filters will be applied. If you want to open the file showing all data, turn off AutoFilter before saving, or clear all filters and then save.

What's the difference between filtering and sorting?

Filtering hides rows you don't want to see while keeping all your data intact. Sorting rearranges your rows in a new order (A to Z, smallest to largest, etc.). You can do both — filter first to show only what you want, then sort that filtered data by another column.

Can I filter text that contains specific words?

Yes. Click the dropdown arrow in a text column and look for Text Filters. Choose Contains, type the word or phrase you're looking for, and click OK. Excel will show only rows where that column contains your search term, even if it's part of a longer phrase.

Why don't I see filter arrows when I turn on AutoFilter?

Make sure you clicked a cell inside your data table before turning on AutoFilter. If your data has no header row, Excel treats the first row as headers. If your headers are in a different row than the first row, click a cell in the header row and turn on AutoFilter again.

If I filter and delete rows, are the hidden rows deleted too?

No. When you delete rows in a filtered view, only the visible rows are deleted. Hidden rows stay in your spreadsheet. If you want to delete hidden rows, you must clear the filter first to make them visible, then delete them.