0
0
Excelspreadsheet~20 mins

COUNTIF and COUNTIFS in Excel - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
COUNTIF and COUNTIFS Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
📊 Formula Result
intermediate
2:00remaining
COUNTIF with Text Criteria
Given a list of fruits in cells A1:A6: {"Apple", "Banana", "Apple", "Orange", "Banana", "Apple"}, what is the result of the formula =COUNTIF(A1:A6, "Apple")?
A3
B2
C1
D6
Attempts:
2 left
💡 Hint
COUNTIF counts how many cells match the given condition exactly.
📊 Formula Result
intermediate
2:00remaining
COUNTIFS with Multiple Conditions
In a table with columns A (Names) and B (Scores), cells A1:A5 contain {"John", "Anna", "John", "Mike", "Anna"} and B1:B5 contain {85, 90, 75, 90, 85}. What is the result of =COUNTIFS(A1:A5, "Anna", B1:B5, ">85")?
A2
B1
C0
D3
Attempts:
2 left
💡 Hint
COUNTIFS counts rows where all conditions are true at the same time.
Function Choice
advanced
2:00remaining
Choosing the Right Function for Counting
You want to count how many cells in range C1:C10 contain numbers greater than 50 and text "Passed" in range D1:D10. Which formula correctly counts rows meeting both conditions?
A=COUNTIFS(C1:C10, ">50", D1:D10, "Passed")
B=COUNTIF(C1:C10, ">50") + COUNTIF(D1:D10, "Passed")
C=COUNTIF(C1:C10, ">50") * COUNTIF(D1:D10, "Passed")
D=COUNTIF(C1:C10:D10, ">50", "Passed")
Attempts:
2 left
💡 Hint
Use COUNTIFS to count rows where multiple conditions are true together.
🎯 Scenario
advanced
2:00remaining
Counting Dates Within a Range
You have dates in cells E1:E10. You want to count how many dates fall between January 1, 2024, and March 31, 2024, inclusive. Which formula gives the correct count?
A=COUNTIFS(E1:E10, ">=1/1/2024", E1:E10, "<=3/31/2024")
B)")13,3,4202(ETAD=<" ,01E:1E ,")1,1,4202(ETAD=>" ,01E:1E(SFITNUOC=
C=COUNTIFS(E1:E10, ">=DATE(2024,1,1)", E1:E10, "<=DATE(2024,3,31)")
D=COUNTIF(E1:E10, ">=1/1/2024") - COUNTIF(E1:E10, ">3/31/2024")
Attempts:
2 left
💡 Hint
Use DATE function inside quotes for correct date comparison in formulas.
data_analysis
expert
3:00remaining
Analyzing COUNTIFS with Mixed Criteria
You have a sales table with columns: Product (A), Region (B), and Sales (C). You want to count how many sales records have Product "Widget", Region not equal to "East", and Sales greater than or equal to 100. Which formula returns the correct count?
A=COUNTIFS(A:A, "Widget", B:B, "<>East", C:C, ">100")
B=COUNTIFS(A:A, "Widget", B:B, "East", C:C, ">=100")
C=COUNTIFS(A:A, "Widget", B:B, "<>East", C:C, ">=1000")
D=COUNTIFS(A:A, "Widget", B:B, "<>East", C:C, ">=100")
Attempts:
2 left
💡 Hint
Use "<>" to specify not equal condition in COUNTIFS.