Remove duplicate contacts (UNIQUE)
The problem
Problem statement
Your marketing sheet collects signups from three forms, so the same contact shows up several times in A2:A7. The email tool needs a clean list: put a UNIQUE formula in Unique list so the first unique contact lands in C2 — the full deduplicated list then spills straight down.
UNIQUE spills from one cell — enter it once in C2; cases 2 and 3 replace the whole list.
Problem data
Show the sheet as a table (selectable, copyable)
| A | C | |
|---|---|---|
| 1 | Contact | Unique list |
| 2 | Alice Wang | |
| 3 | Bob Li | |
| 4 | Alice Wang | |
| 5 | Cara Chen | |
| 6 | Bob Li | |
| 7 | Dan Wu |
Notes
UNIQUE(array) returns the unique rows of a range and spills the result downward from the formula cell — no copy-paste, no manual Remove Duplicates. The formula cell itself always holds the first value of the spilled array. If the cells below are not empty, Excel/Sheets blocks the spill with #SPILL!, so keep the output area clear. To keep only values that appear exactly once, add the third argument: =UNIQUE(A2:A7, FALSE, TRUE).
How to approach
Your answer goes in C2. On submit we re-run your formula against 3 different sets of input, so a hardcoded number will fail — the formula has to follow the cells.
- Target cell is C2 — one single formula, no fill-down needed
- The range to dedupe is A2:A7
UNIQUEtakes the array as its first argument- The result spills automatically — C2 shows the first unique contact
Official solutions
Show 1 solution — try it yourself first
Approach 1: UNIQUE over the contact column
=UNIQUE(A2:A7)
Returns each distinct contact once, starting in C2 and spilling down as far as needed. When the signups change, the list rebuilds itself.
Function guide
FAQ
Why does only the first name show in C2?
C2 holds the first value of the UNIQUE result; the rest of the deduplicated list spills into the empty cells below automatically. SheetDo grades the formula cell, which is the value every case checks.
What is #SPILL! and how do I fix it?
UNIQUE needs empty cells below the formula to lay out its result. If anything blocks them, Excel and Google Sheets return #SPILL!. Clear the output area or move the formula somewhere with room to expand.
Is Remove Duplicates on the Data tab the same thing?
The Data-tab command rewrites your source range in place and never updates. A UNIQUE formula lives somewhere else, keeps the original untouched, and recalculates whenever the source data changes.
Does UNIQUE treat names that differ only by case as duplicates?
Yes. "alice wang" and "Alice Wang" count as the same value. Normalize casing first (for example with PROPER) if you need case-sensitive grouping.