Thursday, December 3, 2026 | London 10°C · Drizzle
DailyGlimpse

AI

Master the FILTER Function in Excel: A 2026 Step-by-Step Guide

The How-To Learning Academy 2 min read

The FILTER function in Microsoft Excel allows you to extract data that meets specific criteria, creating dynamic arrays that update automatically. This guide covers everything you need to know to use FILTER effectively in 2026.

What Is the FILTER Function?

FILTER is a dynamic array function that returns an array of values from a range that satisfy a given condition. Unlike traditional filters, it does not hide rows but outputs a new, filtered list that adjusts when source data changes.

Basic Syntax

=FILTER(array, include, [if_empty])

  • array: The range of cells you want to filter.
  • include: A logical expression (TRUE/FALSE) that determines which rows to keep.
  • if_empty (optional): Value to return if no rows match.

Example 1: Single Condition

Suppose you have sales data in A2:C100 (columns: Product, Region, Sales). To filter for "East" region only:

=FILTER(A2:C100, B2:B100="East", "No data")

This spills all rows where Region equals "East."

Example 2: Multiple Criteria (AND)

To filter for "East" region with Sales > 5000:

=FILTER(A2:C100, (B2:B100="East")*(C2:C100>5000))

Using multiplication (*) acts as AND.

Example 3: Multiple Criteria (OR)

To filter for "East" OR "West" region:

=FILTER(A2:C100, (B2:B100="East")+(B2:B100="West"))

Addition (+) acts as OR.

Example 4: Non‑Adjacent Columns

To return only Product and Sales columns (A and C) for "East" region:

=FILTER(CHOOSECOLS(A2:C100, 1, 3), B2:B100="East")

Or use the newer CHOOSECOLS function to select specific columns.

Tips for 2026

  • FILTER automatically spills results; ensure adjacent cells are empty.
  • Combine with SORT, UNIQUE, or SEQUENCE for advanced analysis.
  • Use # spill range operator to reference the entire output (e.g., =SUM(F2#)).
  • For older Excel versions, use Ctrl+Shift+Enter array formulas.

Troubleshooting

  • #SPILL!: Delete content blocking the spill range.
  • #VALUE!: Check that include argument returns TRUE/FALSE values.
  • Empty result: If no match, the if_empty value (if provided) appears; otherwise, a blank is returned.

Conclusion

The FILTER function transforms data analysis in Excel by providing dynamic, formula‑based filtering. Master it to streamline reports, dashboards, and ad‑hoc queries. For more Excel 2026 tutorials, subscribe to The How‑To Learning Academy.

React