Pulling matching rows out with FILTER
FILTER returns every row of a range that passes your conditions. You write it in one cell and the results spill into the cells below and to the right. When the source data changes, the list rebuilds itself, which a manual filter view can't do.
=FILTER(range, condition1, [condition2, ...])
Each condition is a comparison over a column with the same number of rows as range, such as B2:B9="West" or E2:E9>2000.
AND and OR
- AND: give FILTER more conditions, separated by commas. A row has to pass all of them.
- OR: add the conditions together inside one argument:
(B2:B9="East")+(B2:B9="North"). A TRUE counts as 1, so the sum is above zero when either one matches.
Things that go wrong
#N/Ameans nothing matched. Wrap it inIFERROR(FILTER(...), "None")to show a friendlier message.#REF!means something is in the way of the spill. Clear the cells below and to the right of the formula.#VALUE!with "mismatched range sizes" means the range and a condition cover different rows, for exampleA2:A9againstB2:B10.