How to Add Checkboxes in Google Sheets (and Count Them)

By Gerard Fernandez · Updated · 2 min read

Checkboxes turn a spreadsheet into a to-do list, a packing list or an attendance sheet. Each box is either ticked or unticked, and because Sheets stores that as TRUE or FALSE, you can count them, use them in formulas and format rows based on them.

Insert checkboxes

  1. Select the cells where you want checkboxes, for example C2:C6.
  2. Go to Insert → Checkbox (called Tick box if your Google account uses UK English).
Google Sheets Insert menu open with the Tick box (Checkbox) option, cells C2 to C6 selected
Insert → Checkbox adds a box to every selected cell.

Click a box to tick it, or select it and press Space. Selecting several boxes and pressing Space ticks or unticks them all at once.

Count ticked checkboxes

A ticked box has the value TRUE and an empty one FALSE. To count how many tasks are done:

=COUNTIF(C2:C6, TRUE)
A task list with checkboxes in column C, two of them ticked, and =COUNTIF(C2:C6, TRUE) showing 2 tasks done
Two boxes are ticked, so COUNTIF returns 2. The Status column uses a drop-down list.

To show progress as a percentage, divide by the total number of boxes and format the cell as a percent:

=COUNTIF(C2:C6, TRUE) / COUNTA(A2:A6)

Cross out completed tasks automatically

  1. Select the task list, for example A2:C6.
  2. Go to Format → Conditional formatting.
  3. Under Format cells if…, choose Custom formula is and enter:
    =$C2=TRUE
  4. Under Formatting style, click the strikethrough button (S) and choose a light gray text color.
  5. Click Done.

Now any row whose box is ticked is crossed out. The dollar sign in $C2 makes every cell in the row check column C.

Use checkboxes in other formulas

Because a checkbox is just TRUE or FALSE, it works directly in IF:

=IF(C2, "Done", "Pending")

Learn more in our IF function guide.

Remove checkboxes

Select the cells with checkboxes and press Delete. The checkboxes disappear along with their values. To untick them without removing them, select them and press Space instead.

Frequently asked questions

Can a checkbox show something other than TRUE/FALSE?

Yes. Open Data → Data validation, click the checkbox rule, tick Use custom cell values, and enter values such as "Yes" and "No". Remember to use those values in your formulas instead of TRUE.

Why does my COUNTIF of checkboxes return 0?

Make sure you wrote TRUE without quotes. "TRUE" in quotes is text and won't match the checkbox value.