CoreGPT
Microsoft 3659 min read

How to Insert a Checkbox in Excel (and Count the Checked Boxes)

Add checkboxes to cells with Insert → Checkbox in Microsoft 365, or with Developer → Form Controls in older Excel, then count ticked boxes, show progress, cross out finished rows and delete checkboxes you no longer need.

How to Insert a Checkbox in Excel (and Count the Checked Boxes)

To insert (or add) a checkbox in Excel, select the cells where you want the boxes and go to Insert → Checkbox (in the Cell Controls group). Each selected cell gets its own checkbox, and the cell's value becomes TRUE when it's ticked and FALSE when it's not, so formulas can count and react to them right away.

The catch: the Checkbox button is only in Excel for Microsoft 365 (Windows, Mac, web and mobile). If you have a one-time-purchase version such as Excel 2021 or 2019, use the older Developer → Insert → Form Controls → Check Box method described below. It takes a few more clicks per box, but it works in every desktop version.

MethodWhere it worksWhere the TRUE/FALSE value livesBest for
Insert → Checkbox (cell checkbox)Excel for Microsoft 365: Windows, Mac, web, mobileIn the cell itselfTask lists, trackers, almost everything
Developer → Form Controls → Check BoxAll desktop versions, including 2021, 2019 and 2016In a linked cell you chooseOlder Excel, boxes with a text label
Insert → Checkbox in Google SheetsGoogle SheetsIn the cell itselfShared lists in Sheets

How to add a checkbox in Excel for Microsoft 365

This is the quickest way, and the boxes behave like normal cells: you can copy, sort and filter them.

  1. Select the cells that should get checkboxes, for example C2:C7 next to a list of tasks. Empty cells work best.
  2. Go to the Insert tab.
  3. In the Cell Controls group, click Checkbox.

Excel Insert tab with the Checkbox button in the Cell Controls group highlighted, and cells C2 to C7 under the Done column selected and showing empty checkboxes

Every selected cell now shows an unticked box. In Excel for Mac and Excel for the web the button is in the same place: Insert → Checkbox.

Working with the boxes:

  • Tick or untick: click the box, or select one or more checkbox cells and press Space.
  • See the value: select a checkbox cell and look at the formula bar. It shows TRUE or FALSE.
  • Set many at once: type TRUE or FALSE into a checkbox cell, or paste those values. The box updates to match.
  • Change the color or size: the box follows the cell's font, so Home → Font Color and Font Size change it.
  • Copy more boxes: drag the fill handle down from a checkbox cell, or copy and paste it like any other cell.

You can also apply the checkbox to a cell that contains a formula returning TRUE or FALSE, such as =B2>=100. The box then ticks itself when the condition is met, but nobody can click it.

Insert a checkbox in older Excel (Developer tab method)

In Excel 2021, 2019, 2016 and earlier, checkboxes are Form Controls: small objects that float on top of the sheet. They don't store anything until you link each one to a cell.

Turn on the Developer tab first:

  • Windows: File → Options → Customize Ribbon, tick Developer in the right-hand list, and click OK.
  • Mac: Excel → Preferences (or Settings) → Ribbon & Toolbar, tick Developer under Main Tabs, and click Save.

Add the checkbox:

  1. Go to Developer → Insert, and under Form Controls, click Check Box (the first set of icons, not ActiveX). On a Mac, click Check Box directly on the Developer tab.
  2. Click in the cell where you want it, for example C2. Excel drops in a box labeled "Check Box 1".
  3. To change the label, right-click the checkbox, choose Edit Text, and type a new one or delete it. Click any cell to finish.

Link it to a cell so formulas can read it:

  1. Right-click the checkbox and choose Format Control.
  2. Open the Control tab.
  3. In Cell link, type the cell that should hold the value, such as $C$2, or click that cell.
  4. Click OK.

Format Control dialog in Excel on the Control tab, with the Cell link box set to $C$2 and the OK button

Now ticking the box writes TRUE to C2 and unticking it writes FALSE. Linking the box to the cell underneath it keeps everything in one column. To hide the TRUE/FALSE text behind the box, select the cells, press Ctrl+1 (Cmd+1 on a Mac), choose Custom and enter ;;; as the format.

Copy it down for more rows: select the cell with the checkbox and drag the fill handle down. The copies keep the original link, so every box still points to $C$2. Open Format Control on each copy and change its Cell link to its own row (C3, C4 and so on). This is the main reason the cell checkbox above is so much faster.

Count checked boxes and show progress

Both kinds of checkbox produce TRUE and FALSE, so the same formulas work for either. With checkboxes in C2:C7:

  • Number of ticked boxes: =COUNTIF(C2:C7,TRUE)
  • Number still open: =COUNTIF(C2:C7,FALSE)
  • Progress as a percentage: =COUNTIF(C2:C7,TRUE)/ROWS(C2:C7), then click Home → Percent Style. With three of six boxes ticked it shows 50%.
  • A readable summary: =COUNTIF(C2:C7,TRUE)&" of "&ROWS(C2:C7)&" done" returns "3 of 6 done".
  • Everything finished? =AND(C2:C7) returns TRUE only when every box is ticked.

