ExcelReady
CourseMock testsFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before day one. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Mock tests
  • Function guides
  • Blog

Test prep

  • Excel level test
  • Excel test practice
  • Free screening quiz
  • Certificate

Company

  • About
  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Productivity
  3. How to Add Checkboxes in Excel and Count Them

How to Add Checkboxes in Excel and Count Them

By ExcelReady Team·Updated November 1, 2026·6 min read

The short answer

To add a checkbox in Excel for Microsoft 365, select the cells and choose Insert > Checkbox. Each box stores TRUE when ticked and FALSE when not. Count the ticked ones with =COUNTIF(C2:C7,TRUE). In older versions, use Developer > Insert > Check Box and link each box to a cell, then count the linked cells the same way.

Key takeaways

  • In Microsoft 365, Insert > Checkbox puts a checkbox inside each selected cell.
  • A ticked box is TRUE and an unticked box is FALSE, so formulas can read it like any value.
  • =COUNTIF(C2:C7,TRUE) counts ticked boxes; divide by the number of tasks for percent complete.
  • Older Excel uses Form Control check boxes, which need a linked cell before formulas can see them.
On this page+
  1. How to add a checkbox in Excel (Microsoft 365)
  2. How to add a checkbox in older versions of Excel
  3. How to count checked boxes with COUNTIF
  4. How to show percent complete
  5. Use checkbox values in IF and other formulas
  6. How to color or strike through finished rows
  7. Common checkbox problems
  8. Practise it

A checkbox in Excel turns a cell into a tick box you can click on and off. Behind the box, the cell holds TRUE or FALSE, so you can count ticked boxes with COUNTIF and show how much of a list is done. This guide covers both ways to add checkboxes, for Microsoft 365 and for older versions, and how to count them, total them and color finished rows.

How to add a checkbox in Excel (Microsoft 365)#

In Excel for Microsoft 365 and Excel for the web, checkboxes live inside cells. They behave like normal values: you can copy them, fill them down and sort by them.

  1. Select the cells that should get a box, for example C2:C7.
  2. Choose Insert > Checkbox.
  3. Click a box to tick it, or select the cell and press Space.

Each ticked box stores TRUE and each unticked box stores FALSE. Click a cell and look at the formula bar to see the value. If the cells already held TRUE or FALSE, the boxes pick those values up. Empty cells start as FALSE.

To add more boxes later, select a cell with a checkbox and fill down with Ctrl+D (Mac: ⌘D), or copy and paste it. Excel 2021, Excel 2019 and earlier don't have this button. Use the Developer tab method below instead.

How to add a checkbox in older versions of Excel#

Older desktop versions use Form Control check boxes. These float on top of the sheet rather than sitting in a cell, and they need a linked cell before formulas can read them.

Turn on the Developer tab#

  • Windows: File > Options > Customize Ribbon, tick Developer, click OK.
  • Mac: Excel > Preferences (or Settings) > Ribbon & Toolbar, tick Developer, click Save.

Draw and link a check box#

  1. Choose Developer > Insert > Check Box (Form Control).
  2. Click and drag on the sheet to draw it. Edit or delete the label text.
  3. Right-click the box and choose Format Control.
  4. On the Control tab, click in Cell link, click the cell next to it (for example C2), and click OK.

The linked cell now shows TRUE or FALSE as you tick and untick. Without a cell link, the box is only a picture: formulas can't see it. For many rows, set up one box, copy it down, and update each cell link. That is slow, which is the main reason the newer in-cell checkboxes are easier.

How to count checked boxes with COUNTIF#

Use COUNTIF with TRUE as the criteria to count ticked boxes. Here is an event task list:

ABC
1TaskOwnerDone
2Book venueLenaTRUE
3Send invitesOmarTRUE
4Order foodLenaFALSE
5Print badgesPriyaTRUE
6Test projectorOmarFALSE
7Confirm speakersPriyaTRUE

To count finished tasks:

Excel formula
=COUNTIF(C2:C7,TRUE)

The result is 4. Write TRUE without quotes. It is a logical value, not the text "TRUE". To count the tasks still open, use FALSE:

Excel formula
=COUNTIF(C2:C7,FALSE)

That returns 2. The COUNTIF function guide lists the full syntax, and how to use COUNTIF shows more types of criteria.

How to show percent complete#

Divide the ticked boxes by the number of tasks. COUNTA counts the filled task names:

Excel formula
=COUNTIF(C2:C7,TRUE)/COUNTA(A2:A7)

The result is 0.666.... Format the cell as a percentage with Ctrl+Shift+% (Mac: Control+Shift+%) and it shows 67%. Using COUNTA on the task column means the total updates when you add a task.

To count one person's finished tasks, add a second condition with COUNTIFS:

Excel formula
=COUNTIFS(B2:B7,"Priya",C2:C7,TRUE)

Priya has 2 ticked tasks. The comparison of COUNTIF vs COUNTIFS explains when you need the second function.

Use checkbox values in IF and other formulas#

Because a checkbox is TRUE or FALSE, you can use it anywhere Excel expects a test. A test is any expression that gives TRUE or FALSE, like B2>100.

To show a status label:

Excel formula
=IF(C2,"Done","Open")

IF(C2, ...) is the same as IF(C2=TRUE, ...). If C2 is ticked, the result is "Done".

To add up only the costs of ticked items, use SUMIF with TRUE as the condition. If D2:D7 holds costs:

Excel formula
=SUMIF(C2:C7,TRUE,D2:D7)

This adds the costs on ticked rows only. It's useful for a packing list, a shopping list or an expense claim where you tick what's approved. You can learn how TRUE and FALSE work in the lesson on TRUE, FALSE and comparisons.

