What is UNIQUE in Google Sheets?

UNIQUE extracts a deduplicated list from a column or table. Optional arguments control whether duplicates appear by row, by column, or with occurrence counts. It powers dropdown source lists, category tabs, and data cleanup without manual copy-paste.

When to use it

Use UNIQUE to build category lists, find distinct customers, or feed validation dropdowns from live transaction data.

When to skip it

Skip UNIQUE when you need grouped sums per category. Use QUERY GROUP BY or pivot tables. UNIQUE only lists distinct values.

How it works

  1. 1

    Reference the column that may contain repeats, such as Customers!C2:C.

  2. 2

    Write =UNIQUE(C2:C) and let results spill down a new column.

  3. 3

    Pass TRUE as the second argument when comparing entire rows in a table.

  4. 4

    Add by_col when deduping across columns instead of down rows.

  5. 5

    Pair with SORT for alphabetized pick lists on Settings tabs.

  6. 6

    Filter blanks with FILTER(UNIQUE(...), LEN(...)) if empty cells appear in output.

Examples in Google Sheets

Customer pick list

=SORT(UNIQUE(Orders!B2:B)) builds a sorted distinct buyer list for a dropdown range.

Tag discovery

=UNIQUE(FLATTEN(SPLIT(A2:A, ","))) splits comma tags then dedupes for a master tag column.

Count occurrences

=UNIQUE(A2:A, TRUE, TRUE) with counts helps audit how many times each SKU appears.

Build this without starting from a blank cell

Use a Better Sheets tool for UNIQUE, then watch a walkthrough when you want the full pattern.

Better Sheets resources

Common mistakes

  • Including header row in the range, which treats the word Customer as a value.
  • Expecting UNIQUE to ignore trailing spaces; TRIM first if imports are messy.
  • Spilling UNIQUE over important formulas in cells below.
  • Using UNIQUE on whole rows when only one column should dedupe.
  • Forgetting UNIQUE refreshes when source adds new values, changing dropdown length.

Frequently asked questions

UNIQUE vs Remove duplicates?
UNIQUE is live in a formula. Remove duplicates is a one-time menu action on static data.
Does UNIQUE preserve order?
First-seen order by default. Wrap with SORT for alphabetical lists.
UNIQUE with blanks?
Blanks may appear once. FILTER them out with LEN or ISBLANK tests.
UNIQUE on multiple columns?
Dedupe full rows when the second argument is TRUE.
UNIQUE for validation?
Point data validation at the UNIQUE spill range on a Settings tab.
Why fewer values than expected?
Hidden duplicates from spaces or case may exist. TRIM and LOWER cleanup helps.
UNIQUE and QUERY?
QUERY SELECT DISTINCT is similar. UNIQUE is simpler for one column lists.

Related Tutorials

Watch how UNIQUE works

Browse more tutorials
Duplicate Everything For Each Unique Value

Duplicate Everything For Each Unique Value

Great use of SPINTAX.  Get the Google Sheet Add-on; SPINTAX for free.
Search Every Function in Google Sheets

Search Every Function in Google Sheets

Built a useful tool to filter Google Sheet formulas based on keywords.
Discover Misspelled Duplicates

Discover Misspelled Duplicates

Discover effective methods to handle misspelled duplicates in Google She...
3 Ways to Count in Google Sheets

3 Ways to Count in Google Sheets

The video explains three ways to count cells or information in Google Sh...
Add Click Tracking To Your Google Sheets | Bitly in a Google Sheet

Add Click Tracking To Your Google Sheets | Bitly in a Google Sheet

Create a click Edit: Google changed how the redirect is handled. It no l...
3 More Ways to Count in Google Sheets

3 More Ways to Count in Google Sheets

Learn how to use CountBlank() and more counting formulas.

Related blog posts

Guides that explain UNIQUE in more depth.

Browse the blog

Related glossary terms

Done reading about UNIQUE?

Membership unlocks 636+ tutorials, unlimited generators, and every template. Practical lessons. Zero fluff.

Need this once

Jump to a free tool or a single tutorial for this topic.

Learning Sheets for real

Unlock the full library, generators, and templates with membership.