What filtering does and when to use it
Filtering in Excel lets you hide rows that don't match what you're looking for, so you see only the data you want to work with. You set rules — like "show me only sales over $500" or "show me only entries from March" — and Excel hides everything else. The hidden rows are still there; filtering just removes them from view temporarily.
Filtering is useful when your spreadsheet has hundreds or thousands of rows. Instead of scrolling through everything, you narrow it down. You might filter a customer list to see only people in one state, or a sales log to see only transactions from a specific month. Once you're done, you can remove the filter and see all the data again.
Filtering is different from sorting, which rearranges your rows in a new order. Filtering hides rows; sorting reorders them. You can do both on the same data.
Key Takeaways
- Select your data range, click Data in the menu, then click AutoFilter to turn on filtering for that table.
- Click the dropdown arrow in any column header to choose which values to show and which to hide.
- You can filter multiple columns at once — Excel shows only rows that match all your rules.
- Click Data, then AutoFilter again to turn off filtering and see all rows.
- Filtered data is hidden, not deleted, so removing a filter brings everything back.
Turning on AutoFilter for your data
Before you can filter, you need to tell Excel which data you want to filter. Start by clicking any cell inside your data table — it can be anywhere in the table, not just the top-left corner. Then click the Data tab in the menu bar at the top of the screen.
In the Data tab, look for the button labeled AutoFilter (it usually shows a small funnel icon). Click it once. Excel will add a dropdown arrow to the header row of every column in your table. These arrows are how you set your filter rules. If you don't see dropdown arrows appear, your data may not have a header row — go back and make sure the first row contains column names, not data.
Once AutoFilter is on, you're ready to filter. You can turn it off the same way: click Data, then click AutoFilter again. This removes the dropdown arrows and shows all hidden rows.
Filtering a single column
Click the dropdown arrow in the column header you want to filter. A menu will pop up showing every unique value in that column. For example, if you're filtering a "State" column, you'll see a list of all the states in your data.
By default, all values are checked. To hide rows, uncheck the values you don't want to see. If you want to see only California, uncheck every other state. If you want to hide just one state, uncheck only that one. Then click OK at the bottom of the menu. Excel will hide all rows that don't match your selection.
The dropdown arrow in a filtered column turns blue to remind you that a filter is active on that column. To remove the filter from just that column, click the dropdown arrow again and click Clear Filter From [Column Name].
Using text and number filters for ranges
If your column has many values — like a list of 500 different product names — unchecking each one individually is slow. Instead, use a text or number filter to set a rule. Click the dropdown arrow in the column, then look for Text Filters (for words) or Number Filters (for numbers). A submenu will appear with options like "Contains", "Begins With", "Greater Than", and "Less Than".
For example, to show only sales over $1,000, click the dropdown in your sales column, click Number Filters, then click Greater Than. A dialog box will ask you to enter the number. Type 1000 and click OK. Excel will hide all rows where the sales amount is $1,000 or less.
To show only product names that contain the word "Deluxe", click the dropdown, click Text Filters, then click Contains. Type "Deluxe" and click OK. This is much faster than scrolling through a long list of product names.
Filtering multiple columns at once
You can set filter rules on more than one column, and Excel will show only rows that match all your rules. For example, you might filter to show only sales in California that are over $500. Set the first filter on the State column (show only California), then set a second filter on the Sales column (show only amounts greater than 500). Excel will hide any row that doesn't meet both conditions.
Each filtered column shows a blue dropdown arrow. If you want to change or remove one of the filters, click its dropdown arrow and adjust the rule. The other filters stay in place. To remove all filters at once and see all your data again, click Data, then click AutoFilter to turn it off.
What happens to your data when you filter
Filtering only hides rows — it does not delete them or change them. If you copy filtered data and paste it elsewhere, you'll copy only the visible rows, not the hidden ones. This is useful if you want to work with just the filtered results in a new place.
If you sort filtered data (by clicking a column header and choosing sort order), Excel sorts only the visible rows. The hidden rows stay hidden and don't move. When you remove the filter, the hidden rows reappear in their original positions.
If you add new data to your table after turning on AutoFilter, the new rows may not have filter dropdown arrows. Click Data, then AutoFilter to turn it off and back on again. This refreshes the filter to include the new rows.
Frequently Asked Questions
Can I filter by color or formatting?
Yes. Click the dropdown arrow in the column, then look for Filter by Color. You can 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 invoices in red.
What if I filter and then accidentally close the file?
Your filter settings are saved with the file. When you reopen it, the same rows will still be hidden. Click Data, then AutoFilter to turn off the filter and see all rows again.
Can I filter dates?
Yes. Click the dropdown arrow in a date column, then click Date Filters. You can choose options like "This Month", "Last Quarter", or "Between" to set a date range. This is faster than manually unchecking individual dates.
Why can't I see the filter dropdown arrows?
Make sure your first row contains column headers (titles), not data. AutoFilter adds dropdowns only to header rows. If your data doesn't have headers, add them before turning on AutoFilter. Also check that you clicked Data and then AutoFilter — the feature must be turned on.
If I filter and copy the data, will the hidden rows copy too?
No. When you copy filtered data, Excel copies only the visible rows. The hidden rows stay in your original spreadsheet but don't get copied. This is helpful if you want to send someone just the filtered results.