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 the ones from California, a filter does that in seconds. The rows you hide are still there — filtering just turns them off temporarily.

Filters work on columns. You pick a column header, tell Excel what values to show, and it hides every row that doesn't match. You can filter by text (like a state name), by numbers (like sales over $1,000), or by date. Most people use the AutoFilter, which is the fastest way to get your free guide.

Key Takeaways

  • AutoFilter adds dropdown arrows to your column headers so you can filter each column independently.
  • You must have a header row — the row with column names — for AutoFilter to work correctly.
  • Filtering hides rows but does not delete them; you can remove the filter anytime to see all rows again.
  • You can filter multiple columns at once, and Excel shows only rows that match all your filters.
  • Sorting and filtering are different: sorting rearranges rows, while filtering hides them.

How to turn on AutoFilter

Click any cell in your data table — it does not matter which one. Then go to the Data tab at the top of the ribbon and click Filter. Excel adds a small dropdown arrow to the right of each column header.

If you do not see the dropdown arrows, check that your top row is actually a header row with column names, not data. AutoFilter only works when Excel recognizes the first row as headers. If your data starts without a header row, add one before turning on AutoFilter.

Filtering a single column by text or value

Click the dropdown arrow in the column you want to filter. A menu appears with a list of every unique value in that column. Uncheck the box next to any value you want to hide. For example, if the column lists states and you uncheck "Texas" and "Florida", Excel hides all rows where that column says Texas or Florida.

At the bottom of the menu, click OK. The spreadsheet now shows only the rows where the column contains the values you left checked. Notice the dropdown arrow in that column turns blue — that signals a filter is active on that column.

To remove the filter on one column, click its dropdown arrow again, check All, and click OK. To remove all filters at once, go to the Data tab and click Filter again — this turns off AutoFilter entirely and removes all dropdown arrows.

Using number filters and date ranges

For columns with numbers or dates, the filter menu works the same way, but you also have a second option. Click the dropdown arrow and look for Number Filters or Date Filters (the exact label depends on what type of data is in the column). This opens a submenu with preset options like "Greater Than", "Less Than", "Between", and "This Year".

Choose the condition you want. For example, if you pick Greater Than, a dialog box appears asking you to enter a number. Type the number and click OK. Excel then hides all rows where the column value is less than or equal to what you entered. This is faster than manually unchecking dozens of values when you have a large dataset.

Filtering multiple columns at once

You can filter more than one column. Each filter you add narrows the results further. For example, filter the State column to show only California, then filter the Sales column to show only sales over $5,000. Excel displays only rows that are both California AND over $5,000.

The order does not matter. Apply filters in any order you want. Each dropdown arrow that has an active filter turns blue so you can see at a glance which columns are filtered. To change or remove a filter on one column without affecting the others, click its dropdown arrow and adjust the settings.

The difference between filtering and sorting

Filtering and sorting are often confused because they both change how rows appear. Sorting rearranges rows in a new order — alphabetical, smallest to largest, oldest to newest. Filtering hides rows without moving anything. You can sort and filter at the same time: filter to show only the rows you want, then sort those visible rows into the order you need.

If you sort after filtering, Excel sorts only the visible rows, not the hidden ones. This is usually what you want, but it is worth knowing. When you remove the filter later, the sort order remains, but now it applies to all rows again.

Clearing filters and turning off AutoFilter

To remove a single filter, click its dropdown arrow, check All, and click OK. To remove all filters at once but keep the dropdown arrows visible, go to the Data tab and click Clear. To remove the dropdown arrows entirely and turn off AutoFilter, go to the Data tab and click Filter again.

Removing a filter does not delete any data. All the hidden rows reappear exactly as they were. Filtering is completely reversible.

Frequently Asked Questions

What if my data does not have a header row?

Add one before turning on AutoFilter. Click the row above your data, right-click, and select Insert to add a blank row. Type column names in that row, then turn on AutoFilter. Excel needs headers to recognize where your data starts.

Can I filter by multiple values in one column?

Yes. Click the dropdown arrow, uncheck the values you want to hide, and check the ones you want to show. You can select any combination. For example, show only rows where the state is California, Texas, or New York by unchecking all other states.

Does filtering change my original data?

No. Filtering only hides rows; it does not modify or delete anything. When you remove the filter, all rows return. Your data stays exactly as it was.

Can I filter by color or formatting?

AutoFilter does not filter by cell color or font formatting. It filters only by the actual text or number value in the cell. If you need to filter by appearance, you would need to manually select and hide rows.

What is the difference between AutoFilter and Standard Filter?

AutoFilter is the dropdown menu approach and works for most everyday filtering. Standard Filter (also on the Data menu) is more powerful and lets you build complex conditions like "show rows where column A is greater than 100 AND column B contains 'urgent'". Use Standard Filter when AutoFilter's dropdown menus are not enough.