How to Insert a Checkbox in Excel (New In-Cell Checkboxes)

Sumit Bansal
Written by
Sumit Bansal
Sumit Bansal

Sumit Bansal

Sumit Bansal is the founder of TrumpExcel.com and a Microsoft Excel MVP. He started this site in 2013 to share his passion for Excel through easy tutorials, tips, and training videos, helping you master Excel, boost productivity, and maybe even enjoy spreadsheets!

If you want to insert a checkbox in Excel, whether it’s for a to-do list, a tracker, or an interactive chart, this has now become really easy.

Earlier, Excel only had checkboxes that floated over the worksheet as separate objects, and you had to enable the Developer tab just to get to them. Excel now has a new checkbox feature where the checkbox sits inside the cell, just like any other value.

In this article, I’ll show you how to insert these new checkboxes, format them, delete them properly, and use them with formulas, conditional formatting, charts, and progress bars.

Which Excel Versions Have the New Checkboxes

The new in-cell checkboxes are only available in Microsoft 365 (Windows, Mac, and Excel for the web).

If you’re using a perpetual license version such as Excel 2024, Excel 2021, or Excel 2019, you won’t find this option. These versions only have the older Form control checkboxes, which I briefly cover at the end of this article.

So if you don’t see the Checkbox option in your Insert tab, it’s most likely because you’re not on Microsoft 365, or your version of Excel hasn’t received the update yet.

How to Insert a Checkbox in Excel

Let me show you how to insert a checkbox with an example.

Below I have a list of names in column A, and I want to insert checkboxes in column B so that I can check off each person as they complete the training.

Dataset with names in column A and an empty Training Done column in Excel

Here are the steps to insert a checkbox in Excel:

  1. Select the cell (or range of cells) where you want the checkboxes. In this example, I selected B2:B11.
Range B2:B11 selected to insert checkboxes in Excel
  1. Click the Insert tab, and in the Controls group, click on the Checkbox icon.
Checkbox option in the Cell Controls group of the Insert tab in Excel

That’s it. Every cell in the selection now has a tick box that you can check or uncheck with a single click.

Checkboxes inserted in all the selected cells in Excel

If you want checkboxes in multiple separate sections of your worksheet, you have two easy options:

  • Hold the Ctrl key and select all the ranges where you want the checkboxes, then insert them in one go using the Insert tab.
  • Or insert one checkbox, copy it (Ctrl + C), and paste it wherever you need it. A checkbox behaves like any other cell content, so copy-paste and dragging the fill handle both work just fine.

Checkboxes Are Just TRUE and FALSE Values

Behind the scenes, a checkbox is nothing but a TRUE or FALSE value in the cell. This is what makes these new checkboxes so useful.

When you insert a checkbox, the cell gets the value FALSE. When you check it, the value changes to TRUE. You can see this in the formula bar when you select a cell with a checkbox.

Checked checkbox showing the value TRUE in the formula bar in Excel

And since the checkbox is part of the cell (not an object floating on top of it), it moves with the cell. If you move, hide, filter, or resize the cell, the checkbox goes along with it.

This TRUE/FALSE behavior is what powers everything else in this article, from counting formulas to interactive charts.

Is There a Keyboard Shortcut to Insert a Checkbox?

There is no built-in keyboard shortcut to insert a checkbox in Excel yet.

There is, however, a shortcut to check and uncheck them. Select the cell (or multiple cells) with checkboxes and press the Spacebar. This toggles the checkboxes on or off, which is a lot faster than clicking each one when you’re working with a long list.

Pro Tip: If you insert checkboxes often, right-click the Checkbox icon in the ribbon and add it to the Quick Access Toolbar. You can then insert a checkbox with Alt + the position number of the icon in the Quick Access Toolbar (for example, Alt + 4 if it’s the fourth icon).

How to Format Checkboxes (Color and Size)

Since a checkbox lives inside the cell, you format it the same way you format text in a cell.

Below I have my training list with checkboxes, and I want to make the checkboxes bigger and green.

Training list with default checkboxes before formatting in Excel

Here is how the formatting options on the Home tab affect a checkbox:

  • Font color changes the color of the checkbox.
  • Font size changes the size of the checkbox.
  • Alignment options change where the checkbox sits within the cell (left, center, or right).
Checkboxes formatted with a green color and a bigger size in Excel

