How to Add a Checkbox in Google Sheets
To add a checkbox in Google Sheets, select the cells and click Insert > Checkbox. Click a box, or press Space, to check it. Below: Yes/No values instead of TRUE/FALSE, counting checked boxes, a to-do list that crosses itself off, and what you can and can't do on Android, iPhone and iPad.
Last updated: November 2026
Quick Answer
Select the cells, then click Insert > Checkbox. A checked box holds TRUE and an empty one holds FALSE. Press Space to check or uncheck the selected box.
On Android, use More > Data validation > Checkbox. On an iPhone or iPad you can check boxes but not add them.
Use Yes/No or Other Custom Values
By default a checked box holds TRUE and an empty one holds FALSE. To store something else, set the checkbox up through data validation:
- Select the cells. They can already have checkboxes.
- Click Data > Data validation. A panel opens on the right. Click Add rule, or click the existing checkbox rule.
- Under Criteria, choose Checkbox.
- Check Use custom cell values.
- Next to Checked, type the value for a checked box, such as Yes. Next to Unchecked, type the value for an empty one, such as No. The unchecked value is optional: leave it out and an unchecked box is simply a blank cell, as Google's Sheets API reference spells out.
- Click Save.
| Use case | Checked | Unchecked |
|---|---|---|
| Yes/No answers | Yes | No |
| Task status | Done | To do |
| Scores you can add up | 1 | 0 |
| Attendance | Present | Absent |
Custom values change your formulas. Once the boxes hold Yes and No, =COUNTIF(B2:B20,TRUE) returns 0. Count the value itself instead: =COUNTIF(B2:B20,"Yes"). And if you leave Unchecked blank, an empty box is an empty cell, so COUNTA no longer counts it.
Count Checked Boxes and Use Them in Formulas
A checkbox holds a real value, so formulas can read it. Google says checkboxes also work with charts, filters and pivot tables. These examples assume checkboxes in B2:B20 and amounts in C2:C20.
Count checked boxes
=COUNTIF(B2:B20,TRUE)Count empty boxes
=COUNTIF(B2:B20,FALSE)Add up the amounts on checked rows
=SUMIF(B2:B20,TRUE,C2:C20)Show a status next to each box
=IF(B2,"Done","To do")Share of boxes checked
=COUNTIF(B2:B20,TRUE)/COUNTA(B2:B20)Format the share as a percentage with Format > Number > Percent. Multiplying by 100 and gluing on a "%" sign turns the result into text, and a chart can't use text.
To see only the unchecked rows, click Data > Create a filter, open the filter menu on the checkbox column and filter by values, keeping only FALSE.
Strike Through or Color a Row When It's Checked
- Select the rows to format, for example A2:C20 with tasks in A and checkboxes in B.
- Click Format > Conditional formatting.
- Under Format cells if, choose Custom formula is.
- Enter
=$B2=TRUE. - Under Formatting style, click the strikethrough button and pick a gray text color, or choose a fill color instead.
- Click Done.
The dollar sign before B keeps every cell in the row looking at the checkbox column. Leave it out and only the checkbox column changes. With custom values, test for the text: =$B2="Yes". Google's conditional formatting help uses the same pattern to color whole rows.
Checkboxes on Android, iPhone and iPad
Android
On Android, you add checkboxes through data validation (Google's Android steps):
- Open the spreadsheet in the Google Sheets app.
- Select the cells that need checkboxes.
- At the top right, tap More, then Data validation.
- Under Criteria, tap Checkbox.
iPhone and iPad
The iPhone and iPad app can't add checkboxes. Google's iPhone and iPad help says to add them on a computer, and after that you can check and uncheck them from your iPhone or iPad.
Remove Checkboxes
Select the cells with checkboxes and press Delete. That's the removal method Google gives.
For checkboxes with custom values, you can also remove the rule itself: click Data > Data validation, click the checkbox rule and click Remove Rule. It's the same panel Google's data validation help describes for dropdowns.
Build a To-Do List with a Progress Bar
Put the pieces together and you get a checklist that crosses tasks off and shows how far along you are.
- Type Task in A1 and Done in B1, then list your tasks from A2 down.
- Select B2:B20 and click Insert > Checkbox.
- Select A2:B20 and add the strikethrough rule from the section above,
=$B2=TRUE. - In D1, add a progress bar:
=SPARKLINE(COUNTIF(B2:B20,TRUE)/COUNTA(A2:A20),{"charttype","bar";"max",1})The bar fills as you check tasks off. The "max",1 option tells SPARKLINE that 1, or 100%, is a full bar, as Google's SPARKLINE help describes for bar charts. Dividing by COUNTA(A2:A20) counts tasks rather than boxes. With custom values, count the checked value in the top part instead, for example COUNTIF(B2:B20,"Yes"), and keep dividing by the task column.
Troubleshooting
There's no Checkbox in the Insert menu
On a computer, check the menu language: British English says Tick box. In the apps, Android adds checkboxes through More > Data validation, and the iPhone and iPad app can't add them at all. If every option is grayed out, you can probably only view or comment on the file, so ask the owner for edit access.
COUNTIF returns 0 even though boxes are checked
The boxes use custom values. Count the value you set, for example =COUNTIF(B2:B20,"Yes").
The progress shows 100% too early
This happens with custom values when Unchecked is left blank and you divide by the checkbox column, as in COUNTIF(B2:B20,"Yes")/COUNTA(B2:B20). Empty boxes are empty cells, so COUNTA(B2:B20) only counts the checked ones and the share hits 100% as soon as anything is checked. Divide by COUNTA(A2:A20), the task column, instead.
Only the checkbox column changes color
The rule is missing the dollar sign. Write =$B2=TRUE with the $ in front of B, and make sure the range covers every column you want formatted.
The wrong rows get crossed out
The row number in the formula has to match the first row of the range. A range that starts at row 2 needs =$B2=TRUE, and one that starts at row 5 needs $B5.
Frequently Asked Questions
How do I insert a checkbox in Google Sheets?
Select the cells, then click Insert > Checkbox. Each selected cell gets a checkbox that you can click, or check with the Space key.
What value does a checkbox have in Google Sheets?
TRUE when it is checked and FALSE when it is not, unless you set custom values such as Yes and No through Data > Data validation.
How do I count checked boxes in Google Sheets?
=COUNTIF(B2:B20,TRUE) counts the checked boxes in B2:B20. If the boxes use custom values, count the value instead, for example =COUNTIF(B2:B20,"Yes").
Can I add checkboxes in the Google Sheets app?
On Android, yes: select the cells, tap More > Data validation, then tap Checkbox under Criteria. On an iPhone or iPad you can check and uncheck boxes, but you have to add them on a computer.
How do I check a box with the keyboard?
Select the cell with the checkbox and press Space. Press it again to uncheck the box.
How do I remove a checkbox in Google Sheets?
Select the cells with checkboxes and press Delete.
How do I cross out a row when its box is checked?
Select the rows, open Format > Conditional formatting, choose Custom formula is and enter =$B2=TRUE, where B is the checkbox column. Then turn on strikethrough under Formatting style.
What is a tick box in Google Sheets?
It is the British English name for a checkbox. With Sheets in English (UK), the menu reads Insert > Tick box and the custom value fields are called Ticked and Unticked.
Show your team how, instead of telling them
Setting up a tracker your team will use? Record the walkthrough once with Deckoholic's Chrome extension. It cuts the ums and pauses, adds zooms and captions, and exports an MP4 or a step-by-step help doc.
Try Deckoholic Free