How to Add a Checkbox in Google Sheets
Need to create interactive checklists, track task completion, or add yes/no options to your spreadsheet? This guide shows you how to insert checkboxes in Google Sheets, customize their values, and use them with formulas and conditional formatting.
Quick Answer
To add a checkbox in Google Sheets: Select the cells, then click Insert > Checkbox. The checkbox appears immediately and can be toggled by clicking.
Checked = TRUE, Unchecked = FALSE. Use Data Validation for custom values like "Yes"/"No".
Method 2: Data Validation (More Control)
Using Data Validation to add checkboxes gives you more options, including the ability to set custom values for checked and unchecked states.
Steps
- Select the cells where you want checkboxes.
- Click Data in the menu bar.
- Click Data validation.
- In the sidebar that opens, click Add rule.
- Under Criteria, select Checkbox.
- Click Done to add the checkbox.
Menu Path
Data > Data validation > Add rule > CheckboxCustom Checkbox Values
By default, checkboxes use TRUE (checked) and FALSE (unchecked). But you can customize these values to anything you want, like "Yes"/"No", "Complete"/"Pending", or even numbers.
How to Set Custom Values
- Select the cells with checkboxes (or where you want to add them).
- Go to Data > Data validation.
- Under Criteria, select Checkbox.
- Check the box for "Use custom cell values".
- Enter your Checked value (e.g., "Yes", "Done", or 1).
- Enter your Unchecked value (e.g., "No", "Pending", or 0).
- Click Done.
| Use Case | Checked Value | Unchecked Value |
|---|---|---|
| Yes/No responses | Yes | No |
| Task status | Complete | Pending |
| Numeric values | 1 | 0 |
| Attendance | Present | Absent |
Use Checkboxes with Formulas
Since checkboxes have values (TRUE/FALSE or your custom values), you can use them in formulas to create dynamic spreadsheets.
Common Formula Examples
IF Statement: Show status based on checkbox
=IF(B2, "Done", "Not Done")COUNTIF: Count checked boxes
=COUNTIF(B2:B20, TRUE)SUMIF: Sum values where checkbox is checked
=SUMIF(B2:B20, TRUE, C2:C20)Progress percentage: Calculate completion rate
=COUNTIF(B2:B20, TRUE) / COUNTA(B2:B20) * 100 & "%"Practical Example: Shopping List Total
Imagine you have a shopping list with items in column A, prices in column B, and checkboxes in column C to mark items you have purchased:
Sum only checked items
=SUMIF(C2:C20, TRUE, B2:B20)This formula adds up the prices of only the items you have checked off.
Conditional Formatting with Checkboxes
Make your checklists more visual by automatically applying formatting when a checkbox is checked. For example, strikethrough completed tasks or change the row color.
Strikethrough Completed Tasks
- Select the range you want to format (e.g., A2:B20, including your task names and checkboxes).
- Go to Format > Conditional formatting.
- Under "Format cells if", select Custom formula is.
- Enter the formula:
=$B2=TRUE(where B is your checkbox column). - Click Formatting style and enable Strikethrough.
- Optionally, change the text color to gray.
- Click Done.
Change Row Color When Checked
- Follow the same steps above.
- Instead of strikethrough, choose a Fill color (e.g., light green for completed items).
Tip: The $ before the column letter (e.g., $B2) keeps the column fixed while allowing the row to change. This ensures the formatting applies correctly to each row.
Add Checkboxes on Mobile (iOS & Android)
You can add checkboxes using the Google Sheets mobile app, though the process is slightly different from desktop.
Steps for Mobile
- Open your spreadsheet in the Google Sheets app.
- Select the cells where you want checkboxes.
- Tap the three dots (More) at the top right.
- Tap Data validation.
- Under Criteria, tap Checkbox.
- Tap Save.
Note: The Insert > Checkbox option is not available on mobile. You must use Data Validation to add checkboxes in the mobile app.
Remove Checkboxes
There are two ways to remove checkboxes from Google Sheets, depending on what you want to achieve.
Method 1: Delete Key
- Select the cells with checkboxes.
- Press Delete or Backspace.
This removes the checkbox and its value but keeps the data validation rule. If you type in the cell, it will only accept TRUE, FALSE, or your custom values.
Method 2: Remove Data Validation
- Select the cells with checkboxes.
- Go to Data > Data validation.
- Click Remove rule next to the checkbox rule.
This completely removes the checkbox and the validation rule, allowing any value in the cell.
Create a To-Do List with Checkboxes
Here is how to build a practical to-do list in Google Sheets with checkboxes, conditional formatting, and a progress tracker.
Step 1: Set Up Your List
- In column A, add your task names (e.g., "Send email", "Review document").
- In column B, add checkboxes using Insert > Checkbox.
- Add a header row with "Task" in A1 and "Done" in B1.
Step 2: Add Strikethrough Formatting
- Select your task list range (e.g., A2:B10).
- Go to Format > Conditional formatting.
- Set the formula to
=$B2=TRUE - Choose Strikethrough and a gray text color.
- Click Done.
Step 3: Add a Progress Tracker
In an empty cell, add this formula to show your completion percentage:
=ROUND(COUNTIF(B2:B10, TRUE) / COUNTA(B2:B10) * 100) & "% Complete"Troubleshooting
Checkbox Not Appearing?
- Check cell format: If the cell was formatted as text, clear formatting first (Format > Clear formatting).
- Merged cells: Checkboxes do not work in merged cells. Unmerge first.
- Refresh: Try refreshing the page if checkboxes are not displaying correctly.
Checkbox Shows Text Instead of Box?
- The cell might display the value (TRUE/FALSE) instead of the checkbox visual.
- Reapply data validation: Data > Data validation > Checkbox.
Conditional Formatting Not Working?
- Make sure your formula references the correct column with the $ symbol (e.g.,
=$B2=TRUE). - Check that the range in your conditional formatting rule includes all the rows you want to format.
Frequently Asked Questions
How do I insert a checkbox in Google Sheets?
Select the cells where you want checkboxes, then click Insert > Checkbox. The checkbox appears immediately and can be toggled by clicking.
What value does a checkbox have in Google Sheets?
By default, a checked checkbox has the value TRUE and an unchecked checkbox has the value FALSE. You can set custom values like "Yes"/"No" using Data Validation.
How do I use a checkbox in a formula?
Reference the checkbox cell in your formula. For example, =IF(A1, "Complete", "Pending") shows "Complete" when checked and "Pending" when unchecked.
How do I remove a checkbox in Google Sheets?
Select the cells with checkboxes and press Delete or Backspace. To fully remove, go to Data > Data validation and click "Remove rule".
Can I add checkboxes on mobile?
Yes, in the Google Sheets mobile app, select cells, tap More (three dots), then Data validation. Choose Checkbox under Criteria and tap Save.
How do I make a strikethrough when checkbox is checked?
Use conditional formatting. Select your data range, go to Format > Conditional formatting, set the formula to =$B1=TRUE (where B is your checkbox column), and choose Strikethrough.
Summary
Adding checkboxes to Google Sheets is simple and opens up many possibilities:
- Insert > Checkbox is the fastest way to add checkboxes.
- Data Validation gives you custom values like "Yes"/"No".
- Use formulas like COUNTIF and SUMIF to calculate based on checked boxes.
- Conditional formatting can strikethrough or highlight completed items.
Checkboxes are perfect for to-do lists, attendance tracking, inventory management, and any scenario where you need interactive yes/no selections in your spreadsheet.
Create Google Sheets Tutorial Videos
Need to show your team how to use checkboxes and formulas? Deckoholic makes it easy to record screen tutorials with AI voiceover, zoom effects, and professional polish.
Try Deckoholic Free