UNIQUE in Apple Numbers
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?
| A | B | C | |
|---|---|---|---|
| 1 | Product | Price | Qty |
| 2 | Apple | 4 | 10 |
| 3 | Pear | 6 | 5 |
| 4 | Kiwi | 12 | 2 |
| 5 | Grape | 8 | 3 |
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