If you use Excel to create a checklist, you may want to count the number of checked or unchecked boxes. With a simple formula, you can tally them in a cell that adjusts as more boxes are marked or unmarked.

Designate Cells for the Checkbox Controls

When you check a box in Excel, the result of the check is True. For unchecked boxes, the result is False.

So, before you create the formula to count your checkboxes, you’ll need to designate cells to hold the True or False result. You’ll then use that result in your formula.

RELATED: How to Count Checkboxes in Google Sheets

Right-click your first checkbox and select “Format Control” in the shortcut menu.

In the Format Control box that appears, go to the Control tab. In the Cell Link box, enter the cell where you want to display the True or False result. You can also select the cell in your sheet to populate that box.

Click “OK” to save the change.

Follow the same process for the other checkboxes that you want to count in your sheet.

You should then see the True result for checked boxes and False for unchecked boxes in the designated cells.

Use the COUNTIF Function

Once you have the checkboxes set up, go to the cell where you want to display the count.

You’ll then enter a formula for the COUNTIF function that displays a count for either True or False, depending on which you want to count.

RELATED: How to Use the COUNT Function in Microsoft Excel

As an example, we are counting the checked boxes in cells B2 through B11 using their results in cells C2 through C11. So, you’ll use the result cells in your formula as follows:

You can see that we received the correct count of 6 for our checked boxes.

To count the unchecked boxes instead, simply replace True with False in the formula:

Optional: Hide the Result Cells

It may not be ideal to display the True and False results in your sheet. It might be distracting from the data you want to see.

If you have the results in a single column or row without any other data you need, you can simply hide the column or row.

RELATED: How to Hide Cells, Rows, and Columns in Excel

Right-click the column or row and pick “Hide” in the shortcut menu.

The formula for the checked or unchecked boxes will work just the same with the results hidden.

Counting the number of completed tasks, incomplete orders, or something similar is easy to do with the COUNTIF function and a bit of checkbox manipulation in Excel.

For more, check out how to use checkboxes in your Word documents too.