0
0
Excelspreadsheet~20 mins

COUNT and COUNTA functions in Excel - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
COUNT and COUNTA Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
📊 Formula Result
intermediate
2:00remaining
Counting Numbers vs Non-Empty Cells

Given the range A1:A6 contains the values: 10, "", 5, "Text", 0, TRUE.

What is the result of =COUNT(A1:A6)?

A4
B3
C5
D6
Attempts:
2 left
💡 Hint

COUNT counts only cells with numbers.

📊 Formula Result
intermediate
2:00remaining
Counting Non-Empty Cells

Given the range B1:B5 contains: "Apple", "", 25, FALSE, "Banana".

What is the result of =COUNTA(B1:B5)?

A4
B2
C5
D3
Attempts:
2 left
💡 Hint

COUNTA counts all non-empty cells, including text and logical values.

Function Choice
advanced
2:00remaining
Choosing the Right Function for Counting Text

You want to count how many cells in the range C1:C7 contain text, but ignore blanks and logical values.

A=COUNTIF(C1:C7,"*")
B=COUNTA(C1:C7)
C=COUNTIF(C1:C7, "<>")
D=COUNT(C1:C7)
Attempts:
2 left
💡 Hint

COUNT counts only numbers. COUNTA counts all non-empty cells including logical values. COUNTIF with "*" counts cells with text.

data_analysis
advanced
2:00remaining
Analyzing Mixed Data with COUNT and COUNTA

In the range D1:D8, the cells contain: 12, "", "Hello", 0, TRUE, FALSE, " ", and 7.

What is the difference between =COUNTA(D1:D8) and =COUNT(D1:D8)?

ACOUNTA returns 6; COUNT returns 3
BCOUNTA returns 8; COUNT returns 4
CCOUNTA returns 7; COUNT returns 3
DCOUNTA returns 7; COUNT returns 4
Attempts:
2 left
💡 Hint

COUNTA counts all non-empty cells including spaces and logical values. COUNT counts only numbers.

🎯 Scenario
expert
2:00remaining
Using COUNT and COUNTA in a Sales Report

You have a sales report in range E1:E10. Some cells have numbers (sales amounts), some have text notes, some are blank, and some have the logical value FALSE.

You want to find how many sales amounts were recorded (numbers) and how many entries (numbers or text) were made in total.

Which pair of formulas will correctly give these counts?

ASales count: <code>=COUNT(E1:E10)</code>, Entries count: <code>=COUNTIF(E1:E10, "<>")</code>
BSales count: <code>=COUNTA(E1:E10)</code>, Entries count: <code>=COUNT(E1:E10)</code>
CSales count: <code>=COUNTIF(E1:E10, ">0")</code>, Entries count: <code>=COUNTA(E1:E10)</code>
DSales count: <code>=COUNT(E1:E10)</code>, Entries count: <code>=COUNTA(E1:E10)</code>
Attempts:
2 left
💡 Hint

COUNT counts numbers, COUNTA counts all non-empty cells including text and logical values.