How to Use Checkboxes in Excel to Track Task Progress


Once, if you wanted to add checkboxes to your Excel spreadsheet, you had to use Form Controls in the Developer tab, a route that required some level of expertise. However, in June 2024, Microsoft introduced a much simpler way to use checkboxes.




How to Add and Remove Checkboxes

Excel’s Checkbox option is in the Controls group of the Insert tab on the ribbon. By default, the Controls group isn’t immediately visible when you open the Insert tab, so first, you’ll need to enable it first.

Right-click anywhere on the ribbon, and click “Customize The Ribbon.”

An Excel sheet with Customize The Ribbon selected.

Now, in the Choose Commands From field, click “Main Tabs.”

The Customize The Ribbon tab in Excel Options, with the Choose Commands From option changed to Main Tabs.


Next, click the “Insert” arrow to expand the Insert options, and select “Controls.” Then, to add this to the ribbon, click “Add.”

Excel's Customize The Ribbon menu with the Insert tab expanded, Controls selected, and the Add button highlighted.

Finally, click “OK” to close the dialog box. You will then see Checkbox in the Controls group of the Insert tab on the ribbon, which you can click anytime to add one to your sheet.

To reposition the Checkbox button within the Insert tab on the ribbon, use the arrows on the right-hand side of the Customize The Ribbon dialog box.


An Excel sheet with the Checkbox option within the Controls group on the Insert tab.

What the Spacebar and Delete Keys Do to Checkboxes

Before you get to know the different ways you can use checkboxes, it’s worth knowing how they’re affected by different keys.

When you click the Checkbox icon in the Insert tab, you’ll see an unchecked checkbox added to whichever cell was selected. If you select more than one cell, several checkboxes will be added—one in each cell. While using your mouse to click the checkbox will add and remove the checkmark, you can also use the Spacebar to do the same, a handy tip if you prefer to work in Excel using only your keyboard. Likewise, if you select several cells containing a checkbox and press the Spacebar, they’ll all be checked and unchecked at the same time.


To delete a checkbox from your sheet, select the cell where the checkbox is located, and press Delete. If your checkbox is checked, pressing Delete will first uncheck the checkbox, and pressing it again will remove the checkbox altogether.

How to Use Checkboxes With IF

The first step in getting used to using checkboxes with Excel’s functions is to try it with the IF function alone.

In the table below, we want the “Status” column to tell us whether the task is complete or incomplete based on whether the checkboxes are checked or unchecked.

An Excel table with checkboxes in column 2, and column 3 (currently blank) titled Status.

When a checkbox is checked, it has a value of TRUE, and when unchecked, it’s FALSE. So, when using the IF function, these are the arguments that we will tell Excel to consider.


Starting in cell C2, we will create an IF formula with the following syntax:

=IF(x=y,"a","b")

where x is the cell containing the checkbox, y is TRUE or FALSE, a is the result we want to produce if the condition we entered is fulfilled, and b is the result if the condition isn’t fulfilled.

In our case, we’ll type

=IF(B2=TRUE,"Complete","Incomplete")

because we want Excel to find out whether the checkbox in B2 is checked, and produce the words “Complete” or “Incomplete” accordingly in C2.

Remember to use quotation marks around values
a
and
b
if you want Excel to produce text based on the checkbox’s status.

If you have formatted your table using Excel’s table formatter, when you press Enter after typing the above formula, you’ll see the formula automatically duplicated to the other cells in that column.


An Excel table with checkboxes in column 2, and the word Incomplete in column 3 based on the IF function added to those cells.

Now, check some of the checkboxes to see the outcomes in column C change.

An Excel table with values in column C changing depending on whether the checkboxes in column B are checked.

If you click and drag the table handle (in the bottom-right corner of the formatted table) downwards, the new row will automatically contain the checkbox and the status formula you added.

How to Use Checkboxes With AND or OR

We’re now ready to use the checkboxes to check the progress of tasks containing more than one stage.


Using Checkboxes With AND

In this example, we want the “Status” column to tell us whether all phases of each task have been checked.

