FILTER Formula Excel

Filters an array of values by a list of booleans.

Syntax

Formula structure

Source: Quadratic docs
=FILTER(array, include, [if_empty])
array
Required: Yes

Required argument used by the FILTER formula.

include
Required: Yes

Required argument used by the FILTER formula.

[if_empty]
Required: No

Optional argument used by the FILTER formula.

Examples for the filter formula excel

Copy these examples into a spreadsheet and adjust the ranges for your own data.

FILTER syntax pattern

=FILTER(array, include, [if_empty])

Use this FILTER pattern as the starting point for your spreadsheet formula.

FILTER in a worksheet

=FILTER(array, include, [if_empty])

Filters an array of values by a list of booleans.

When to use FILTER

Use FILTER when you need to filter an array of values by a list of booleans.

  • Filter, sort, deduplicate, and combine spreadsheet arrays.
  • Build dynamic formula outputs from ranges.

How FILTER works in Quadratic

In Quadratic, FILTER follows the syntax FILTER(array, include, [if_empty]). The function works inside Quadratic formulas and can be combined with spreadsheet ranges, tables, and other formulas.

Common FILTER mistakes

Most FILTER issues come from mismatched argument types, ranges that do not cover the intended data, or optional parameters being omitted when the default behavior is not what you expected.

  • Check each required parameter before copying the formula across a sheet.
  • Confirm that ranges line up with the rows or columns you intend to analyze.
  • Use Quadratic AI to explain or debug the formula when the result looks wrong.

Related formulas

FILTER formula FAQ

What does the filter formula excel do?

FILTER filters an array of values by a list of booleans.

What is the syntax for FILTER?

The syntax is FILTER(array, include, [if_empty]). Required and optional parameters are listed at the top of this guide.

Can Quadratic AI help with FILTER?

Yes. Quadratic AI can write a FILTER formula, explain existing formula logic, or help debug broken references and unexpected results.

Quadratic AI

Struggling with formulas? Use Quadratic AI.

Spreadsheet formulas are powerful, but they get painful fast. A FILTER formula can start simple, then turn into logic that is hard to understand, easy to break, and difficult to share with the rest of your team.

Quadratic AI helps you write formulas, explain formula logic, debug broken references, and move beyond formulas when advanced analysis needs Python, SQL, charts, or connected data.

Try Quadratic AI

Why formulas slow teams down

  • Long formulas become hard to read, understand, and trust.
  • Formula logic breaks when rows, columns, or assumptions change.
  • Manual updates make dashboards and reports fragile over time.
  • Complex formulas are difficult to explain, review, and share with teammates.
  • Advanced analysis quickly outgrows formula-only workflows.