So if you want big green checkboxes for a dashboard, just select the cells, increase the font size, and change the font color to green.

How to Delete Checkboxes in Excel

Deleting checkboxes works a little differently than deleting regular cell content, so let me explain what happens.

Select the cells that have the checkboxes and press the Delete key:

  • If any of the selected checkboxes are checked, the first Delete press only unchecks them all.
  • Press Delete again, and the checkboxes are removed from the cells.

So if your checkboxes are all unchecked, one Delete press removes them. If some are checked, you need to press Delete twice.

Cells with checkboxes selected before pressing the Delete key in Excel

There are also two options in the Home tab (in the Clear drop-down in the Editing group) that you may find useful:

  • Clear Formats removes the checkbox but keeps the TRUE or FALSE value in the cell.
  • Clear All removes both the checkbox and the value, giving you a completely empty cell.

Note: When these checkboxes were first released, pressing Delete would hide the checkbox but leave it lurking in the cell, and you had to use Clear All to truly remove it. Microsoft has since fixed this, and the Delete key now removes checkboxes properly as described above.

Using Checkboxes with Formulas

Since every checkbox is just a TRUE or FALSE value, you can use regular Excel formulas to pull useful information from your checklists.

Count Checked (or Unchecked) Checkboxes

Below I have my training list, where some people have been marked as done, and I want to count how many people have completed the training.

Training list with some checkboxes checked in Excel

Here is the formula that counts the checked checkboxes:

=COUNTIF(B2:B11,TRUE)
COUNTIF formula counting the checked checkboxes in Excel

The COUNTIF function goes through the range B2:B11 and counts all the cells that have the value TRUE, which is every checked checkbox. To count the unchecked ones instead, use FALSE as the criteria.

And the count updates automatically. Check or uncheck any box, and the result changes instantly.

Calculate the Percentage of Tasks Done

You can take this one step further and calculate what percentage of the training is complete.

Here is the formula:

=COUNTIF(B2:B11,TRUE)/COUNTA(A2:A11)
Formula calculating the percentage of checked checkboxes in Excel

This divides the number of checked boxes by the total number of people in the list. Format the result as a percentage (Ctrl + Shift + %), and you have a live completion percentage.

Filter Records Based on the Checkbox

You can also extract records based on the state of the checkbox using the FILTER function.

Below is the same list, and I want to get the names of all the people who have not completed the training yet.

Training list with checkboxes to filter records in Excel

Here is the formula:

=FILTER(A2:A11,B2:B11=FALSE)
FILTER formula extracting the names with unchecked checkboxes in Excel

Enter this formula in a cell, and it spills the names of everyone whose checkbox is unchecked. The result is dynamic, so when you check someone’s box, their name automatically disappears from this list.

To get the list of people who have completed the training, change FALSE to TRUE in the formula.

Note: The FILTER function is available in Excel 365 and Excel 2021 or later versions. Since the new checkboxes are only in Excel 365 anyway, you’ll have it.

Highlight Rows Based on the Checkbox (Conditional Formatting)

One of my favorite ways to use checkboxes is to make the whole row react when a box is checked. Let me show you how to highlight the row in green and strike through the name when the checkbox is checked.

Below I have the training list with checkboxes in column B.

Training list with checkboxes in column B in Excel

Here are the steps to set this up:

  1. Select the range that has the data and the checkboxes (A2:B11 in this example).
Data range selected before applying conditional formatting in Excel
  1. Click the Home tab, then Conditional Formatting, and then New Rule.
New Rule option in the Conditional Formatting menu in Excel
  1. In the New Formatting Rule dialog box, select the option “Use a formula to determine which cells to format”.
Use a formula option selected in the New Formatting Rule dialog box in Excel
  1. In the formula field, enter =$B2
Formula entered in the New Formatting Rule dialog box in Excel
  1. Click the Format button, select a green fill color in the Fill tab, check the Strikethrough option in the Font tab, and click OK.
Green fill color selected in the Fill tab of the Format Cells dialog box
  1. Click OK to close the New Formatting Rule dialog box.

Now, as soon as you check any checkbox, that entire row gets the green color and the name gets crossed off.

Rows with checked checkboxes highlighted in green with strikethrough names in Excel

How does this work? The formula =$B2 returns the value in column B for each row, which is the TRUE or FALSE value of the checkbox. Conditional formatting applies the format wherever the formula returns TRUE, so checked rows get formatted.

