logo
search
Function Problems

Excel Formula to Show Completed When All Checkboxes Are Selected

Elise WilliamsElise Williams Sep 27, 2026 871 views

Question details

The user wants an Excel formula to automatically display a 'Completed' status only when every checkbox in a specified range is checked.

How to Show 'Completed' When All Checkboxes Are Selected in Excel
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.
Before you start

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.

Solution 1Recommended

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.

1
Link your checkboxes to cells

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.

2
Enter the IF and COUNTIF formula

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.

3
Adjust for regional separator settings

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").

Use the IF and COUNTIF Functions with Linked Cells
Hide the TRUE/FALSE text: To keep your tracker looking clean, you can change the font color of the linked cells to match the background color (usually white) so the TRUE/FALSE text becomes invisible.
WPS Spreadsheet Solutions

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. 1. Open your tracker document: Launch WPS Spreadsheet and open your existing task tracker or create a new blank workbook.
  2. 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. 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. 4. Apply the Tracking Formula: In your status cell, type =IF(COUNTIF(A1:E1,TRUE)=5,"Completed","Pending") to automate your workflow tracking.
100% format compatibility with Microsoft Excel (.xlsx) files.Easily insert and link form control checkboxes via the dedicated Insert tab.Smart formula suggestions to prevent syntax and separator errors.Free, lightweight, and runs smoothly on multiple platforms.
microsoft office alternative - wps office

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").