Free exercise · Excel formula basics
Count numbers vs text
Practice Excel COUNT and COUNTA by counting numeric responses separately from every non-empty cell.
Column A mixes numbers and words. COUNT and COUNTA answer different questions.
In D1, count only the numbers. In D2, count every non-empty entry. Both formulas should cover A2:A6.
Dataset
Starter sheet. Cells marked formula are where the formula goes.
| Row | A | B | C | D |
|---|---|---|---|---|
| 1 | Response | Numbers | Formula goes in D1. formula | |
| 2 | 12 | Any entry | Formula goes in D2. formula | |
| 3 | apple | |||
| 4 | 7 | |||
| 5 | north | |||
| 6 | 3 |
Hint
COUNT ignores text. COUNTA counts text and numbers, and skips blanks.
Explanation
This exercise practices COUNT and COUNTA in Excel. The formula goes in D1, D2.
COUNT only counts numbers, so the three numeric responses total 3. COUNTA counts text and numbers, so all five filled cells are included.
One formula that works: D1: =COUNT(A2:A6). D2: =COUNTA(A2:A6). Other formulas that return the same result are accepted.