And since checked names get a strikethrough format, your list reads like a real checklist, with completed items crossed off.

The dollar sign before B locks the column, so even when Excel evaluates a cell in column A, it still looks at the checkbox in column B of that same row.

Create an Interactive Chart Using Checkboxes

Now let me show you something a bit more advanced, an interactive chart where checkboxes control which data series show up.

Below I have the yearly sales data for three products (Laptops, Printers, and Monitors), and above the data I have one checkbox for each product.

Sales data for three products with a checkbox for each product in Excel

The idea is simple. Instead of plotting the original data, I use the IF function to create a helper table that only shows a product’s numbers when its checkbox is checked. The chart is then based on this helper table.

Here is the formula I use in the first cell of the helper table (cell B12):

=IF(B$2,B5,NA())
IF formula in the helper table returning the value only when the checkbox is checked

Copy this formula across all the cells of the helper table. Here is how it works:

  • B$2 refers to the checkbox of that product. If it’s checked (TRUE), the formula returns the sales value from the original table.
  • If the checkbox is unchecked (FALSE), the formula returns the #N/A error, and Excel simply doesn’t plot #N/A values on a chart.
  • The dollar sign locks row 2 (the checkbox row), so the reference keeps pointing at the checkboxes when you copy the formula down. The column stays relative, so each product looks at its own checkbox.

Now select the helper table, click the Insert tab, and insert a line chart.

Line chart option in the Charts group of the Insert tab in Excel

That’s it. Check or uncheck a product’s checkbox, and its line appears or disappears from the chart instantly.

Interactive line chart controlled by checkboxes in Excel

This is a great trick for dashboards, where you want to let people choose what they see instead of cramming everything into one crowded chart.

Create a Progress Bar Using Checkboxes

You can also combine checkboxes with conditional formatting to build a progress bar that fills up as you check off tasks.

Below I have a list of tasks for onboarding a new employee, with a checkbox against each task, and I want a progress bar that shows how much of the onboarding is done.

Onboarding task list with a checkbox for each task in Excel

First, I calculate the percentage of tasks done. Here is the formula (I’ve entered it in cell D2):

=COUNTIF(B2:B9,TRUE)/COUNTA(A2:A9)
Formula calculating the percentage of tasks done in Excel

Now let’s turn this percentage into a progress bar:

  1. Select the cell with the percentage formula (D2), click the Home tab, then Conditional Formatting, then Data Bars, and choose a solid fill color.
Data Bars option in the Conditional Formatting menu in Excel
  1. With D2 still selected, go back to Conditional Formatting, click Manage Rules, double-click the data bar rule, and set the Minimum to Number 0 and the Maximum to Number 1. This makes the bar scale from 0% to 100%.
Conditional Formatting Rules Manager showing the data bar rule in Excel

Now every time you check off a task, the bar grows. Check all the boxes, and it fills the entire cell.

Progress bar that fills up as checkboxes are checked in Excel

Pro Tip: Widen the cell with the progress bar (or merge a couple of cells) to make the bar look more like a proper progress bar in your dashboard.

How to Disable Checkboxes (Make Them Read-Only)

In some cases, you may want a checkbox that shows a status but can’t be clicked. For example, a summary checkbox that automatically gets checked when all the tasks in a list are done.

The trick is to apply the checkbox to a cell that has a formula returning TRUE or FALSE. When the underlying value comes from a formula, the checkbox becomes read-only, and clicking it does nothing.

Below I have my onboarding task list, and in cell D5 I want a checkbox that gets checked automatically when all the tasks are complete.

Task list where a summary checkbox will show the overall status in Excel

Here is the formula I enter in cell D5:

=COUNTIF(B2:B9,TRUE)=COUNTA(A2:A9)
Formula that returns TRUE when all the tasks are done in Excel

This returns TRUE only when the number of checked boxes equals the total number of tasks.

Now select cell D5 and insert a checkbox from the Insert tab (the same way as before). The checkbox shows the formula’s result, checks itself when all tasks are done, and can’t be toggled by clicking.

Read-only checkbox automatically checked when all the tasks are complete in Excel

Checkboxes and Sheet Protection

If you protect a worksheet that has checkboxes, the checkboxes get locked too, and no one can check or uncheck them.

