FILTER Function

The FILTER function is one of the lookup and reference functions. It is used to filter a range of data and to return the results that match the criteria you specify. The FILTER function only extracts the necessary data and the results update when the original data change.

Syntax

FILTER(array, include, [if_empty])

The FILTER function has the following arguments:

ArgumentDescription
arrayThe range of cells to filter.
includeThe filtering criteria supplied as a Boolean array (TRUE/FALSE) the same height (columns) and width (rows) as the array.
if_emptyThe value to return when the filter returns no results. This argument is optional.
Notes

Please note that this is an array formula. To learn more, please read the Insert array formulas article.

How to apply the FILTER function.

Examples

The figure below displays the result returned by the FILTER function.

FILTER Function

Host ONLYOFFICE Docs on your own server or use it in the cloud

Article with the tag:
Browse all tags