How to Insert a Checkbox in Excel: Two Easy Methods

In supported versions of Excel for Microsoft 365, select the cell or range and choose Insert > Checkbox. These in-cell checkboxes store TRUE or FALSE in the cell, so formulas can use them directly.

If that command is missing, desktop Excel offers a legacy Form Control checkbox. It floats over the grid and can write its state to a linked cell.

Microsoft lists the in-cell feature for Excel for Microsoft 365 and Microsoft 365 for Mac. See Microsoft's checkbox guide for supported steps.

Insert an in-cell checkbox in Excel

Use column A for tasks and column B for checkboxes. The same layout works for attendance, with names in A and a Present column in B.

  1. Set up the worksheet. Enter Task in A1 and Done in B1. Add tasks in A2:A6 and reserve B2:B6 for the boxes, so labels remain readable.
    Excel worksheet with a Task list in column A and an empty Done column in B
    A task list with a separate Done column ready for checkboxes.
  2. Select the checkbox cells. Select B2:B6, leaving out the header. Selecting one cell adds one box; selecting a range adds a box to each selected cell.
    The Done cells B2 through B6 selected as the target range
    Select the full checkbox range before inserting, such as B2:B6.
  3. Insert the boxes. Choose Insert > Checkbox. Excel adds a box to each selected cell. If Checkbox is missing, your build may not include the feature; try the Form Control method below.
    Excel Insert tab with the Checkbox command visible above the worksheet
    The Checkbox command is on Excel's Insert tab.
  4. Check that each cell has a box. Each checkbox belongs to its cell rather than floating above the grid. Checked cells evaluate to TRUE, and unchecked cells to FALSE; formulas can read either value.
    Five unchecked in-cell checkboxes aligned in the Done column
    Each selected cell in the Done column contains its own checkbox.
  5. Mark items complete. Click a box to toggle it, or select one or more checkbox cells and press the Spacebar to change them from the keyboard.
    Task list with checked and unchecked boxes in the Done column
    Checked and unchecked boxes remain aligned within the same column.
  6. Count completed or remaining items. To count checked boxes, enter =COUNTIF(B2:B6,TRUE). Use =COUNTIF(B2:B6,FALSE) for unchecked boxes. The totals update when a box is toggled. If your regional settings use semicolons, replace the formula commas with semicolons.
    Excel summary formula counts three TRUE checkbox values in B2 through B6
    COUNTIF returns 3 for the three checked tasks in this example.

To turn a checkbox into text, use =IF(B2=TRUE,"Present","Absent") and fill the formula down. See Microsoft's COUNTIF reference for the function syntax.

Use a Developer Form Control checkbox

Use Form Controls in desktop Excel when the in-cell command is unavailable or you need a floating object. These steps describe Windows; menus can vary by release. Microsoft lists Form Controls for Microsoft 365, Excel 2024, 2021, 2019, and 2016.

  1. Show the Developer tab. Choose File > Options > Customize Ribbon, check Developer under Main Tabs, and select OK. This enables the tab for the installation.
    Excel Options dialog with Developer checked under Customize Ribbon
    Enable Developer in the Customize Ribbon list.
  2. Choose the checkbox control. Open Developer > Insert, choose the checkbox under Form Controls, then click the worksheet to place it.
    Developer Insert menu showing the Check Box Form Control option
    Choose Check Box under Form Controls.
  3. Edit its label and placement. This checkbox is a floating object, not part of a cell. Edit or remove its default label and position it in the row. Microsoft says Form Controls are added one at a time, though you can copy a control to speed up a long list.
    Selected floating Form Control checkbox with its default Check Box 1 label
    A Form Control checkbox floats over the worksheet grid and includes a label.
  4. Link the control to a cell. Right-click the checkbox and choose Format Control. On Control, enter $H$2 in Cell link and select OK. The linked cell exposes the checkbox state to formulas.
    Format Control dialog on the Control tab with Cell link set to dollar H dollar 2
    Set a cell link such as H2 on the Control tab.
  5. Use the linked value. Use =IF(H2=TRUE,"Present","Absent") in a status cell. A checked control returns Present; a cleared one returns Absent. For multiple rows, link each control to its own cell, such as H2:H6, and reference the matching row.
    Checked Form Control checkbox linked to cell H2, which displays TRUE
    The linked H2 cell shows TRUE while the Form Control is checked.
  6. Summarize the list. Count checked controls with =COUNTIF(H2:H6,TRUE). After copying a control, confirm its Cell link points to the right row. See Microsoft's Developer tab guide and Form Controls guide.
    Excel attendance sheet with linked checkbox states, Present and Absent results, and a count of three present rows
    An IF formula displays each status, and COUNTIF totals the checked rows.

Which method should you choose?

Use in-cell checkboxes for simple trackers: their TRUE/FALSE values are already in the cells. Use Form Controls for a floating object or older desktop version. Form Controls cannot be used in Excel for the web; Microsoft warns that continuing to edit a workbook in the browser after an unsupported-features prompt can remove them. Open it in desktop Excel to preserve the controls.

Leave a Comment

MS OFFICE