COUNT, COUNTA, COUNTBLANK Exercise: Attendance List

Reading time: 2 minutes

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

count attendance quiz45

COUNT, COUNTA and COUNTBLANK Exercise - Spot data entry errors in an attendance list

Diagnose a messy attendance list (mixed Yes/No, 1/0 and blanks) with COUNT, COUNTA, COUNTBLANK and ISTEXT, then fix the inconsistent entries — 8 guided steps.

=COUNT( range )

1 / 8

How many cells in the Present column contain a numeric value?

Attendance list — Q1 · 351

=COUNTA( range )

2 / 8

How many cells in the Present column are filled in (not empty)?

Attendance list — Q2 · 352

=COUNTBLANK( range )

3 / 8

How many people were not checked in at all?

Attendance list — Q3 · 353

= COUNTA(...) - COUNT(...)

4 / 8

How many cells contain text instead of a number? (hint: COUNTA counts everything, COUNT only numbers)

Attendance list — Q4 · 354

=ISTEXT( cell )

5 / 8

The Present column mixes numbers and text. In D2, test whether C2 contains text with the ISTEXT function.

Attendance list — Q5 · 355

6 / 8

Fill the formula from D2 down for every person. Notice the TRUE/FALSE alternation.

Attendance list — Q6 · 356

=IF( ISTEXT(...) , IF( ... ) , value )

7 / 8

Write a formula that fixes C2: if it is the text "Yes" → return 1, if it is the text "No" → return 0, otherwise keep the value as is.

Attendance list — Q7 · 357

=IFS( cond1 , result1 , cond2 , result2 , TRUE , default )

8 / 8

Same exercise, but this time with IFS: write a single formula that handles the 3 cases — "Yes" → 1, "No" → 0, otherwise the original value.

Attendance list — Q8 · 358

Your score is

0%

Related articles

Excel exercises: practice online with instant correction

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.

Leave a Reply

Your email address will not be published. Required fields are marked *

COUNT, COUNTA, COUNTBLANK Exercise: Attendance List

Reading time: 2 minutes

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

count attendance quiz45

COUNT, COUNTA and COUNTBLANK Exercise - Spot data entry errors in an attendance list

Diagnose a messy attendance list (mixed Yes/No, 1/0 and blanks) with COUNT, COUNTA, COUNTBLANK and ISTEXT, then fix the inconsistent entries — 8 guided steps.

=COUNT( range )

1 / 8

How many cells in the Present column contain a numeric value?

Attendance list — Q1 · 351

=COUNTA( range )

2 / 8

How many cells in the Present column are filled in (not empty)?

Attendance list — Q2 · 352

=COUNTBLANK( range )

3 / 8

How many people were not checked in at all?

Attendance list — Q3 · 353

= COUNTA(...) - COUNT(...)

4 / 8

How many cells contain text instead of a number? (hint: COUNTA counts everything, COUNT only numbers)

Attendance list — Q4 · 354

=ISTEXT( cell )

5 / 8

The Present column mixes numbers and text. In D2, test whether C2 contains text with the ISTEXT function.

Attendance list — Q5 · 355

6 / 8

Fill the formula from D2 down for every person. Notice the TRUE/FALSE alternation.

Attendance list — Q6 · 356

=IF( ISTEXT(...) , IF( ... ) , value )

7 / 8

Write a formula that fixes C2: if it is the text "Yes" → return 1, if it is the text "No" → return 0, otherwise keep the value as is.

Attendance list — Q7 · 357

=IFS( cond1 , result1 , cond2 , result2 , TRUE , default )

8 / 8

Same exercise, but this time with IFS: write a single formula that handles the 3 cases — "Yes" → 1, "No" → 0, otherwise the original value.

Attendance list — Q8 · 358

Your score is

0%

Related articles

Excel exercises: practice online with instant correction

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.

Leave a Reply

Your email address will not be published. Required fields are marked *