How to color or strike through finished rows#

Conditional formatting can grey out or strike through a row when its box is ticked.

  1. Select the rows, for example A2:C7.
  2. Choose Home > Conditional Formatting > New Rule.
  3. Pick Use a formula to determine which cells to format.
  4. Type =$C2=TRUE.
  5. Click Format, tick Strikethrough and choose a grey font. Click OK twice.

The $ before C keeps every cell in the row looking at the checkbox in column C. Tick a box and the whole row is crossed out.

Common checkbox problems#

Most checkbox problems come from the value behind the box, not the box itself.

  • COUNTIF returns 0. You typed "TRUE" in quotes and the cells hold logical values, or a Form Control box has no cell link. Remove the quotes, or set the link.
  • Delete doesn't remove the box. For in-cell checkboxes, the first press of Delete unticks a ticked box. Press it again to remove the checkbox.
  • Boxes don't move with sorting. Form Control boxes float above the cells and can end up on the wrong row after a sort. In-cell checkboxes move with their rows.
  • Typing over a box. If you type text into a checkbox cell, the box shows nothing useful. Keep checkbox columns for TRUE and FALSE only.

Checkboxes also work well for daily logs. The attendance tracker in Excel uses codes, but you could use one checkbox per day instead and count TRUE values the same way.

Practise it#

Try the exercise on this page: count the ticked tasks with COUNTIF and TRUE. Then practise COUNTIF in a live spreadsheet, where you count text, numbers and conditions, and practise TRUE, FALSE and comparisons to see how logical values work inside formulas.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

Column C holds checkboxes: TRUE means ticked. In G2, count how many tasks are done with COUNTIF on C2:C7, then press Enter.

fx
ABCDEFGH
1
Task
Owner
Done
2
Book venue
Lena
TRUE
Tasks done
3
Send invites
Omar
TRUE
4
Order food
Lena
FALSE
5
Print badges
Priya
TRUE
6
Test projector
Omar
FALSE
7
Confirm speakers
Priya
TRUE
8
9
10

Tip: Use the Done column as the range and TRUE (without quotes) as the criteria.

Practise this in a lesson

LessonCOUNTIFCount the cells that match a condition, from exact words to number checks like ">=8".LessonTRUE, FALSE and comparisonsAsk Excel yes-or-no questions with =, <>, >, <, >= and <=, and get TRUE or FALSE back. The building block of every IF.Function guideCOUNTIFCount cells that match one condition with COUNTIF: text, numbers, wildcards and cell references. Real examples and a live exercise.

Frequently asked questions

How do I insert a checkbox in Excel?

+

In Excel for Microsoft 365 or Excel for the web, select the cells and choose Insert > Checkbox. In older desktop versions, turn on the Developer tab, then choose Developer > Insert > Check Box (Form Control) and draw it on the sheet.

How do I count checked boxes in Excel?

+

Use COUNTIF with TRUE as the criteria: =COUNTIF(C2:C7,TRUE). Ticked boxes are TRUE, so this counts them. Use FALSE instead to count the boxes that are not ticked.

Why is the Checkbox button missing from my Insert tab?

+

In-cell checkboxes are a Microsoft 365 and Excel for the web feature. Excel 2021, 2019 and earlier don't have them, so use the Developer tab's Form Control check box instead.

How do I delete checkboxes in Excel?

+

Select the cells and press Delete. If a box is ticked, the first press only unticks it, so press Delete again to remove the checkbox. Form Control check boxes are removed by selecting them with Ctrl-click and pressing Delete.

Can a checkbox change a cell's color?

+

Yes. Add a conditional formatting rule with a formula such as =$C2=TRUE and pick a fill or strikethrough. The row changes as soon as the box is ticked.

Sources

  • COUNTIF function - Microsoft Support
  • Use conditional formatting to highlight information - Microsoft Support

Written and checked by the ExcelReady Team. First published November 1, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. How to add a checkbox in Excel (Microsoft 365)
  2. How to add a checkbox in older versions of Excel
  3. How to count checked boxes with COUNTIF
  4. How to show percent complete
  5. Use checkbox values in IF and other formulas
  6. How to color or strike through finished rows
  7. Common checkbox problems
  8. Practise it

Keep reading

Conditional math· 6 min read

COUNTIF Greater Than, Less Than and Equal To

To count cells greater than a number, put the operator and the number together in quotes: =COUNTIF(B2:B8,">50"). Use "<50" for less than, ">=50" for greater than or equal to, and "<>50" for not equal to. To use a number from a cell, join it with &: =COUNTIF(B2:B8,">"&E1).

Comparisons· 7 min read

COUNTIF vs COUNTIFS: What's the Difference?

COUNTIF counts cells that meet one condition, such as tickets marked Open. COUNTIFS counts rows that meet several conditions at once, such as Open tickets with High priority, and every condition must be true. COUNTIFS with one pair works exactly like COUNTIF, so many people simply use COUNTIFS for everything.

Projects· 5 min read

Make an Attendance Tracker in Excel

To make an attendance tracker in Excel, put names in column A and dates across row 1, then type a code in each cell: P for present, A for absent, L for late. COUNTIF counts each code per person, and dividing by the days recorded gives an attendance rate. Conditional formatting colors absences and low rates automatically.

More on productivity

  • Custom Number Formats in Excel
  • How to Delete Blank Rows in Excel Safely
  • Fill Blank Cells With the Value Above in Excel
  • The Fill Handle in Excel: Drag, Double-Click, Fill Series
  • Excel Filter Shortcuts for Windows and Mac
  • Flash Fill in Excel (Ctrl+E) With Examples
All productivity articles →

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback, right in your browser. Nothing to download.

Start learning for free