Syntax

=FILTER(array, include, [if_empty])

Example

=FILTER(A2:C20,B2:B20="West")

When to Use It

Use FILTER to build a live, formula-driven filtered view of your data that updates automatically, instead of manually reapplying a filter each time the data changes.