How FILTER works
Syntax
=FILTER(range, condition1, [condition2], ...)range- The rows and columns to return.
condition1- A test on a column of the same height, like C2:C500="Open".
condition2...- In Google Sheets, extra conditions must all be true. In Excel, combine them: (C2:C500="Open")*(D2:D500>100).
Example
Tasks are in A2:D500 with the owner in column B. You want Ana's open tasks on a separate sheet.
=FILTER(A2:D500, B2:B500="Ana", D2:D500="Open")A live list that grows and shrinks as tasks change. In Excel, write the conditions as (B2:B500="Ana")*(D2:D500="Open").
Common mistakes
- A range and condition of different heights, which gives an error.
- Cells below the formula already in use, which blocks the result (#SPILL! in Excel, #REF! in Sheets).
- An error when nothing matches. Excel takes a third argument like "None"; in Sheets wrap it in IFERROR.
Questions people ask
How do I filter with OR?
Add the conditions instead of listing them: =FILTER(A2:D500, (B2:B500="Ana")+(B2:B500="Luis")).
Practice it above: type the formula in the formula bar and press Enter to check.