Home › Functions › Lookup & Reference › UNIQUE
fx
UNIQUE
Lookup & Reference  ·  Since: Microsoft 365  ·  9 languages

The UNIQUE function returns a list of unique values in a list or range.

🌐 Translations

English UNIQUE
Deutsch EINDEUTIG
Français UNIQUE
Español UNICOS
Italiano UNIQUE
Português ÚNICO
Nederlands UNIQUE
Polski UNIQUE
Русский УНИК

📦 Availability

Excel versionAvailable
Excel 2007 ✗
Excel 2013 ✗
Excel 2019 ✗
Excel 2021 ✗
Microsoft 365 ✓
Translate a formula with this function
fx EN
fx DE

⌨ 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

▶ Examples

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

Related functions

Copied to clipboard