0
0
Google Sheetsspreadsheet~10 mins

Removing duplicates in Google Sheets - Cell-by-Cell Formula Trace

Choose your learning style9 modes available
Sample Data

A list of names with some duplicates in column A.

CellValue
A1Name
A2Alice
A3Bob
A4Alice
A5Charlie
A6Bob
A7David
Formula Trace
=UNIQUE(A2:A7)
Step 1: A2:A7
Step 2: UNIQUE(["Alice", "Bob", "Alice", "Charlie", "Bob", "David"])
Cell Reference Map
    A   
1 |Name |
2 |Alice|
3 |Bob  |
4 |Alice|
5 |Charlie|
6 |Bob  |
7 |David|  

Formula references cells A2 to A7 for input data.
The formula uses the range A2:A7 which contains the names with duplicates.
Result
    B           
1 |Unique Names|
2 |Alice       |
3 |Bob         |
4 |Charlie     |
5 |David       |
The UNIQUE formula outputs the list of names without duplicates starting from cell B2.
Sheet Trace Quiz - 3 Questions
Test your understanding
What does the UNIQUE function do with the list of names?
ACounts how many times each name appears
BSorts the names alphabetically
CRemoves duplicate names, keeping only the first occurrence
DReverses the order of names
Key Result
UNIQUE(range) returns a list of unique values from the given range, removing duplicates.