How to Filter Data in Excel: A Complete Guide

Filtering data in Excel is one of the most practical skills you can develop for working with spreadsheets. Whether you're sorting through a sales report, a contact list, or a product inventory, filters let you zero in on exactly the rows you need — without deleting or rearranging anything else.

What Does Filtering Actually Do?

When you apply a filter in Excel, you're not removing data — you're temporarily hiding rows that don't match your criteria. The underlying data stays intact. This makes filtering a non-destructive way to analyze large datasets without the risk of accidentally deleting records.

Filters work by evaluating the values in one or more columns and displaying only the rows that meet your specified conditions. Everything else gets hidden until you clear or change the filter.

How to Turn On Excel's AutoFilter

The most common filtering method is AutoFilter, and it takes just a few clicks:

  1. Click anywhere inside your dataset
  2. Go to the Data tab on the ribbon
  3. Click Filter (the funnel icon)

Dropdown arrows will appear in each column header. Click any arrow to see the filtering options for that column.

From the dropdown, you can:

  • Check or uncheck specific values to show only those rows
  • Use Text Filters (for columns with words) to match, exclude, or search by partial text
  • Use Number Filters (for columns with numbers) to filter by greater than, less than, between, or top 10
  • Use Date Filters to narrow by day, week, month, quarter, or custom date ranges

To remove a filter, click the dropdown again and select Clear Filter, or go back to the Data tab and click Filter to toggle it off entirely.

Filtering by Multiple Columns at Once

One of AutoFilter's most useful features is that you can apply filters across multiple columns simultaneously. For example, in a sales dataset you might filter to show only:

  • Orders from a specific region (column A)
  • That are marked as "Pending" (column B)
  • With a value above $500 (column C)

Each active filter stacks on top of the others. The result is only the rows that satisfy all conditions at once. Columns with an active filter show a funnel icon on the dropdown arrow so you can quickly see which columns are filtered.

Using Custom AutoFilter for More Precision

For more control, the Custom AutoFilter dialog (found within Text Filters or Number Filters) lets you define two conditions for a single column connected by AND or OR logic:

  • AND: Both conditions must be true (e.g., values greater than 100 and less than 500)
  • OR: Either condition can be true (e.g., values that contain "New York" or "Chicago")

This is useful when a single-value checkbox selection isn't enough to capture what you need.

Advanced Filter: For Complex, Multi-Condition Filtering 🔍

When AutoFilter's options aren't flexible enough, Advanced Filter steps in. You'll find it on the Data tab under Sort & Filter > Advanced.

Advanced Filter requires you to set up a criteria range — a separate area on your sheet (or a different sheet) where you define your filter rules manually. This approach supports:

  • Filtering with more than two conditions per column
  • Using formula-based criteria (e.g., filtering rows where a calculated value meets a threshold)
  • Copying filtered results to a different location rather than filtering in place
FeatureAutoFilterAdvanced Filter
Setup requiredMinimalCriteria range needed
Conditions per columnUp to 2 (custom)Unlimited
Formula-based criteriaNoYes
Output to separate locationNoYes
Best forQuick filteringComplex, repeatable filters

Filtering with Excel Tables

If you convert your data range into an Excel Table (Insert > Table, or Ctrl+T), AutoFilter is enabled automatically and behaves more reliably as your data grows. Tables also support structured references in formulas, which makes formula-based filtering logic more readable and easier to maintain.

A key advantage of working with tables: if you add new rows at the bottom of a table, they're automatically included in any existing filter logic.

Using FILTER Function (Excel 365 and Excel 2021) ✅

Newer versions of Excel introduced the FILTER function — a dynamic formula that returns filtered results directly into cells. Unlike AutoFilter, the FILTER function:

  • Updates automatically when source data changes
  • Can be nested inside other formulas
  • Outputs results to a separate area without disrupting the original data

Basic syntax: =FILTER(array, include, [if_empty])

For example: =FILTER(A2:C100, B2:B100="Confirmed", "No results") returns all rows where column B equals "Confirmed."

The FILTER function is powerful for dashboards and reporting scenarios where you want filtered views to update live without manual intervention.

Variables That Shape Your Approach 🎯

The "right" way to filter in Excel depends on several factors that vary from one user to the next:

  • Excel version: The FILTER function isn't available in Excel 2016 or 2019. AutoFilter and Advanced Filter work across most versions
  • Dataset size: For thousands of rows, formula-based or table-based approaches tend to be more maintainable than manual checkbox filtering
  • How often the filter changes: One-time analysis calls for a different approach than a dashboard someone checks daily
  • Skill level with formulas: Advanced Filter and the FILTER function have a learning curve; AutoFilter is accessible to almost anyone immediately
  • Whether results need to be shared separately: Copying filtered output to a new location (possible with Advanced Filter or FILTER function) matters when you're preparing reports for others

The same dataset can be approached in meaningfully different ways depending on whether you're doing a quick one-time lookup, building a dynamic report, or setting up a repeatable process for a team. Which method fits depends on how your data is structured and what you actually need to do with the results.