Excel UNIQUE Function
Chala mitrano — today UNIQUE. Spill each city once — clean dropdowns and distinct lists.
चला मित्रांनो — आज UNIQUE. प्रत्येक शहर एकदा spill — स्वच्छ dropdowns.
चलो दोस्तों — आज UNIQUE. हर शहर एक बार spill — साफ़ dropdowns.
Purpose
Return unique values from a range (spill).
Return value
A spilled list of distinct values.
Syntax
Arguments
| Argument | Required? | Description |
|---|---|---|
array | Required | Range to scan. |
by_col | Optional | TRUE compares columns. |
exactly_once | Optional | TRUE keeps values that appear only once. |
Version
Microsoft 365 / Excel 2021+ with dynamic arrays. LibreOffice limited; Google Sheets has FILTER/SORT/UNIQUE/SEQUENCE/RANDARRAY cousins.
How to use — Why → What → How
Why: Distinct lists feed data validation and summaries. UNIQUE spills them live. Distinct city lists for Mysore ops and Dublin CRM clean-ups. In Indian back offices and foreign sister teams, UNIQUE shows up on live dashboards and spill ranges every week.
What: UNIQUE drops duplicates. exactly_once=TRUE keeps only loners (appeared once). Read every argument in the table once before you type; each one changes the answer on purpose.
How — numbered steps:
- Type =UNIQUE(A2:A100).
- Wrap SORT for A→Z.
- exactly_once for orphans.
Ravindra Bagale's Tip
Friends, after UNIQUE, find one column or range in a real workbook this week where this lesson saves time.
Ravindra Bagale's Tip – मराठी
मित्रांनो, UNIQUE नंतर या आठवड्यात खरी workbook मधील एक संख्या column सुधारा.
Ravindra Bagale's Tip – हिंदी
दोस्तों, UNIQUE के बाद इस हफ़्ते असली workbook का एक संख्या column सुधारो.
Ravindra Bagale's Tip
Friends, sleep on UNIQUE; rebuild example 1 tomorrow without looking.
Ravindra Bagale's Tip – मराठी
मित्रांनो, UNIQUE वर झोपा; उद्या उदाहरण 1 न पाहता लिहा.
Ravindra Bagale's Tip – हिंदी
दोस्तों, UNIQUE पर सोकर कल उदाहरण 1 बिना देखे लिखो.
Ravindra Bagale's Tip
Friends, say the business question in plain words before =UNIQUE.
Ravindra Bagale's Tip – मराठी
मित्रांनो, =UNIQUE आधी व्यवसाय प्रश्न साध्या शब्दांत सांगा.
Ravindra Bagale's Tip – हिंदी
दोस्तों, =UNIQUE से पहले व्यवसाय प्रश्न सादे शब्दों में बोलो.
Ravindra Bagale's Tip
Friends, check a known case with a calculator before you trust a long UNIQUE chain.
Ravindra Bagale's Tip – मराठी
मित्रांनो, लांब UNIQUE chain वर विश्वास ठेवण्यापूर्वी कॅल्क्युलेटरने एक ज्ञात case तपासा.
Ravindra Bagale's Tip – हिंदी
दोस्तों, लंबी UNIQUE chain पर भरोसा करने से पहले कैलकुलेटर से एक जाना हुआ case जाँचो.
Ravindra Bagale's Tip
Friends, after you finish UNIQUE, open yesterday’s real workbook and find one place this function would have saved ten minutes.
Ravindra Bagale's Tip – मराठी
मित्रांनो, UNIQUE नंतर कालची खरी वर्कबुक उघडा आणि शोधा जिथे हे फंक्शन दहा मिनिटे वाचवू शकले असते.
Ravindra Bagale's Tip – हिंदी
दोस्तों, UNIQUE के बाद कल की असली वर्कबुक खोलो और ढूँढो जहाँ यह फ़ंक्शन दस मिनट बचा सकता था.
Ravindra Bagale's Tip
Friends, treat UNIQUE like a seatbelt on spill ranges — clear #SPILL! blocks first.
Ravindra Bagale's Tip – मराठी
मित्रांनो, UNIQUE ला spill ranges वरील seatbelt समजा — आधी #SPILL! साफ करा.
Ravindra Bagale's Tip – हिंदी
दोस्तों, UNIQUE को spill ranges पर seatbelt समझो — पहले #SPILL! साफ़ करो.
Download practice file: practice-unique.xlsx (includes sheet About this data, practice sheets, and Answers).
Worked examples
1) Distinct cities
Mysore.
| City |
|---|
| Pune |
| Austin |
| Pune |
Result: {Pune;Austin}
What it means: Two cities.
2) Sorted unique
Nice list.
| City |
|---|
| Cid |
| Amy |
| Cid |
| Ben |
Result: {Amy;Ben;Cid}
What it means: Sorted distinct.
3) Dublin IDs
Tickets.
| ID |
|---|
| T1 |
| T2 |
| T1 |
Result: {T1;T2}
What it means: Two IDs.
4) exactly_once
Orphans.
| X |
|---|
| 1 |
| 2 |
| 1 |
| 3 |
Result: {2;3}
What it means: Only once.
5) Multi-col rows
Distinct rows.
| A | B |
|---|---|
| 1 | x |
| 1 | x |
| 2 | y |
Result: {1,x;2,y}
What it means: Distinct pairs.
6) All same
One value.
| X |
|---|
| a |
| a |
Result: {a}
What it means: Single spill.
Common errors and fixes
Notes and tips
- Revisit the UNIQUE errors table after the quiz.
- Build example 1 from memory on a blank sheet.
- Check number vs text if a result looks wrong.
- Teach one tip in Marathi or Hindi this week.
- Keep currency symbols consistent inside one report column (practice mixes ₹ $ £ €).
- Drill: build a distinct city list from five messy rows.
- UNIQUE vs FILTER: distinct spill versus condition spill.
- Fictional sample data only — names and amounts are for learning.
- Print the UNIQUE revision card for one week of real worksheets.
- Ask juniors to predict before they press Enter.
- Track your top mistake with this function monthly.
- Distinct city lists for Mysore ops and Dublin CRM clean-ups.
- Interview tip: explain the business question before the formula.
- Classroom drill: invent three brand-new formulas from your city without the page open.
- If a result looks wrong, check blanks vs zeros before rewriting.
- When Excel versions differ, note the LibreOffice / Sheets fallback in a cell comment.
- Prefer clear ranges over whole-column refs on huge sheets if speed matters.
- Document units (₹, kg, days) in the header so totals stay honest.
- Print the revision card for UNIQUE for one week of real worksheets.
- When helping a junior, ask them to predict before Enter.
- Share one tip with a classmate in Marathi or Hindi.
- Keep currency symbols consistent inside a single report column.
- Interview tip: explain the business question before the formula.
- If a result looks wrong, check spill range blocks (#SPILL!) before rewriting.
- When Excel versions differ, write a LibreOffice / Sheets fallback under a comment.
In real work
Drill: build a distinct city list from five messy rows. Distinct city lists for Mysore ops and Dublin CRM clean-ups. Classroom drill: write three brand-new UNIQUE formulas on a blank sheet using names from your own city — if you can invent them without the page open, you own the skill. Then break one formula on purpose and watch the error; recovering from that break is half of interview readiness. Always verify with a known case before trusting a long chain. Keep a personal notebook of the one mistake you make most often with this function; review it monthly.
How it compares
UNIQUE vs FILTER: distinct spill versus condition spill.
Interview corner
- Order?
- First seen.
- exactly_once?
- Appeared once.
- vs COUNTIF?
- List vs count.
Related functions
Practice tasks (10)
- Task 1. Distinct cities.UNIQUE.
- Task 2. SORT UNIQUE.Alpha.
- Task 3. exactly_once.Loners.
- Task 4. Distinct rows.Pairs.
- Task 5. IDs.Dublin.
- Task 6. Interview.Talk.
- Task 7. Teach.Teach.
- Task 8. Dropdown list.DV.
- Task 9. Fill.Fill.
- Task 10. Document.Note.
Quick quiz
Answers: Q1=First seen, Q2=Loners, Q3=One Pune, Q4=SORT(UNIQUE()), Q5=#SPILL! (check after you try).
Revision card
Standalone card (no tip or photo strip). QR opens this lesson. Download the PNG and revise offline.