UNIQUE

    Lookup & Reference

    Returns a list of unique values from a range. Removes duplicates automatically.

    Translations
    EnglishUNIQUE
    FrenchUNIQUE
    SpanishUNICOS
    GermanEINDEUTIG
    ItalianUNICI
    PortugueseEXCLUSIVOS
    DutchUNIEK
    PolishUNIKATOWE
    RussianУНИК
    TurkishBENZERSİZ
    CzechUNIQUE
    HungarianEGYEDI
    SwedishUNIK
    DanishENTYDIG
    FinnishAINUT.ARVO
    Syntax
    UNIQUE(array, [by_col], [exactly_once])

    Arguments

    • arrayThe range to extract unique values from
    • by_colTRUE to compare columns instead of rows(optional)
    • exactly_onceTRUE to return only values that appear exactly once(optional)
    Examples
    =UNIQUE(A1:A100)
    Unique list

    Returns list without duplicates

    =UNIQUE(A1:C100)
    Unique rows

    Returns unique row combinations

    =UNIQUE(A1:A100,,TRUE)
    Appear once only

    Only values that occur exactly once

    Tips & Best Practices
    • Returns a dynamic spilling array
    • Case-sensitive for text values
    • Great for creating dropdown lists
    Common Mistakes
    • Expecting UNIQUE to sort its output - it preserves the original order of first appearance, so it's often wrapped in SORT when an alphabetical or numeric order is wanted
    • Misusing the exactly_once argument - setting it to TRUE returns only values that appear exactly one time, not simply a deduplicated list, which surprises people expecting a distinct-values list
    • Applying UNIQUE to a range with inconsistent formatting of otherwise-identical values (extra spaces, mismatched case), which UNIQUE treats as genuinely different entries
    Related Functions
    SORTCommonly wraps UNIQUE's output to alphabetize or numerically order the distinct values.
    COUNTIFCan verify how many times each value from UNIQUE's output actually appears in the source range.
    FILTEROften paired with UNIQUE to first narrow a list before extracting its distinct values.
    Frequently Asked Questions

    Does UNIQUE sort its results?

    No, it returns distinct values in their original order of first appearance. Wrap it in SORT, like SORT(UNIQUE(range)), to get an ordered list.

    What does the exactly_once argument do?

    Set to TRUE, it returns only values that appear exactly once in the range - not a general deduplicated list. Leave it FALSE or omitted for a standard list of distinct values.

    Why are two visually identical values both showing up in my UNIQUE list?

    They probably differ in a way that isn't visible, like a trailing space or different capitalization - TRIM or consistent casing before running UNIQUE usually fixes it.

    Need to translate a formula using UNIQUE?

    Use our translator to convert your complete formula