Checkboxes (also known as tick boxes) in Google Sheets turn static spreadsheets into interactive tools. They are ideal for creating to-do lists, tracking project milestones, managing attendance, or controlling conditional formatting and complex formulas. Unlike simply typing “Yes” or “No” in a cell, a checkbox provides a visual, clickable interface that toggles a data value between TRUE and FALSE.
This guide explains how to insert checkboxes, how they work under the surface, and how to use them with formulas and formatting to automate your spreadsheet.
How to Insert Checkboxes
Adding a checkbox to a cell takes just a few clicks:
- Open your Google Sheet.
- Select the cell or range of cells where you want the checkboxes to appear. (You can click and drag to select an entire column).
- In the top menu, click Insert.
- Select Checkbox from the dropdown menu.
Checkboxes will appear in all selected cells. You can click them directly, or use the Spacebar to check and uncheck them when a cell is highlighted.
Understanding How Checkboxes Store Data
While a checkbox looks like a graphical element, Google Sheets treats it as a boolean data value:
- An unchecked box has a value of
FALSE. - A checked box has a value of
TRUE.
If you select a cell containing a checkbox and look at the formula bar at the top of the screen, you will see the word TRUE or FALSE depending on its state. This is crucial because it means you can reference these cells in formulas exactly as you would any other data.
Using Custom Values for Checkboxes
If you prefer your checkboxes to output different data (for example, “Completed” instead of TRUE, and “Pending” instead of FALSE), you can apply custom data validation.
- Select the cells containing the checkboxes.
- Click Data in the top menu, then select Data validation.
- In the Data validation rules panel on the right, ensure the Criteria is set to Checkbox.
- Click the option for Use custom cell values.
- Enter your desired text for “Checked” (e.g., “Paid”) and “Unchecked” (e.g., “Unpaid”).
- Click Done.
Now, when you check the box, the visual remains the same, but formulas referencing that cell will see the word “Paid” instead of TRUE.
Using Checkboxes with Formulas
Because checkboxes equal TRUE or FALSE, they work perfectly with logical functions like IF, COUNTIF, and SUMIF.
Example 1: The IF Function
You can make another cell display a specific message based on whether a box is checked. Assume your checkbox is in A1:
=IF(A1, "Task Complete!", "Still Working")
Note: You do not need to write A1=TRUE. Because A1 is already a boolean value, simply writing A1 is sufficient.
Example 2: Counting Checked Boxes
To count how many tasks on your list have been completed, use the COUNTIF function. Assume your checkboxes are in the range A1:A10:
=COUNTIF(A1:A10, TRUE)
Example 3: Summing Values Based on Checkboxes
If Column A contains checkboxes and Column B contains monetary values (e.g., expenses), you can calculate the total of only the checked items using SUMIF:
=SUMIF(A1:A10, TRUE, B1:B10)
Using Checkboxes with Conditional Formatting
One of the most popular uses for checkboxes is crossing out text in an adjacent cell when the box is checked — perfect for a to-do list.
Assume your checkboxes are in Column A (starting at A2) and your task descriptions are in Column B (starting at B2).
- Select the range containing your tasks (e.g.,
B2:B20). - Click Format in the top menu, then Conditional formatting.
- In the panel on the right, under “Format rules”, change the dropdown to Custom formula is.
- Enter the following formula:
=$A2=TRUE(The dollar sign ensures it always looks at Column A). - Under “Formatting style”, choose the Strikethrough icon (the S with a line through it) and optionally change the text colour to grey.
- Click Done.
Now, whenever you click the checkbox in Column A, the corresponding text in Column B will be crossed out automatically.
How to Delete Checkboxes
To remove a checkbox, you cannot simply use the Backspace key. Pressing Backspace or Delete clears the value (toggling it to FALSE or empty), but the checkbox graphic remains.
To completely remove a checkbox:
- Select the cell containing the checkbox.
- Press the Delete key on your keyboard. Alternatively, click Edit > Delete > Values.
- If the checkbox refuses to disappear, it may be enforced by data validation. Select the cell, go to Data > Data validation, and click Remove rule.
Checkboxes bridge the gap between data entry and user interface in Google Sheets. By treating them not just as visual indicators, but as active data points connected to formulas and conditional formatting, you can build highly interactive and automated spreadsheets with minimal effort.