How to use UNIQUE in Google Sheets (dedupe a list)

Updated · DeskHowTo

In Google Sheets (verified 2026-10-24), enter =UNIQUE(A2:A100) to spill distinct values from a column. Use =UNIQUE(A2:C100) for unique rows across multiple columns.

Add =SORT(UNIQUE(A2:A100)) for an alphabetised list. UNIQUE is a dynamic array — leave empty cells below/beside for the spill.

Jump to

Applies to Google Sheets on web and the Sheets mobile apps (formulas edit best on web). Excel 365 has UNIQUE too with similar syntax.

Spill a distinct list

Basic UNIQUE

  1. Click an empty cell with room to spill.
  2. Type =UNIQUE(A2:A200) and press Enter.
  3. Distinct values appear downward automatically.

Unique rows and options

  1. For multi-column uniqueness use =UNIQUE(A2:C200).
  2. =UNIQUE(range, TRUE) compares by columns instead of rows when needed.
  3. =UNIQUE(range, FALSE, TRUE) can return items that appear exactly once.

Sort and clean

  1. Wrap with SORT: =SORT(UNIQUE(A2:A200)).
  2. Trim source data if leading spaces create false duplicates.
  3. If spill is blocked, clear cells in the way or move the formula.

Our take: UNIQUE before Pivot for simple lists

When you only need a dropdown source or a distinct helper column, UNIQUE is lighter than a pivot. For in-place cleanup in Excel see remove-duplicates workflows.

If it fails

  • Spill blocked: clear cells in the spill range.
  • False duplicates: hidden spaces or different cases — use TRIM/UPPER.
  • Need counts per item: COUNTIF beside UNIQUE, or a pivot.
  • Excel users: Microsoft 365 also has UNIQUE.

Frequently asked questions

What does UNIQUE do in Sheets?

It returns distinct values from a range as a dynamic spill.

Does UNIQUE change my source data?

No — it outputs a new list; source stays intact.

Can I unique on two columns?

Yes — pass a multi-column range so whole rows are compared.

UNIQUE vs Remove duplicates?

UNIQUE is formula-based; Data cleanup can remove in place.

Will UNIQUE update?

Yes — it recalculates when the source range changes.

Sources checked: Google Help: UNIQUE function. Verified October 2026.