If you want people to be able to use the checkboxes on a protected sheet, unlock those cells before protecting the sheet. Select the cells with the checkboxes, press Ctrl + 1 to open the Format Cells dialog box, go to the Protection tab, and uncheck the Locked option.

Now when you protect the sheet (Review tab, then Protect Sheet), the rest of the sheet stays locked, but the checkboxes remain clickable.

I’ve covered locking and unlocking cells in detail in this article: How to Lock Cells in Excel

What About the Old Form Control and ActiveX Checkboxes?

Before these in-cell checkboxes were introduced, Excel had two other types of checkboxes, Form controls and ActiveX controls, both inserted from the Developer tab.

These older checkboxes are objects that float over the worksheet. They don’t sit inside a cell, they need to be linked to a cell manually to get a TRUE/FALSE value, and moving or aligning them is fiddly.

Now that the new checkboxes are here, I don’t recommend using the older ones. The only real advantage they still have is that, being objects, they can be placed anywhere on the worksheet, even on top of charts or images.

And if you’re on a version of Excel that doesn’t have the new checkboxes (such as Excel 2021 or Excel 2019), the Form control checkbox from the Developer tab is still your fallback option.

So this is everything you need to know about inserting and using checkboxes in Excel. Start with a simple checklist, and once you’re comfortable, try the interactive chart or the progress bar in your next tracker.

I hope you found this article helpful. If you have any questions or feedback, let me know in the comments section.

Other Excel Articles You May Also Like:

Hey! I'm Sumit Bansal, founder of trumpexcel.com and a Microsoft Excel MVP. I started this site in 2013 because I genuinely love Microsoft Excel (yes, really!) and wanted to share that passion through easy Excel tutorials, tips, and Excel training videos. My goal is straightforward: help you master Excel skills so you can work smarter, boost productivity, and maybe even enjoy spreadsheets along the way!

17 thoughts on “How to Insert a Checkbox in Excel (New In-Cell Checkboxes)”

  1. How do you get the check boxes to match going across? I can’t figure out how to make them online on my spreadsheet, without formatting each cell individually.

    Reply
  2. I copy/pasted the formula for the Percentage of Tasks Completed function, with alterations re where my TRUE/FALSE parameters are but I get a DIV/0 error. Excel claims that I have made a divide by zero error.

    What am I doing wrong?

    Reply
  3. Can you use this to insert a checkbox inside of a cell instead of laying on top like a graph or just linking to a separate cell? I found another guide that does this using special characters but it would be nice if I could just represent the cell’s true/false value by a checked or unchecked box.

    Reply
  4. Thank you Sumit – great tips and tutorials! I would like to find out if there’s a way to take this further. I want to create a spreadsheet with a row for each of the 50 United States. Each row would contain data specific to our industry in each state. I would like to insert a checkbox in each row. A user would check off the set of states involved in a transaction, and then click a “Filter” button, which would leave only the checked states columns visible. I would then want to create a report which would pull data only from the checked rows. Is this possible? Thanks again!

    Reply
  5. how can you filter by check boxes? I have one column with check boxes and what if I would like to filter by the check boxes which have a tick and which doesn’t…?

    Reply
  6. Hi
    I have a question, I have an excel table, where I input my data in first 5 columns, next 3 have formulas which are Calculated automatically based on first 5 columns. Last 1 column has a check box which is linked to the cell.
    Now whenever I add another row in Table all formulas are copied from above table row with new range. but check box is not copied automatically. and if copy it manually and paste in new row. the new check box is also linked to the above cell instead of new row.
    I want it to copy automatically, same like formulas. I also want to be linked with the new row.

    Can you please advice me, how to do it?

    Reply
  7. Sumit it very useful when you have to display data for more than 2-3 years its easy and cosmetic too.
    Thanks.

    Reply
  8. sumit these tutorials are v useful…..tell me either to work with developer is easy or using formulas ..i want to learn dynamic filter with formulas also if easy

    Reply
  9. Check Box are very useful if you are working on some constant data formats. You can control your functions with check boxes. Very Nice Post. Thanks

    Reply

Leave a Comment

Get the FREE 51 Excel Tips Ebook

Enter your details and the free PDF is on its way to your inbox.

Hmm, that didn't go through. Please check your email and try again.

No spam. You'll also get my weekly Excel newsletter. Unsubscribe anytime.

Check your inbox!

The ebook is on its way to your email. It usually lands within a couple of minutes.