Excel Formula to Show Completed When All Checkboxes Are Selected
Question details
The user wants an Excel formula to automatically display a 'Completed' status only when every checkbox in a specified range is checked.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Setting up a task tracker where a master status cell updates based on the checked or unchecked state of multiple checkboxes.
- Observed behavior
- The formula needs to accurately count the checked boxes and handle potential syntax errors caused by regional argument separator settings.
Ensure that every checkbox you want to include in the formula is properly linked to a cell. Formulas cannot read the state of a checkbox directly; they read the TRUE or FALSE value of the linked cell.
Use the IF and COUNTIF Functions with Linked Cells
By linking your checkboxes to cells that output TRUE or FALSE, you can use the COUNTIF function to verify if all cells evaluate to TRUE and output 'Completed'.
This method relies on checking the number of TRUE values in a given range against the total number of columns (or rows) in that same range. If they match, all boxes are checked.
Right-click the first checkbox, select 'Format Control', navigate to the 'Control' tab, and click into the 'Cell link' box. Select the cell underneath or next to the checkbox (e.g., A1) and click OK. Repeat this for all checkboxes.
Select the cell where you want the final status to appear. Enter the formula: =IF(COUNTIF(A1:J1,TRUE)=COLUMNS(A1:J1),"Completed","Pending") and press Enter. Modify the range A1:J1 to match where your linked cells are located.
If you receive a #REF! or formula syntax error, your regional settings might require semicolons instead of commas. If so, adjust your formula to: =IF(COUNTIF(A1:J1;TRUE)=COLUMNS(A1:J1);"Completed";"Pending").

Easily Manage Checkboxes and Formulas in WPS Spreadsheet
WPS Spreadsheet provides robust support for interactive form controls, linked cells, and advanced formulas like IF and COUNTIF. You can build automated task trackers quickly without worrying about compatibility issues.
- 1. Open your tracker document: Launch WPS Spreadsheet and open your existing task tracker or create a new blank workbook.
- 2. Insert Checkboxes: Navigate to the Insert tab, select the 'Forms' drop-down, and choose the Check Box tool to draw checkboxes on your sheet.
- 3. Link Checkboxes to Cells: Right-click each inserted checkbox, select 'Format Object', go to the Control tab, and set a Cell link to output the TRUE/FALSE value.
- 4. Apply the Tracking Formula: In your status cell, type =IF(COUNTIF(A1:E1,TRUE)=5,"Completed","Pending") to automate your workflow tracking.

Frequently Asked Questions
Why does my IF formula return a #REF! error when I use checkboxes?
A #REF! error usually occurs if the cell range referenced in the formula (like A1:J1) has been accidentally deleted or shifted. It can also occur if your regional language settings require a semicolon (;) instead of a comma (,) to separate the arguments in the formula.
Do I have to link every single form control checkbox manually?
Yes, if you are using standard form control checkboxes from the Developer or Insert tab, each checkbox must be linked to a cell individually through the 'Format Control' menu so the formula can read its specific TRUE or FALSE status.
How can I change the 'Pending' text to another word?
You can easily customize the output by modifying the text inside the quotation marks at the end of the formula. For instance, to show 'In Progress' instead, change the formula to =IF(COUNTIF(A1:J1,TRUE)=COLUMNS(A1:J1),"Completed","In Progress").




