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 managing a list of 50 contacts or digging through thousands of rows of sales records, filters let you zero in on exactly what matters — without deleting or rearranging anything.

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 view subsets of your data — ideal for analysis, reporting, or just finding specific records quickly.

This is different from sorting, which reorders your data. Filtering hides rows while keeping your original order intact.

Setting Up AutoFilter: The Standard Method

The most common filtering method is AutoFilter, built into every modern version of Excel.

To enable it:

  1. Click anywhere inside your data range — Excel will detect the edges automatically
  2. Go to the Data tab on the ribbon
  3. Click Filter (or use the keyboard shortcut Ctrl + Shift + L)

You'll see small dropdown arrows appear in your header row. Click any one of them to filter that column.

What You Can Filter By

Once you open a column's dropdown, Excel gives you several filtering options:

  • Checkboxes — select or deselect specific values from a list
  • Text Filters — contains, begins with, ends with, equals, does not contain
  • Number Filters — greater than, less than, between, top 10, above average
  • Date Filters — this week, last month, next quarter, before/after a specific date, and more

The options available depend on the data type in that column. A column containing dates will show date-specific options; a column with numbers will show numerical comparisons.

Filtering by Multiple Criteria 🔍

You're not limited to one filter at a time. Excel lets you stack filters across multiple columns simultaneously.

For example: filter a sales table to show only rows where Region = "West" and Revenue > 10,000. Each column filter works independently, and only rows matching all active filters will be visible.

To clear a single column's filter without removing others, click that column's dropdown arrow and select Clear Filter From [Column Name]. To remove all filters at once, click Filter again on the Data tab, or use Ctrl + Shift + L as a toggle.

Advanced Filter: More Precise Control

For more complex filtering needs, Excel's Advanced Filter tool (also under the Data tab) gives you capabilities that AutoFilter can't match:

  • Filter using criteria stored in a separate range on your worksheet
  • Use OR logic across multiple columns (AutoFilter uses AND logic by default)
  • Copy filtered results to a different location rather than filtering in place
  • Remove duplicate values from a list

To use Advanced Filter, you'll need a criteria range — a small table elsewhere in your sheet with column headers matching your data, and the conditions written beneath them. Conditions on the same row use AND logic; conditions on different rows use OR logic.

This method has a steeper learning curve but unlocks filtering combinations that would be difficult or impossible with standard dropdowns.

Filtering with Tables

If you convert your data range to a formatted Excel Table (Insert → Table, or Ctrl + T), filtering becomes even more integrated:

  • Filter dropdowns are automatically added and stay persistent
  • New rows added to the table are automatically included in the filter range
  • You can reference table columns in formulas using structured references

Tables are generally the better long-term structure for any data you plan to filter and analyze regularly.

FeatureAutoFilter (Range)AutoFilter (Table)Advanced Filter
Dropdown filter arrows
Filters update with new data
OR logic across columns
Copy results elsewhere
Best forQuick ad hoc viewsOngoing data managementComplex criteria

Common Issues That Affect Filtering

Blank rows or columns in your data can cause Excel to misread the boundaries of your dataset — it may not include all your data in the filter range. Keeping your data contiguous avoids this.

Mixed data types in a single column (some cells formatted as numbers, others as text) can produce unexpected filter behavior. Standardizing column formatting beforehand helps filters behave predictably.

Merged cells are a known problem. Excel doesn't filter well across merged cells — if your headers or data contain them, filters may skip rows or produce errors. Unmerging before filtering is usually the cleanest fix.

Hidden rows that were manually hidden before filtering still show up in filter logic — they're just doubly hidden. This can skew results if you're not aware of pre-existing hidden rows.

Filtering in Excel for the Web vs. Desktop 🖥️

The desktop version of Excel (Microsoft 365 or standalone) has the full filtering toolkit: AutoFilter, Advanced Filter, and all filter types.

Excel for the Web supports basic AutoFilter — value-based filtering and some text/number filters — but Advanced Filter and certain date filter options are either limited or unavailable depending on your subscription tier and browser.

If you're working collaboratively in a shared workbook through a browser, filter state can sometimes vary between users, particularly in older shared workbook formats versus the newer co-authoring model.

Variables That Shape Your Filtering Approach

How you filter most effectively depends on several factors unique to your situation:

  • Dataset size — small lists work fine with basic checkboxes; large datasets benefit from number/date filters or formulas
  • Frequency of use — one-off analysis vs. a report you run weekly calls for different setups
  • Data structure — whether your data lives in a flat table, has calculated columns, or pulls from external sources changes what's practical
  • Excel version — desktop vs. web, Microsoft 365 vs. older standalone versions, and OS differences (Windows vs. Mac) affect which features are available
  • Technical comfort — Advanced Filter and criteria ranges are powerful but require more setup knowledge

The right filtering method for sorting 200 customer records manually looks very different from the setup that works for automating a recurring monthly report — and both look different again depending on whether you're the only person using the file.