Numbers Exercises

FILTER in Apple Numbers

Last updated:

Short answer: FILTER keeps only the rows for which the test is TRUE. Syntax: FILTER(array, test-array, if-empty)

Explanation

FILTER keeps only the rows for which the test is TRUE. With if-empty you decide what you get when nothing is left.

Syntax

FILTER(array, test-array, if-empty)

Example

Filter the prices (B2:B5) of products with a quantity greater than 2 and add them up.

Table 1
ABC
1ProductPriceQty
2Apple410
3Pear65
4Kiwi122
5Grape83

Formula: =SUM(FILTER(B2:B5,C2:C5>2))
Result: 18

Frequently asked questions

What does FILTER do in Apple Numbers?

FILTER keeps only the rows for which the test is TRUE. With if-empty you decide what you get when nothing is left.

What is the syntax of FILTER?

The syntax is FILTER(array, test-array, if-empty).

More in this category

Read more

Practise it yourself

Type the formula yourself in a real exercise and see right away if your answer is correct. The first exercises are free.

Start practising