Excel COUNT Practice Question: Absent students are marked AB. Using COUNT, find how many students appeared…
The question
Absent students are marked AB. Using COUNT, find how many students appeared and put it in E2. Then find how many were absent (use COUNTA minus COUNT) and put it in E3.
The data
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Student | Marks | Label | Result | |
| 2 | Gita | 56 | Appeared | ? | |
| 3 | Hari | AB | Absent | ? | |
| 4 | Iqbal | 71 | |||
| 5 | Jaya | AB | |||
| 6 | Karan | 64 | |||
| 7 | Leena | 48 |
The yellow cells are where your answer goes.
Show answer
Expected results:
- E2 = 4
- E3 = 2
How it works
Explanation: COUNT counts numbers only, while COUNTA counts everything that is not empty. The difference between them is the number of text entries.
Syntax: =COUNT(B2:B7) and =COUNTA(B2:B7)-COUNT(B2:B7)
Numbers: 56, 71, 64, 48 gives 4. All entries: 6. Absent = 6 - 4 = 2.
Try it yourself in the live sheet
Type your formula in the highlighted cell and get instant feedback. Free, no Excel install needed.
Try this question in the live sheet →COUNT syntax
Counts how many cells in a range contain numbers. COUNT is used in data analysis work to summarize or test patterns across a data set. Full COUNT guide.
More COUNT practice questions
- Some cells in the Marks column hold text. Using COUNT, count how many cells hold actual…
- Using COUNT, find how many invoices have an amount entered and put it in B7.
- Two days have no units recorded. Using COUNT, find how many days have a number entered…
- Using one COUNT over both columns, find the total number of readings taken (morning and…
- A blank Delivery days cell means the order is still pending. Using COUNT and COUNTA,…
- A zero reading is still a reading. Using COUNT, find how many readings were recorded…
- New customers get the next serial number. Using COUNT, find the next serial number and…
- Some bill amounts were entered as text (n/a). Using SUM and COUNT, find the average…
All practice questions · Excel exercises · Interview prep · Cheat sheet