EXCEL & GOOGLE SHEETS TIPS · LESSON 8
How to Add a Checkbox in Excel and Google Sheets (Checklist That Counts Itself)
A checkbox is a cell that holds TRUE when it is ticked and FALSE when it is not. That one fact turns a plain list into a checklist that counts itself. This lesson adds checkboxes to a real November bill list in Excel and Google Sheets, then counts the ticked bills, totals what is paid and what is left, and crosses out paid rows automatically.
THE SHORT ANSWER
Select the cells, then Insert → Checkbox
In Excel (Microsoft 365, Excel for the web) and Google Sheets, select the cells and choose Insert → Checkbox; a ticked box equals TRUE, an unticked box FALSE. In Excel 2024 or older, use Developer → Insert → Check Box (Form Control).
Select the cells (D2:D11) → Insert tab → Checkbox. Click a box or press Space to tick it. A ticked box is TRUE, an empty one is FALSE.
Select the cells → Insert menu → Checkbox. Same idea: ticked = TRUE, not ticked = FALSE. You can tick boxes in the Sheets phone app; to add them on Android, use Data validation (below).
=COUNTIF(D2:D11, TRUE)How many boxes are ticked. Write TRUE without quotes: it is a logical value, and comparisons like =D2="TRUE" fail.The example continues the budget from the earlier lessons: ten November 2026 bills with a due date, an amount and a Paid checkbox. Six are paid, four are not. Download the example file (Excel; the Paid column holds TRUE/FALSE, so one click on Insert → Checkbox turns it into boxes, in Excel or after opening it in Google Sheets).
EXCEL
How to insert a checkbox in Excel
- Select the cells that should become checkboxes: D2:D11, the Paid column. The cells can be empty or already hold TRUE/FALSE.
- Open the Insert tab and click Checkbox (next to Shapes in Excel for the web; in the Cell Controls group in desktop Microsoft 365).
- Tick the boxes by clicking them, or select a cell and press Space. To remove checkboxes, select them and press Delete: if any box is ticked, Delete unticks them; press Delete again on unticked boxes to remove them. Tip: select several boxes and press Space to tick them all, raise the font size to make the boxes bigger, and change the font color to recolor them.
MAKE IT COUNT
Count ticked boxes and total what is paid
Because each box is TRUE or FALSE, every formula from lesson 5 (COUNTIF) and lesson 4 (SUMIF) works on them directly:
| Cell | Formula | Result |
|---|---|---|
| Bills paid | =COUNTIF(D2:D11, TRUE) | 6 |
| Bills left | =COUNTIF(D2:D11, FALSE) | 4 |
| Paid so far | =SUMIF(D2:D11, TRUE, C2:C11) | $1,707.64 |
| Left to pay | =SUMIF(D2:D11, FALSE, C2:C11) | $556.50 |
| Progress | =COUNTIF(D2:D11, TRUE)/COUNTA(A2:A11) | 60% (60.00% with the default % format) |
=SUMIF(D2:D11,TRUE,C2:C11)/SUM(C2:C11) = 75%. Rent is one bill but most of the money, so the two percentages tell different stories. Format either cell as a percentage (Excel: Home → %; Sheets: the % button on the toolbar).STRIKETHROUGH WHEN CHECKED
Cross out a row when its box is ticked
This is conditional formatting based on another cell (lesson 3): the rule on A2:C11 looks at column D of the same row.
- Select A2:C11 (the bill, date and amount, not the checkbox).
- Excel: Home → Conditional Formatting → New Rule → Use a formula to determine which cells to format. Sheets: Format → Conditional formatting → Custom formula is.
- Type the formula
=$D2=TRUE. The $ locks column D; row 2 moves down with each row. - Pick the format: strikethrough and a grey font (Format → Font in Excel; the S button in Sheets). Click OK / Done.
=$D2=TRUE, format = grey strikethrough.=AND($D2=FALSE, $B2<TODAY()) and a red fill. An unpaid bill whose due date has passed turns red; ticking its box clears the red.GOOGLE SHEETS
How to add a checkbox in Google Sheets
- Select the cells, D2:D11.
- Click Insert → Checkbox. Existing TRUE/FALSE values become ticked and empty boxes.
- Tick with a click or Space. On the Sheets Android app: select the cells → ⋮ (More) → Data validation → Criteria: Checkbox.
=COUNTIF(D2:D11,"Paid"), =SUMIF(D2:D11,"Paid",C2:C11) and the rule =$D2="Paid".OLDER EXCEL
No Checkbox button? Use the Developer tab
One-time-purchase Excel (2024, 2021, 2019 and earlier) doesn't have in-cell checkboxes. They have the older form control check box, which floats on top of the sheet:
- Show the Developer tab: Windows: File → Options → Customize Ribbon → tick Developer. Mac: Excel → Settings (Preferences in older versions) → Ribbon & Toolbar → tick Developer.
- Developer → Insert → Check Box (Form Control) (Mac: Developer → Check Box), then draw it over the cell.
- Link it to a cell: right-click the box → Format Control → Cell link → D2. The linked cell shows TRUE/FALSE, so the formulas above still work. Repeat for every row (copying the box keeps the old link, so re-link each copy).
The in-cell checkbox is far easier: it copies, sorts and filters with the row like any other value. If you can, use Microsoft 365, Excel for the web (free) or Google Sheets.
TROUBLESHOOTING
Checkbox problems and fixes
| What you see | Why | Fix |
|---|---|---|
| No Checkbox on the Insert tab | Excel 2024 or older (non-subscription), or Microsoft 365 not updated. | Update Office, use Excel for the web, or the Developer tab method above. |
| Strikethrough rule never fires | =$D2="TRUE" compares the cell with the text "TRUE"; a ticked box holds the value TRUE. | Write =$D2=TRUE without quotes. With custom values in Sheets, use the custom text in quotes. |
| Some cells show text, not a box | They held text or numbers before you inserted the checkbox. | Clear the cells (or type TRUE/FALSE), then insert the checkbox again. |
| Strikethrough colors the wrong rows | Formula without $ (=D2=TRUE) or written for a different first row. | Use =$D2=TRUE for a range that starts in row 2. |
| Checkbox shows TRUE/FALSE in desktop Excel | That Excel version doesn't support in-cell checkboxes yet, so it shows the stored values. | The values and formulas still work; type TRUE/FALSE, or open the file in Excel for the web. |
| "Bills left" is too low | A removed box leaves an empty cell, which COUNTIF(…, FALSE) doesn't count. | Count unticked rows as =COUNTA(A2:A11)-COUNTIF(D2:D11,TRUE). |
| Can't tick a box | The sheet or range is protected. | Unlock those cells before protecting the sheet (Format Cells → Protection → untick Locked). |
FAQ
Checkbox questions
How do I add a checkbox in Excel?
Select the cells, go to Insert and click Checkbox (Microsoft 365 and Excel for the web). In Excel 2024 or older (non-subscription), use Developer → Insert → Check Box (Form Control) and link it to a cell.
How do I add a checkbox in Google Sheets?
Select the cells and choose Insert → Checkbox. On the Android app, use ⋮ → Data validation → Checkbox; on iPhone you can tick boxes but add them on a computer.
How do I count checked checkboxes?
Use =COUNTIF(D2:D11, TRUE), without quotes around TRUE. Use FALSE to count the unticked boxes.
How do I sum values when a box is checked?
Use =SUMIF(D2:D11, TRUE, C2:C11): it adds column C for every row whose box in column D is ticked.
How do I strike through a row when a checkbox is checked?
Select the row range, add a conditional formatting rule with the custom formula =$D2=TRUE and choose strikethrough as the format.
How do I remove checkboxes?
In Excel select the cells and press Delete: if any box is ticked the first press unticks them, the second removes the checkboxes. In Google Sheets select the cells and press Delete, or use Data → Data validation → Remove rule.