What it does
FILTER returns matching rows from a range or array.
Syntax or pattern
=FILTER(array, include, [if_empty])5 practical examples
Filter by region
Return rows for the East region.
=FILTER(Sales,Sales[Region]="East","No rows")Dynamic results spill into nearby cells.
Filter by date range
Return rows between two dates.
=FILTER(Sales,(Sales[Date]>=F1)*(Sales[Date]<=G1),"No rows")Multiplication applies AND logic.
Filter by selected category
Use a dropdown cell as criteria.
=FILTER(Products,Products[Category]=H2,"No products")Great for interactive sheets.
Filter multiple conditions with OR
Return East or West rows.
=FILTER(Sales,(Sales[Region]="East")+(Sales[Region]="West"),"No rows")Addition applies OR logic.
Filter and return one column
Return matching product names only.
=FILTER(Products[Name],Products[Category]=H2,"None")The array can be one column.
Common mistakes to avoid
- Make sure spill ranges have empty space below or beside them.
- Use Excel Tables where possible for expanding source data.
- Older Excel versions may not support all dynamic array functions.
Related Excel examples
FAQ
What is a spill formula?
A spill formula returns multiple cells from one formula entered in a single cell.
Here are some ideas for you
Optional resources that may help if you are learning formulas, building reports, or working in spreadsheets often.
- Excel formula booksSee ideas
Practice formulas with structured examples you can keep beside your desk.
- Excel shortcut guidesSee ideas
Build speed with keyboard shortcuts for selection, formatting and navigation.
- Numeric keypadsSee ideas
Helpful if you enter many numbers on a laptop or compact keyboard.
- External monitorsSee ideas
Useful for viewing large worksheets, formulas and reference tables side by side.
- Desk notebooksSee ideas
Sketch formula logic, report ideas and table structures before building.
- Laptop standsSee ideas
Make long spreadsheet sessions more comfortable and ergonomic.
Some links in this section may be affiliate links. Choose only what is useful for your own work.