Type TRUE without quotes. ROWS counts the rows in the range, so the total stays right if you add a task inside it. You can also use the value in other formulas, for example =IF(C2,"Done","Open").

Gray out or strike through finished rows

Pair checkboxes with conditional formatting and a row fades out the moment you tick it.

  1. Select the task rows without the header, for example A2:B7 (leave the checkbox column out so the boxes stay easy to see).
  2. Go to Home → Conditional Formatting → New Rule.
  3. Choose Use a formula to determine which cells to format and enter =$C2=TRUE.
  4. Click Format, open the Font tab, tick Strikethrough and pick a gray color.
  5. Click OK twice.

The $ before C keeps every cell in the row looking at its own checkbox. For more formula rules see the guide to conditional formatting in Excel, and for other ways to cross out text, how to strikethrough in Excel.

How to delete checkboxes in Excel

Cell checkboxes: select the cells and press Delete. If all the boxes are unticked they disappear; if some are ticked, the first press unticks them and the second removes them. To remove the boxes but keep the TRUE/FALSE values, use Home → Clear → Clear Formats instead (this clears all other cell formatting too).

Form control checkboxes: pressing Delete on the cell doesn't remove them, because they sit on top of the sheet. Instead:

  • One box: Ctrl+click it (Cmd+click on a Mac) to select it without ticking it, then press Delete.
  • Several boxes: Ctrl+click each one, then press Delete.
  • All of them: go to Home → Find & Select → Go To Special, choose Objects, click OK, and press Delete. This selects every object on the sheet, including shapes, pictures and charts, so check the selection first.

Add a checkbox in Google Sheets

In Google Sheets, select the cells and choose Insert → Checkbox. Ticked boxes are TRUE and unticked boxes are FALSE, so =COUNTIF(C2:C7,TRUE) works there too. To use other values, such as "Yes" and "No", select the cells, open Data → Data validation, edit the checkbox rule, and turn on Use custom cell values. Press Space to toggle and Delete to remove them.

Why checkboxes aren't working

There's no Checkbox button on the Insert tab. Your Excel doesn't include the cell checkbox. It's part of Excel for Microsoft 365, so check File → Account for updates. One-time-purchase versions such as Excel 2021 or 2019 don't get it; use the Developer tab method instead. Files with cell checkboxes opened in those versions show TRUE and FALSE instead of boxes.

Some selected cells didn't get a box. Cell checkboxes are meant for empty cells or cells holding TRUE or FALSE. Clear any text or numbers from those cells and insert the checkboxes again.

Form control checkboxes move, resize or pile up when you sort or filter. They float above the grid. Right-click a box, choose Format Control → Properties, and pick Move and size with cells (or Move but don't size with cells). If you sort often, switch to cell checkboxes, which move with their row.

COUNTIF returns 0. The linked cells are probably empty: form controls write TRUE or FALSE only after you set a Cell link, and copied boxes all point to the same cell. Check each box's Format Control → Control tab. Also make sure you wrote TRUE without quotes and that the range covers the checkbox column.

Clicking a box selects it instead of ticking it. A form control is in edit mode, usually after you right-clicked it. Click any cell, then click the box again.

Frequently Asked Questions

How do I add a checkbox in Excel without the Developer tab? In Excel for Microsoft 365, select the cells and choose Insert → Checkbox. No Developer tab needed. In older versions the Developer tab is the only built-in way.

How do I insert multiple checkboxes at once? Select the whole range, such as C2:C50, before you click Insert → Checkbox, and every cell gets one. With form controls, copy one box down and then update each copy's cell link.

How do I check all checkboxes at once? Select the checkbox cells and press Space, or type TRUE in one cell and fill it down. To untick them, type FALSE and fill down.

What value does a checkbox return in Excel? TRUE when checked and FALSE when unchecked. Cell checkboxes store it in their own cell; form controls write it to the linked cell.

How do I count checked boxes in Excel? Use =COUNTIF(C2:C7,TRUE) with your own range. For a percentage, divide it by ROWS(C2:C7).

Can I make a checkbox bigger? For cell checkboxes, increase the font size of the cell. For form controls, drag the sizing handles: that resizes the frame and label, but the square itself stays the same size.

Turn a checklist into a working tracker

Checkboxes are simple to add, but the formulas around them (counts, percentages, "all done" flags, conditional formatting rules) are where most of the time goes. CoreGPT for Excel lets you describe what you want, like "show how many tasks in column C are done out of the total", and writes the formula into your sheet for you to check. It's free to start and works in Excel for Windows, Mac and the web.

Try it: CoreGPT for Excel

Related reading:

Free AI tools

Keep reading