The Excel FILTER function
FILTER returns every row that meets a condition, as a live result that updates when the data changes: =FILTER(array, include, [if_empty]). It is available in Microsoft 365 and Excel 2021 or later.
How do you write a basic FILTER?
Orders in A2:D50, regions in column B. All North orders:
=FILTER(A2:D50,B2:B50="North","No orders")
The result spills into as many rows as needed.
How do you combine conditions?
Multiply for AND, add for OR:
=FILTER(A2:D50,(B2:B50="North")*(D2:D50>1000))=FILTER(A2:D50,(B2:B50="North")+(B2:B50="South"))
What does #SPILL! mean?
Something is in the way of the result: a cell below or to the right isn't empty. Clear those cells. Results can't spill inside an Excel table either, so put the formula outside it.
What does #CALC! mean?
Nothing matched and you left out the third argument. Add a text such as "No orders".
FILTER or the filter button?
The filter button hides rows in place, for looking at the data. FILTER builds a separate result that other formulas can use, such as a report that always shows this month's open orders.
Practise FILTER Practise table filters
Updated November 2026.