Syntax

=UNIQUE(array, [by_col], [exactly_once])

Example

=UNIQUE(A2:A20)

When to Use It

Use UNIQUE to quickly generate a clean, deduplicated list of categories from a long column that repeats the same values many times.