0
0
Google Sheetsspreadsheet~20 mins

Removing duplicates in Google Sheets - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Duplicate Remover Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
📊 Formula Result
intermediate
2:00remaining
Removing duplicates with UNIQUE function
You have a list of names in cells A1:A6:

John
Mary
John
Anna
Mary
Tom


Which formula in cell B1 will return the list without duplicates?
A=SORT(A1:A6, TRUE)
B=REMOVE_DUPLICATES(A1:A6)
C=UNIQUE(A1:A6)
D=FILTER(A1:A6, COUNTIF(A1:A6, A1:A6)=1)
Attempts:
2 left
💡 Hint
Use the function that extracts unique values from a range.
Function Choice
intermediate
1:30remaining
Choose the correct function to remove duplicates
You want to remove duplicate entries from a list in Google Sheets. Which function should you use?
ADISTINCT()
BREMOVE_DUPLICATES()
CFILTER()
DUNIQUE()
Attempts:
2 left
💡 Hint
Think about the function that returns unique values.
🎯 Scenario
advanced
2:30remaining
Removing duplicates but keeping the first occurrence only
You have a list of product IDs in column A with duplicates. You want to create a list in column B that keeps only the first occurrence of each product ID, preserving the original order. Which formula should you use in B1?
A=UNIQUE(A1:A100)
B=SORT(UNIQUE(A1:A100))
C=FILTER(A1:A100, MATCH(A1:A100, A1:A100, 0)=ROW(A1:A100)-ROW(A1)+1)
D=ARRAYFORMULA(IF(COUNTIF(A$1:A1, A1:A100)=1, A1:A100, ""))
Attempts:
2 left
💡 Hint
UNIQUE preserves the first occurrence and order by default.
📊 Formula Result
advanced
2:30remaining
Removing duplicates with multiple columns
You have data in columns A and B:

A1:B5
1, Apple
2, Banana
1, Apple
3, Cherry
2, Banana


Which formula in D1 will return unique rows based on both columns?
A=UNIQUE(A1:B5)
B=UNIQUE(A1:A5 & B1:B5)
C=FILTER(A1:B5, COUNTIF(A1:A5, A1:A5)=1)
D=SORT(UNIQUE(A1:B5))
Attempts:
2 left
💡 Hint
UNIQUE works on multiple columns to remove duplicate rows.
data_analysis
expert
3:00remaining
Count unique values ignoring blanks
You have a list of values in A1:A10 with some duplicates and blank cells:

Apple
Banana

Apple
Cherry
Banana

Cherry
Durian
Apple


Which formula correctly counts the number of unique non-blank values?
A=COUNTA(UNIQUE(A1:A10))
B=COUNTUNIQUE(FILTER(A1:A10, A1:A10<>""))
C=COUNTUNIQUE(A1:A10)
D=COUNTA(UNIQUE(FILTER(A1:A10, A1:A10<>"")))
Attempts:
2 left
💡 Hint
COUNTUNIQUE counts unique values; FILTER removes blanks.