0
0
Google Sheetsspreadsheet~20 mins

UNIQUE function in Google Sheets - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
UNIQUE Function Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
📊 Formula Result
intermediate
2:00remaining
Output of UNIQUE with a simple list
Given the list in cells A1:A6:

A1: Apple
A2: Banana
A3: Apple
A4: Orange
A5: Banana
A6: Grape

What is the output of the formula =UNIQUE(A1:A6) when entered in cell B1?
Google Sheets
=UNIQUE(A1:A6)
AApple, Banana, Orange
BApple, Banana, Apple, Orange, Banana, Grape
CApple, Banana, Orange, Grape
DBanana, Apple, Orange, Grape
Attempts:
2 left
💡 Hint
UNIQUE removes repeated values and keeps the first occurrence order.
📊 Formula Result
intermediate
2:00remaining
UNIQUE with multiple columns
Given the data in cells A1:B5:

A1: Name, B1: City
A2: John, B2: NY
A3: Anna, B3: LA
A4: John, B4: NY
A5: Mike, B5: SF

What will be the output of =UNIQUE(A2:B5) starting at cell D1?
Google Sheets
=UNIQUE(A2:B5)
ANY<br>LA<br>SF
BJohn NY<br>Anna LA<br>Mike SF
CJohn<br>Anna<br>Mike
DJohn NY<br>Anna LA<br>John NY<br>Mike SF
Attempts:
2 left
💡 Hint
UNIQUE treats each row as a whole when given multiple columns.
Function Choice
advanced
2:00remaining
Choosing the right function to get unique values ignoring blanks
You have a list in column A with some blank cells. You want to get unique values from this list but exclude any blank cells from the result.

Which formula will correctly return unique non-blank values?
A=UNIQUE(FILTER(A1:A10, A1:A10<>""))
B=UNIQUE(A1:A10)
C=FILTER(UNIQUE(A1:A10), UNIQUE(A1:A10)<>"")
D=SORT(UNIQUE(A1:A10))
Attempts:
2 left
💡 Hint
Filtering out blanks before applying UNIQUE is the key.
🎯 Scenario
advanced
2:00remaining
Using UNIQUE with case sensitivity
You have a list in column A:
A1: apple
A2: Apple
A3: APPLE
A4: banana
A5: Banana

You want to get unique values treating different cases as different entries.

Which approach will achieve this in Google Sheets?
AUse =UNIQUE(A1:A5 & CHAR(ROW(A1:A5)))
BUse =UNIQUE(ARRAYFORMULA(EXACT(A1:A5, A1:A5)))
CUse =UNIQUE(A1:A5, FALSE)
DUse =UNIQUE(A1:A5) directly
Attempts:
2 left
💡 Hint
UNIQUE is case-insensitive by default; trick it by making entries unique with row numbers.
data_analysis
expert
2:00remaining
Counting unique values with conditions
You have a table with sales data:

Column A (Product): A2:A10
Column B (Region): B2:B10

You want to count how many unique products were sold in the "East" region.

Which formula will correctly give this count?
A=COUNTA(UNIQUE(FILTER(A2:A10, B2:B10="East")))
B=SUM(UNIQUE(FILTER(A2:A10, B2:B10="East")))
C=COUNT(UNIQUE(FILTER(A2:A10, B2:B10="East")))
D=COUNTUNIQUE(FILTER(A2:A10, B2:B10="East"))
Attempts:
2 left
💡 Hint
COUNTUNIQUE counts unique values directly.