Challenge - 5 Problems
COUNTIF and COUNTIFS Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
📊 Formula Result
intermediate2: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")?Attempts:
2 left
💡 Hint
COUNTIF counts how many cells match the given condition exactly.
✗ Incorrect
The formula counts how many times "Apple" appears in the range A1:A6. Since "Apple" appears 3 times, the result is 3.
📊 Formula Result
intermediate2: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")?Attempts:
2 left
💡 Hint
COUNTIFS counts rows where all conditions are true at the same time.
✗ Incorrect
Anna appears twice with scores 90 and 85. Only the score 90 is greater than 85, so the count is 1.
❓ Function Choice
advanced2: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?
Attempts:
2 left
💡 Hint
Use COUNTIFS to count rows where multiple conditions are true together.
✗ Incorrect
Option A uses COUNTIFS with two conditions, counting rows where C1:C10 > 50 and D1:D10 = "Passed" simultaneously. Other options either add counts separately or use invalid syntax.
🎯 Scenario
advanced2: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?
Attempts:
2 left
💡 Hint
Use DATE function inside quotes for correct date comparison in formulas.
✗ Incorrect
Option C correctly uses COUNTIFS with DATE function inside quotes to compare dates properly. Option C uses text dates which Excel may misinterpret. Option C subtracts counts incorrectly. Option C has quotes around DATE function making it a text string, so it won't work.
❓ data_analysis
expert3: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?
Attempts:
2 left
💡 Hint
Use "<>" to specify not equal condition in COUNTIFS.
✗ Incorrect
Option D counts rows where Product is "Widget", Region is not "East", and Sales are at least 100. Option D counts only Region "East". Option D excludes sales equal to 100. Option D requires sales >= 1000, which is stricter than needed.