How to Automatically Check a Master Checkbox in Excel When Tasks Are Complete
Question details
The user wants to configure a master checkbox to check automatically when all dependent task checkboxes are selected in Excel.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Creating a dynamic checklist where a section completion checkbox automatically updates based on the checked status of individual tasks.
- Observed behavior
- The master checkbox needs to dynamically return TRUE and appear checked when a specific number of linked task cells evaluate to TRUE.
Ensure the Developer tab is enabled in your Excel ribbon, as you will need it to insert Form Control checkboxes and link them to background cells.
Use the COUNTIF Formula to Auto-Check the Master Checkbox
Link your checkboxes to background cells and use a COUNTIF formula to evaluate when all tasks are marked TRUE.
To make a checkbox automatically check itself, it must be linked to a cell that calculates a TRUE or FALSE value. By linking all task checkboxes to their respective cells, we can use the COUNTIF function to verify if all tasks are complete.
Go to Developer > Insert > Checkbox (Form Control), and place checkboxes next to your individual tasks and the master section.
Right-click a task checkbox and select 'Format Control'. In the Control tab, click 'Cell link' and select the cell the checkbox is placed in (e.g., C3). Repeat this for all task checkboxes (e.g., C3 through C12).
Right-click the master checkbox, select 'Format Control', and link it to its underlying cell (e.g., C2).
Select the cell linked to the master checkbox (C2) and enter the formula: =COUNTIF(C3:C12,TRUE)=10. This formula checks if exactly 10 cells in the range C3:C12 contain TRUE.
Manually check all 10 task boxes. Once the 10th box is checked, the formula in C2 evaluates to TRUE, automatically marking the master checkbox as complete.

Create Automated Checklists Easily with WPS Spreadsheet
WPS Spreadsheet fully supports Excel's form controls and COUNTIF functions, allowing you to build automated, dynamic checklists quickly. It is highly compatible with Microsoft Excel formats (.xlsx) and features a familiar interface, making spreadsheet automation seamless.
- 1. Open WPS Spreadsheet: Launch WPS Office and open a new or existing spreadsheet document.
- 2. Insert Checkboxes: Navigate to the Insert tab, select Checkbox from the Forms drop-down, and place them next to your checklist items.
- 3. Link to Cells: Right-click each checkbox, select Format Object, and link it to a specific cell so it outputs TRUE/FALSE values.
- 4. Apply COUNTIF: In the master checkbox's linked cell, type your =COUNTIF(range, TRUE)=N formula to automate the completion status.

Frequently Asked Questions
Why is my master checkbox not visually updating?
Ensure that the master checkbox is actively linked to the exact cell where you typed the COUNTIF formula. If the checkbox is not linked to the cell containing the formula output (Format Control > Cell link), the visual checkmark will not update.
Can I hide the TRUE/FALSE text behind the checkboxes?
Yes. You can hide the text by changing the font color of the linked cells to match the cell background color (e.g., white text on a white background), or by applying a custom number format of ';;;' (three semicolons) to the cells.
Does this formula work if I have empty cells in my task range?
Yes, the COUNTIF formula only counts cells that explicitly contain the value TRUE. Blank cells will be ignored. However, you must ensure your total task count in the formula matches the actual number of required tasks to trigger the master checkbox.




