Filtering shows and hides rows based on what you type, without deleting anything
A filter in Excel lets you display only the rows that match what you're looking for. If you have a spreadsheet with 500 customer records and you want to see only those from California, a filter hides the rest temporarily. The data stays in your file — filtering just changes what's visible on screen. You can remove the filter anytime and see all rows again.
Filters work on columns. You pick a column header, tell Excel which values to show, and it hides every row that doesn't match. You can filter multiple columns at once — for example, show only California customers who bought in the last month.
Key Takeaways
- Select any cell in your data table, then go to the Data tab and click AutoFilter to add filter buttons to your column headers.
- Click the filter button (a small arrow) in any column header to choose which values to display or hide.
- You can filter by text, numbers, dates, or custom ranges — Excel shows you the options available in that column.
- Filters hide rows but do not delete them; remove the filter to see all data again.
- Sorting and filtering work together — you can sort the filtered results to reorder what's visible.
Turning on AutoFilter for your data
Before you can filter, Excel needs to know which rows are your headers and which are data. Click any cell inside your data table — it does not have to be the first cell. Then go to the Data tab at the top of the ribbon and click AutoFilter.
Excel adds a small dropdown arrow to each column header. These arrows are your filter buttons. If you do not see arrows, make sure your first row contains headers (column names) and not data. If the first row is data, select it, go to Data, and click Create Table instead — this tells Excel where your headers are.
To turn off filtering, click Data and then AutoFilter again. The arrows disappear and all hidden rows come back.
Filtering by text or category
Click the dropdown arrow in any column that contains text — for example, a column labeled "State" or "Department". A menu appears showing every unique value in that column, each with a checkbox next to it.
By default, all values are checked, meaning all rows are visible. Uncheck the boxes next to values you want to hide. If you want to see only rows where the State column says "California", uncheck every other state. Then click OK. Excel hides all rows that do not match.
To show those rows again, click the filter arrow in that column and check the boxes you unchecked before, or click All to check everything at once.
Filtering by numbers or dates
Columns with numbers or dates show different options. Click the filter arrow in a column like "Sales" or "Date Hired". Instead of a simple checkbox list, you see options like Greater Than, Less Than, Between, and Equals.
To show only sales above $5,000, click Greater Than, type 5000, and click OK. To show only dates in 2024, click Between, enter the start and end dates, and click OK. Excel hides rows that fall outside your range.
You can also scroll through the list of numbers or dates and uncheck specific ones, just like with text. This works well if you want to exclude one or two values but keep most of them.
Using multiple filters at once
Click filter arrows in different columns to narrow down your results further. If you filter State to show only "California" and then filter Department to show only "Sales", Excel displays only rows where both conditions are true — California and Sales.
Each filter arrow shows a small icon when a filter is active on that column, so you can see at a glance which columns are filtered. To remove one filter without affecting others, click its arrow and select All or Clear Filter.
Sorting filtered data
After you filter, you can sort the visible rows. Click the filter arrow in any column and choose Sort A to Z, Sort Z to A, Sort Smallest to Largest, or Sort Largest to Smallest depending on the column type. Excel reorders only the rows you can see; hidden rows stay hidden.
This is useful when you want to see your filtered results in a specific order. For example, filter to show only California customers, then sort by last name alphabetically.
Clearing filters and going back to normal
To remove all filters at once and see every row again, go to the Data tab and click Clear (or Reset Filter depending on your Excel version). All hidden rows reappear and all filter arrows reset to show no active filters.
If you want to turn off the filter buttons entirely, click Data and then AutoFilter again. The dropdown arrows disappear from your headers, but your data is not affected.
Frequently Asked Questions
Does filtering delete my data?
No. Filtering only hides rows temporarily. Your data stays in the file. When you remove the filter, all rows come back exactly as they were. You can filter and unfilter as many times as you want without losing anything.
Can I filter by more than one value in the same column?
Yes. In the filter menu, check multiple boxes. For example, check both "California" and "Texas" to see rows from those two states only. Uncheck everything else and click OK.
What if I want to filter by a range I don't see in the list?
Click the filter arrow and look for Number Filters or Date Filters (the exact name depends on your column type). These options let you set custom ranges like "greater than 100" or "between January 1 and March 31" without having to uncheck individual values.
Can I copy only the filtered rows to a new sheet?
Yes. After filtering, select all visible cells (Ctrl+A or click the select-all button), copy them (Ctrl+C), go to a new sheet, and paste (Ctrl+V). Excel copies only what you can see, not the hidden rows.
Why don't I see a filter arrow in my column header?
Make sure your first row contains headers and not data. If it does, click any cell in your table, go to Data, and click AutoFilter. If you still don't see arrows, your data might not be formatted as a table. Select your data, go to Data, and click Create Table to set it up properly.