The Problem
You have a list of 1000 orders and you just want a list of the unique customer names.
The Easy Way: Use SheetXAI
If you don't want to mess with formulas, the fastest way to do this is simply by asking.
With SheetXAI, you can open the sidebar and type:
List all the unique countries from column A.
SheetXAI will instantly write the formula or script for you and fill the cells. It handles the syntax so you can focus on the result.
The Manual Way: The Formulas You Need
To do this manually, you need to use: UNIQUE.
1. UNIQUE
Returns a list of unique values in a list or range.
Syntax: =UNIQUE(array)
- array: The range or array from which to return unique rows or columns.
Example: Returns one instance of each value.
Understanding the Logic
It spills the results automatically into the cells below.
The Final Formula:
=UNIQUE(A:A)
Conclusion
Now you know the "classic" way to solve this using formulas. It's a great skill to have.
But for those times when you just want the job done without the mental math, SheetXAI is there to help.