Numbers Exercises

UNIQUE in Apple Numbers

Last updated:

Short answer: UNIQUE removes duplicate values and keeps each value once, in the order of first appearance. Syntax: UNIQUE(array, by-col, exactly-once)

Explanation

UNIQUE removes duplicate values and keeps each value once, in the order of first appearance. Combine it with ROWS or COUNTA to count unique values.

Syntax

UNIQUE(array, by-col, exactly-once)

Example

Stack A2:A5 and A2:A3 on top of each other. How many different names does it contain?

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

Formula: =ROWS(UNIQUE(VSTACK(A2:A5,A2:A3)))
Result: 4

Frequently asked questions

What does UNIQUE do in Apple Numbers?

UNIQUE removes duplicate values and keeps each value once, in the order of first appearance. Combine it with ROWS or COUNTA to count unique values.

What is the syntax of UNIQUE?

The syntax is UNIQUE(array, by-col, exactly-once).

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