An Excel table containing five tasks, each with three phases (the status of each indicated by a checkbox), and an empty Status column in the final column.

This is why we need to use the AND function alongside the IF function—the AND tells Excel we’re evaluating several criteria at the same time.

Here’s the syntax:

=IF(AND(x:y=z)"a","b")

where x:y is the range containing the checkboxes, z is TRUE or FALSE, and a and b are the results we want to see, depending on whether all the conditions are met.

So, in our case, we’ll type

=IF(AND(B2:D2=TRUE),"Complete","Incomplete")


because we want Excel to evaluate the checkboxes in cells B2, C2, and D2, telling us whether or not they’re all checked.

An Excel table containing a status column that reads Complete or Incomplete depending on whether all the checkboxes in that row are checked.

Using Checkboxes With OR

You can also follow the same principle with the OR function:

=IF(OR(x:y=z)"a","b")

where x:y is the range containing the checkboxes, z is TRUE or FALSE, and a and b are the results we want to see. This tells Excel to evaluate the checkboxes to see if any (rather than all) are checked.

In this example, Excel tells us whether a task is pending (if none of the checkboxes are checked) or actioned (if any of the checkboxes are checked), as we have typed the following formula:

=IF(OR(B2:D2=TRUE),"Actioned","Pending")


An Excel table with Actioned or Pending in the final column, depending on whether any of the checkboxes in that row are checked.

How to Apply Conditional Formatting on Checkboxes

To make it even easier to visualize your data and track task progress, you can use Conditional Formatting to apply colors to the checkboxes or the cells where they’re located.

In this example, we want the cells containing the checkboxes to turn green when they’re checked.

To do this, we need to select all the cells containing the checkboxes, click “Conditional Formatting” in the Home tab, and choose “New Rule.”

An Excel table with cells containing checkboxes, and the Conditional Formatting drop-down opened with New Rule selected.


In the New Formatting Rule dialog box, follow these steps:

Excel's New Formatting Rule dialog box, with the cell fill set to green when the cell values equal TRUE.

  1. Click “Format Only Cells That Contain.”
  2. Set the first and second drop-downs as “Cell Value” and “Equal To,” respectively.
  3. Type TRUE or FALSE, depending on whether you want the formatting to apply to a checked or an unchecked box.
  4. Click “Format,” and set the formatting according to what you want to happen when the checkboxes are checked or unchecked. In our case, we’re formatting the cells to be filled with green when the checkboxes are checked.
  5. Click “OK.”


An Excel table containing checkboxes with their cells filled with green when checked.

How to Apply Conditional Formatting in Other Cells Based on the Checkboxes

The final option is to format the whole row if all its checkboxes are checked. In our case, we want to clearly show that tasks 3 and 5 are complete.

An Excel table containing five tasks, each with three phases, and some of the checkboxes checked to indicate those phases are complete.

Start by selecting the entire table (except for the header row), and launch the New Formatting Rule dialog box by clicking Conditional Formatting > New Rule.

Then, use the following steps:

Excel's New Formatting Rule dialog box, with the cell fill set to yellow when the conditions are met.-1


  1. Click “Use A Formula To Determine Which Cells To Format.”
  2. In the empty field box, type =AND($B2:$D2,”TRUE”), where $B2:$D2 are the cells containing the checkbox on the first row of the table, and “TRUE” tells Excel to apply the formatting when all the checkboxes are checked. Make sure you add the dollar symbol before the column references ($B2 and $D2)—this tells Excel that we want to apply the Conditional Formatting rule to all rows within those fixed columns.
  3. Click “Formatting” to determine what happens when the condition you’ve set is met. In our case, we’re choosing a yellow fill.
  4. Click “OK.”

An Excel table with full rows formatted based on all checkboxes in that row being checked.



Checkboxes aren’t the only way to track your task progress. Indeed, you can create a whole dashboard of data in Excel to monitor your workflow at a glance.



Source link

Previous articleDell’s G15 gaming laptop with RTX 4060 is on sale for under $1,000
Next articleAI’s math solutions, and brewing beer with sunlight