Function reference · Array & filter
UNIQUE
Returns each distinct row of a range once, discarding duplicates.
UNIQUE(range)
UNIQUE is how you get a clean list of categories, regions or names out of a messy column — and it is the usual first step in building a summary table or a dropdown.
Arguments
| Argument | Required | What it does |
|---|---|---|
range |
Yes | The range to de-duplicate. |
Worked example
| Region | Rep | Sales |
|---|---|---|
| West | Ana | 1200 |
| East | Ben | 900 |
| West | Cara | 1500 |
| North | Dan | 600 |
| East | Eve | 1100 |
=UNIQUE(A2:A6)
Returns West, East, North.
Three distinct regions, in the order they first appear.
Gotchas
- It de-duplicates whole rows, not individual cells. UNIQUE on two columns keeps a row if either value differs.
- Order is first-appearance, not sorted. Wrap in SORT if you need alphabetical.
- Trailing spaces make otherwise identical values distinct. TRIM first if the data came from elsewhere.
- The result spills — leave the cells below it empty.