Filtering shows and hides rows based on what you type
A filter in Excel lets you display only the rows that match what you're looking for, while hiding the rest. If you have a spreadsheet with 500 customer names and you want to see only those from California, a filter does that instantly. The hidden rows are still there — you're not deleting anything — you're just temporarily hiding them so you can focus on one part of your data.
Filters work on columns. You pick a column header, tell Excel what to show, and it hides every row that doesn't match. You can filter multiple columns at once. When you're done, you remove the filter and all your rows come back.
Key Takeaways
- Click any cell in your data table, then go to the Data menu and select AutoFilter to turn filtering on.
- Filter buttons appear in the header row of each column — click the button in the column you want to filter.
- Check or uncheck the boxes next to the values you want to show or hide, then click OK.
- You can filter multiple columns at the same time, and Excel shows only rows that match all your filters.
- Remove a filter by going back to the Data menu and clicking AutoFilter again to turn it off.
Turn on AutoFilter in three clicks
Start by clicking any cell inside your data table — it doesn't matter which one. Excel needs to know where your data is, and clicking anywhere in the table tells it.
Go to the Data menu at the top of the screen. Look for the button labeled AutoFilter and click it. Small dropdown arrows now appear in the header row of every column. Those arrows are your filter buttons.
If you don't see the header row, make sure the first row of your table contains column names like "Name", "City", or "Sales". Excel treats the top row as headers and puts filter buttons there.
Click the dropdown arrow and choose what to show
Find the column you want to filter. Click the small dropdown arrow in that column's header. A menu opens showing every unique value in that column — if your column is "State", you'll see Alabama, Alaska, Arizona, and so on.
By default, all values have a checkmark, meaning all rows are visible. Uncheck the box next to any value you want to hide. For example, if you uncheck "Texas", every row with Texas in that column disappears. Check only the values you want to see.
At the bottom of the menu, click OK. Excel now shows only the rows that match your choice. The dropdown arrow in that column turns blue to remind you a filter is active on it.
Filter multiple columns to narrow down further
You can filter more than one column. After you filter the first column, click the dropdown arrow in a second column and choose what to show there too. Excel displays only rows that match both filters.
For example, filter "State" to show only California, then filter "Sales" to show only amounts over $5,000. Now you see only California rows with sales over $5,000. Every other row is hidden.
Add as many filters as you need. Each one narrows the results further. The blue arrows in multiple column headers show you which columns have active filters.
Use the search box to find values faster
If your column has hundreds of values, scrolling through the checkbox list is slow. At the top of the filter menu, you'll see a search box. Type part of what you're looking for and Excel shows only matching values.
For example, if you're filtering a "Product" column and you type "shirt", the list shows only products with "shirt" in the name. Uncheck "Select All" first if you want to hide everything, then check only the items the search found.
Remove a filter to show all rows again
Click the Data menu and select AutoFilter again. The filter buttons disappear from the header row and all hidden rows come back. Your data is unchanged — you've just turned off the filter view.
If you want to keep the filter buttons but show all rows in one specific column, click that column's dropdown arrow and select Select All, then click OK. That column stops hiding anything, but filters on other columns stay active.
Clear a filter without turning off AutoFilter
Sometimes you want to remove one filter but keep the filter buttons visible for later use. Click the dropdown arrow in the column you want to clear. At the top of the menu, click Select All to show every value in that column again, then click OK.
The filter buttons stay in place. You can filter again whenever you need to. This is faster than turning AutoFilter off and back on if you're filtering different columns repeatedly.
Frequently Asked Questions
Can I filter by a range of numbers instead of picking individual values?
Yes. Click the dropdown arrow in a number column and select Number Filters (or Date Filters for dates). Choose options like "Greater Than", "Less Than", or "Between". Type the numbers you want and click OK. This is faster than unchecking hundreds of individual values.
What if I filter and then add new data — does the filter include the new rows?
Not automatically. The filter was set before the new data arrived. Click the dropdown arrow in any filtered column and select Select All to refresh the filter and include new rows. Then uncheck the values you want to hide again.
Can I sort while a filter is active?
Yes. Click the dropdown arrow in any column and choose Sort A to Z or Sort Z to A. Excel sorts only the visible rows — the hidden ones stay hidden and don't move. When you remove the filter, all rows come back in their original order.
Why do some dropdown arrows look different or are missing?
If a column has no header text, Excel might not recognize it as part of your table. Make sure the first row contains column names. If AutoFilter is on but you don't see arrows, click a cell in your table and turn AutoFilter off and back on.
Can I save my filter settings so they load next time I open the file?
Excel saves the filter state when you save the file. When you reopen it, the same filters are active and the same rows are hidden. If you want to start fresh, remove the filter before saving.