UNIQUE Function

The UNIQUE function is one of the lookup and reference functions. It is used to return a list of unique values from the specified range.

Syntax

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

The UNIQUE function has the following arguments:

ArgumentDescription
arrayThe range from which to extract unique values.
by_colThe optional TRUE or FALSE value indicating the method of comparison: TRUE for columns and FALSE for rows.
exactly_onceThe optional TRUE or FALSE value indicating the returning method: TRUE for values occurring once and FALSE for all unique values.
Notes

Please note that this is an array formula. To learn more, please read the Insert array formulas article.

How to apply the UNIQUE function.

Examples

The figure below displays the result returned by the UNIQUE function.

UNIQUE Function

Host ONLYOFFICE Docs on your own server or use it in the cloud

Article with the tag:
Browse all tags