Quick answer
FILTER requires each condition array to have the same length as the data range along the dimension being filtered. A common error is selecting A2:C100 for the results but B2:B99 for the condition. Make their first and last rows align. If you are using Data → Create a filter rather than a FILTER formula, see missing rows in a menu filter.
=FILTER(A2:C100,B2:B100="Active")
The example returns rows of A2:C100 whose column B is Active.
Diagnose range-size mismatch
| Data range | Condition range | Result |
|---|---|---|
A2:C100 | B2:B100 | Matching row counts |
A2:C100 | B2:B99 | One fewer row in condition |
A2:C100 | B:B | Entire column instead of matching rows |
An apparently harmless header inclusion can also cause the dimensions to differ. Use either consistent header-inclusive ranges or, more commonly, start the filtered data and condition at row 2.
Fix 1: Align both ends
Check each argument after the first:
=FILTER(A2:C100,B2:B100="Active",C2:C100>0)
Both conditions cover rows 2 through 100. If you change the data range to start at row 3, adjust the conditions too.
Fix 2: Avoid mixed row and column conditions
Google documents that a single FILTER can filter rows or columns, but not both dimensions simultaneously. A vertical condition range and a horizontal condition range cannot be mixed inside the same call. Use a nested FILTER approach only when you genuinely need both operations.
Fix 3: Separate size errors from no-match errors
A well-formed FILTER that matches no rows returns #N/A, which is a different situation from mismatched dimensions. Confirm your data actually meets the predicate before changing formulas. If an empty result is expected, consider IFNA for presentation—but do not hide a structural range error.
Fix 4: Keep ranges intentional as data grows
Open-ended ranges such as A2:C with B2:B can stay aligned as new rows are added, but may scan many blank rows. Use the simplest range that fits your sheet’s size and performance needs.
Formula checklist
- Highlight the data range and note its first and last rows.
- Check each condition range begins and ends on the same rows.
- Confirm all conditions filter in the same direction.
- Verify that the boolean test uses the right column and actual data type.
Sources
Editorial note: Examples are illustrative and based on the linked documentation; no firsthand product test is claimed.