TX Sheet Control

UNIQUE Function

Function

Return the unique values or rows of an array or range. When by_col is TRUE, UNIQUE compares columns instead of rows. When exactly_once is TRUE, it returns only the values that occur exactly once; if there are none, it returns #CALC!. The comparison of text is not case-sensitive.

Syntax

UNIQUE(array, by_col, exactly_once)

Category: Lookup. Minimum arguments: 1. Maximum arguments: 3.

Available for supported offline calculation.

Examples

=UNIQUE({1;2;1})

The formula returns a column with 1 and 2.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

See Also