0
0
Google Sheetsspreadsheet~20 mins

FILTER function in Google Sheets - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
FILTER Function Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
📊 Formula Result
intermediate
2:00remaining
Output of FILTER with multiple conditions
Given the data in cells A1:A5 as {10, 20, 30, 40, 50} and B1:B5 as {5, 15, 25, 35, 45}, what is the output of the formula =FILTER(A1:A5, A1:A5 > 20, B1:B5 < 40)?
A{30, 40}
B{30, 40, 50}
C{40}
D{50}
Attempts:
2 left
💡 Hint
Remember FILTER returns values where all conditions are TRUE for each row.
Function Choice
intermediate
2:00remaining
Choosing the correct FILTER formula for text matching
You have a list of names in A1:A6: {"Anna", "Bob", "Annie", "Bill", "Ann", "Ben"}. Which FILTER formula returns only names starting with "Ann"?
A=FILTER(A1:A6, A1:A6 = "Ann*")
B=FILTER(A1:A6, REGEXMATCH(A1:A6, "^Ann"))
C=FILTER(A1:A6, SEARCH("Ann", A1:A6))
D=FILTER(A1:A6, LEFT(A1:A6, 3) = "Ann")
Attempts:
2 left
💡 Hint
Use a function that can match text patterns at the start of strings.
🎯 Scenario
advanced
2:00remaining
Filter rows with non-empty and numeric values
You have data in A1:A6: {"12", "", "abc", "34", " ", "56"}. Which FILTER formula returns only the numeric values ignoring blanks and text?
A=FILTER(A1:A6, ISNUMBER(VALUE(A1:A6)))
B=FILTER(A1:A6, ISNUMBER(A1:A6))
C=FILTER(A1:A6, NOT(ISBLANK(A1:A6)))
D=FILTER(A1:A6, ISNUMBER(N(A1:A6)))
Attempts:
2 left
💡 Hint
Convert text to numbers and check if conversion is valid.
data_analysis
advanced
2:00remaining
Count filtered results with multiple criteria
Given sales data in columns A (Product) and B (Quantity): A1:A5 = {"Pen", "Pencil", "Pen", "Eraser", "Pen"}, B1:B5 = {10, 5, 15, 7, 20}. Which formula counts how many rows have Product = "Pen" and Quantity > 10?
A=COUNTIF(A1:A5, "Pen") + COUNTIF(B1:B5, ">10")
B=COUNT(FILTER(A1:A5, A1:A5 = "Pen", B1:B5 > 10))
C=SUMPRODUCT((A1:A5 = "Pen") * (B1:B5 > 10))
D=COUNTA(FILTER(A1:A5, A1:A5 = "Pen", B1:B5 > 10))
Attempts:
2 left
💡 Hint
FILTER returns matching rows; use COUNTA to count them.
📊 Formula Result
expert
2:00remaining
FILTER with dynamic array and error handling
Given A1:A4 = {5, 10, 15, 20}, what is the output of =IFERROR(FILTER(A1:A4, A1:A4 > 25), "No results")?
AError #N/A
B{} (empty array)
C"No results"
D5
Attempts:
2 left
💡 Hint
FILTER returns an error if no rows match; IFERROR catches it.