COUNT and COUNTA do not count the same thing. COUNT counts only numbers, COUNTA counts every cell that is not empty, and COUNTBLANK counts the empty ones. On a list where numbers and text are mixed, the difference shows the problem.
The following exercise shows you how to diagnose a list with the counting functions.
What you will practice in this exercise
You work on an attendance list where numbers and text are mixed. You answer 8 questions, one formula per question:
- Cells with a number (COUNT)
- Cells that are filled in (COUNTA)
- People not checked in (COUNTBLANK)
- Cells with text instead of a number (COUNTA − COUNT)
- Does the cell contain text? (ISTEXT)
- Copy the test for every person
- Convert “Yes” to 1 and “No” to 0 (nested IF)
- The same with one IFS formula
Practice with exercises
Related articles
All the exercises in this series are based on real cases found on Excel forums. Each one answers a question that Excel users really ask.
