⌨ Syntax
UNIQUE(array,[by_col],[exactly_once])
Arguments
array
(required)
— The range or array from which to return unique rows or columns
by_col
(optional)
— The by_col argument is a logical value indicating how to compare. TRUE will compare columns against each other and return the unique columns FALSE (or omitted) will compare rows against each other and return the unique rows
exactly_once
(optional)
— The exactly_once argument is a logical value that will return rows or columns that occur exactly once in the range or array. This is the database concept of unique. TRUE will return all distinct rows or columns that occur exactly once from the range or array FALSE (or omitted) will return all distinct rows or columns from the range or array