deepcalc
DocsFILTER

FILTER

Returns the rows or columns of a range that meet a condition.

  • Excel: Verified match
  • Google Sheets: Verified match
  • Returns: Array

Examples

=FILTER(A1:B5, B1:B5>3, "none")
AB
1 102
2 204
3 306
4 408
5 5010
Result 20

Syntax

FILTER(array, include, [if_empty])
array
range required
include
range required
if_empty
any optional

Errors

#CALC!
=FILTER(A1:B2,{FALSE,FALSE})
#ERROR!
=FILTER(A2:A3)