Excel UNIQUE Values in Column

“excel unique values in column” comes up constantly, so this page leads with the exact answer, gives you a tool to try it on your own numbers, and only then explains the detail. Everything works in Excel on Windows and Mac and maps almost one-to-one to Google Sheets. Copy the answer above and get back to work, or read on to turn a one-off fix into something you never have to look up again.

Exact answer

In Excel: use =UNIQUE(array) — a dynamic-array function that returns a distinct list from a range and spills the result down or across automatically.

Syntax

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

Arguments

ArgumentDescription
arrayrequiredThe range or array to extract distinct values from.
by_coloptionalFALSE or omitted compares and returns rows; TRUE compares and returns columns.
exactly_onceoptionalTRUE returns only items that appear exactly once; FALSE or omitted returns one of each distinct item.

Related functions

FILTERCOUNTIF
ƒxDuplicate RemoverLive
Unique values
3

2 duplicates removed · 3 kept

Runs entirely in your browser — your data never leaves this page.
Ctrl+CthenCtrl+Shift+V+Cthen+Ctrl+VPaste values · WindowsMac

What this does

UNIQUE is a dynamic-array function in Excel 365 and Excel 2021 that returns the distinct values from a range, spilling the live result into the cells below. Unlike the Remove Duplicates data tool — a one-off action that permanently edits your data — UNIQUE is a formula that recalculates whenever the source changes, so a dropdown or report stays current. The optional by_col switches it to compare columns instead of rows, and exactly_once returns only the items that occur a single time. Because it spills, it needs empty cells below; if something blocks the spill it returns a #SPILL! error. Keep the inputs visible and clearly labelled and the whole thing stays auditable — anyone who opens the file later, including you, can see at a glance exactly what feeds the result and change one assumption without hunting through the formula. For “excel unique values in column”, the reliable version is a short checking loop, not just the first command that appears to work. Run it on a deliberately small range first, watch how the affected columns change, and only then apply the same setup to the full sheet. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. That is what makes a data step that keeps your analysis trustworthy useful in real work: repeatable, auditable, and not dependent on memory or luck.

A worked example

Region names with repeats sit in A2:A100. =UNIQUE(A2:A100) spills a clean list of each region once — say West, East, North, South — into the cells below the formula. To list only regions that appear exactly once, add the third argument: =UNIQUE(A2:A100, FALSE, TRUE). To sort the distinct list, wrap it: =SORT(UNIQUE(A2:A100)). UNIQUE is the modern way to build live distinct lists — for dashboards, dropdowns and summaries — because it updates automatically and, unlike Remove Duplicates, never alters the underlying data. If there is any chance you will reuse this, drop it into a small template tab right now: a labelled input area on the left and the formula beside it, checked once against the tool above. Next time the same question comes up, the answer is a single paste away instead of a rebuild from memory.

In Google Sheets

Google Sheets handles this almost identically to Excel. The formula syntax above is the same, and the menu lives under a slightly different label rather than a ribbon tab. Use the platform toggle at the top of the page to switch every keyboard shortcut between Windows and Mac, and expect at most cosmetic differences in naming. Nothing on this page is behind a login: the tool runs entirely in your browser, the formula is shown in full with one-click copy, and the steps work the same on Windows and Mac. That is the whole promise here — the exact answer, a way to prove it on your own numbers, and just enough context to make it stick. If you take one thing from this page on “excel unique values in column”, make it the habit rather than the keystrokes: set the problem up with labelled inputs, reference those cells, and let Excel do the recomputing. Bookmark the page for the syntax, but do the example once in a blank sheet and check it against the tool above — five minutes of hands-on practice fixes the method in memory far better than re-reading, and it surfaces the small snags while they are still harmless. After that the technique is genuinely yours: faster than searching for it again, and reliable enough to drop into work that other people depend on.

Common mistakes

  • Placing the formula where cells below are occupied, which blocks the spill and returns a #SPILL! error — clear the range underneath.
  • Confusing UNIQUE with Remove Duplicates — Remove Duplicates is a one-off tool that deletes data, while UNIQUE is a live formula that leaves the source intact.
  • Using UNIQUE in Excel 2019 or earlier, where it does not exist and returns #NAME?; fall back to Remove Duplicates or an advanced filter there.

Frequently asked questions

What is the difference between UNIQUE and Remove Duplicates?

UNIQUE is a formula that spills a live distinct list and updates when the source changes, leaving your data untouched. Remove Duplicates is a one-off button on the Data tab that permanently deletes the duplicate rows from the data itself.

Why does UNIQUE return a #SPILL! error?

Something is occupying the cells where the result needs to spill. Clear or move the contents below the formula so the distinct list has room, and the spill resolves.

How do I get a sorted list of unique values?

Wrap UNIQUE in SORT: =SORT(UNIQUE(A2:A100)) returns the distinct values in ascending order, perfect for a tidy dropdown source.

Other ways people ask this

People reach this page typing “excel unique values column”, “excel number of unique values in column”, “excel find unique values in column” and “excel list all unique values in a column”, among other phrasings; whichever wording you used, the fix above is the one you want.

Why do people search for this in so many different ways?

Because the same task has many names. “excel unique values column”, “excel number of unique values in column”, “excel find unique values in column” all point at the one operation explained on this page, which is why they all lead here.