Filtering shows only the rows that match what you're looking for, and hides the rest
AutoFilter is the fastest way to filter in Excel. Select any cell in your data table, then go to the Data tab and click AutoFilter. Excel adds dropdown arrows to the header row. Click any arrow, uncheck the items you want to hide, and click OK. The rows disappear from view — they're not deleted, just hidden until you clear the filter.
You can filter by text (show only "New York"), by number (show only values above 500), or by date (show only entries from this month). Each column filters independently, so you can combine filters — for example, show only sales over $1,000 in the Northeast region at the same time.
Filtering is temporary. When you close the file and reopen it, the filter stays in place if you saved it that way. To remove a filter entirely, click Data > Clear, or click the dropdown arrow again and select "Clear Filter From [Column Name]".
Key Takeaways
- AutoFilter adds dropdown arrows to your header row and lets you hide rows that don't match your criteria with a single click.
- You can filter by text values, numbers, dates, or custom ranges, and combine multiple filters on different columns at once.
- Filtered rows are hidden, not deleted — clearing the filter brings them back immediately.
- Filters stay in place when you save and reopen the file unless you remove them first.
- Standard AutoFilter works for most tasks; Advanced Filter is available if you need to filter by complex rules or copy results to a new location.
Turning on AutoFilter and using the dropdown arrows
Start by clicking any cell inside your data table. The table should have a header row — the first row with column names. Go to the Data tab at the top of the ribbon and click AutoFilter. Small dropdown arrows appear in the header row next to each column name.
Click any dropdown arrow to open the filter menu. You'll see a list of every unique value in that column. Unchecked items are hidden; checked items are shown. To hide a value, uncheck its box. To show only one or two values, uncheck "All" first, then check only what you want to see. Click OK when you're done.
The column header turns blue when a filter is active on that column, so you can see at a glance which columns are filtered. The row numbers on the left also turn blue to show you that some rows are hidden.
Filtering by numbers and ranges
When you click the dropdown arrow on a column with numbers, the menu includes options like "Greater Than", "Less Than", and "Between". Click "Number Filters" to see these options. Choose the condition you want — for example, "Greater Than" — and enter the number. Click OK to show only rows where that column's value meets your condition.
To filter for a range (for example, sales between $5,000 and $10,000), click "Number Filters" > "Between", then enter the low number and high number. Excel shows only rows where the value falls in that range.
You can also sort by number at the same time: click the dropdown arrow and choose "Sort Smallest to Largest" or "Sort Largest to Smallest". Sorting and filtering work together — you can filter to show only certain rows, then sort those rows by another column.
Filtering by text and dates
Text filters work the same way as number filters. Click the dropdown arrow on a text column, then click "Text Filters" to see options like "Begins With", "Contains", or "Ends With". For example, to show only names that begin with "A", click "Text Filters" > "Begins With", type "A", and click OK.
Date columns have their own filter menu. Click the dropdown arrow on a date column and you'll see options to filter by month, year, or specific date range. You can also click "Date Filters" for options like "This Month", "Last Quarter", or "Between". Choose the range you want and click OK.
Combining filters on multiple columns
You can filter on more than one column at the same time. For example, filter the Region column to show only "West", then filter the Product column to show only "Widget A". Excel shows only rows that match both conditions. The header row shows blue dropdown arrows on both filtered columns.
Each filter is independent — changing one filter doesn't affect the others. If you filter Region to show "West" and Product to show "Widget A", then change the Region filter to show "East" instead, the Product filter stays on "Widget A".
To remove a single filter without removing the others, click the dropdown arrow on that column and select "Clear Filter From [Column Name]". To remove all filters at once, click Data > Clear.
Using Standard Filter for complex conditions
Standard Filter (also called Advanced Filter) lets you set up more complex rules than the dropdown menu allows. For example, you might want to show rows where Region is "West" AND Sales are greater than $5,000, OR Region is "East" AND Sales are greater than $10,000. Click Data > Filter > Standard Filter to open the dialog.
In the Standard Filter dialog, you build rules row by row. Each row has three parts: the column name, the condition (equals, greater than, contains, etc.), and the value. Use the "And" or "Or" buttons between rows to combine rules. When you click OK, Excel shows only rows that match all your conditions.
Standard Filter also has an option to copy results to a new location instead of just hiding rows. This is useful if you want to keep the original data untouched and work with a filtered copy in a separate area of the spreadsheet.
Clearing filters and removing AutoFilter
To hide the dropdown arrows and remove all filters at once, go to Data > AutoFilter and click it again. The arrows disappear and all hidden rows come back into view. Your data is unchanged — you're just turning off the filter feature.
To keep AutoFilter on but clear only some filters, click the dropdown arrow on each filtered column and select "Clear Filter From [Column Name]". That column's filter is removed, but the dropdown arrows stay and other filters remain active.
If you want to see all rows temporarily without removing the filters, click Data > Clear. All rows reappear, but the dropdown arrows stay in place and your filter settings are saved. Click the dropdown arrow again and your previous filter choices are still there.
Frequently Asked Questions
Can I filter by color or formatting?
Yes. Click the dropdown arrow on the column, then click "Filter by Color". You'll see options to show only cells with a specific background color or font color. This is useful if you've color-coded your data — for example, highlighting overdue items in red.
What happens to formulas when I filter?
Formulas that reference the filtered column still work, but they only calculate based on visible rows. If you use SUM or AVERAGE on a filtered range, the result changes to include only the visible cells. Use SUBTOTAL instead of SUM if you want formulas to automatically adjust when you filter.
Can I filter and then copy only the visible rows?
Yes. Filter your data, select the visible cells you want to copy, then copy and paste. Excel copies only the visible rows, not the hidden ones. If you want to be certain, select the data, copy, then paste into a new location — the hidden rows won't be included.
How do I filter for blank cells?
Click the dropdown arrow on the column. In the filter menu, you'll see a checkbox for "(Blank)" at the bottom of the list. Uncheck all other items and check only "(Blank)" to show rows where that column is empty. Check "(Blank)" along with other values to show both blank and non-blank rows.
Can I save a filter with my file?
Yes. When you save the file, the filter settings are saved with it. When you reopen the file, the same filters are active and the same rows are hidden. To start fresh, clear all filters before saving, or clear them when you reopen the file.