How to Count Checked Checkboxes in Google Sheets Using COUNTIF

Interactive checkboxes in Google Sheets provide an intuitive visual method to manage to-do lists, track project deliverables, and record daily attendance. However, tracking overall completion requires counting how many boxes have been ticked. The simplest and most robust way to calculate this total is by utilising the COUNTIF function.

When you insert a standard checkbox in Google Sheets, each ticked box holds an underlying logical value of TRUE, whilst an unticked box holds FALSE. Understanding this mechanism allows you to build dynamic counts and percentage trackers in seconds.

Step-by-Step: Count Checked Checkboxes with COUNTIF

To count the number of checked boxes in a column or row:

  1. Click into the empty cell where you want your completed task total to display.
  2. Type the following formula:
    =COUNTIF(A2:A20, TRUE)
  3. Replace A2:A20 with the actual cell range containing your checkboxes.
  4. Press Enter. Google Sheets will immediately calculate and display the number of ticked checkboxes.

As you tick or untick items throughout your workflow, the formula will update the sum automatically in real time.

How to Count Unchecked (Pending) Tasks

If you need to display remaining or incomplete tasks alongside completed ones, simply adapt the criterion to evaluate FALSE:

  1. Select your target reporting cell.
  2. Enter the formula:
    =COUNTIF(A2:A20, FALSE)
  3. Press Enter to show the exact count of pending items.

Bonus: Calculate the Completion Percentage

To show progress towards project completion as a percentage, combine COUNTIF with the total count of all checkboxes using COUNTA:

  1. Enter the following formula into a summary cell:
    =COUNTIF(A2:A20, TRUE) / COUNTA(A2:A20)
  2. Press Enter.
  3. With the cell selected, click the Format as percent (%) icon on the main toolbar.
  4. The cell will now display a clean progress percentage (for instance, 75%) that reflects real-time task completion.

Troubleshooting Common Checkbox Formula Errors

  • Formula returns 0 despite checked boxes: If you customised the checkbox data validation to use custom values (such as “Yes” and “No” instead of TRUE and FALSE), update your formula criterion to match: =COUNTIF(A2:A20, "Yes").
  • Blank cells counted as FALSE: If your range contains empty cells that do not have checkboxes inserted, they will not evaluate to FALSE, but they may skew total calculations if using ROWS(). Always use COUNTA or specify the exact populated range.

Frequently Asked Questions

Do quotes belong around TRUE in the formula?

No. In Google Sheets, TRUE is an intrinsic boolean value. Do not enclose it in quotation marks (e.g. write TRUE, not "TRUE"). If you wrap TRUE in quotes, Google Sheets treats it as a text string and will fail to match logical checkboxes.

Can I count checked boxes across multiple columns simultaneously?

Yes. You can supply a two-dimensional grid range to the formula, such as =COUNTIF(B2:E20, TRUE). Google Sheets will tally every checked box within the entire designated block.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.