1. Extract Rows Matching a Condition (FILTER)
FILTER returns all rows from your table that meet your rule:
=FILTER(A2:C100, C2:C100="Active", "No Matches")
2. Unique List of Values From a Column (UNIQUE)
Extract distinct values from a column—and optionally sort them with SORT:
=SORT(UNIQUE(B2:B100))
Worked Example: Filtering Active Rows
| Col A (Item) | Col C (Status) | FILTER Result |
|---|---|---|
| Invoice #101 | Active | Included |
| Invoice #102 | Closed | Excluded |
| Invoice #103 | Active | Included |
Preventing #SPILL! and Empty-Result Errors
- Fix
#SPILL!: Clear any existing text or values in cells where the spilled list expands. - Handle zero matches: Include a fallback value (
"No Matches"in Excel, orIFERROR(FILTER(...), "No Matches")in Google Sheets).
Next Step: Combine unique categories with SUMIFS for instant summary tables, or try presets in the Formula Finder.