Fix Excel COUNTIF Not Updating After 100 Rows with Checkboxes
Question details
The user needs to fix a COUNTIF or COUNTIFS formula that stops counting checked boxes after reaching a specific row limit.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Tracking data using form control checkboxes linked to cells, where a COUNTIF formula calculates the total number of checked items.
- Observed behavior
- The formula stops updating its count when checkboxes are selected past a certain row, usually because the checkboxes are no longer linked to their underlying cells or the formula range does not include the new rows.
Ensure that your workbook is set to Automatic calculation mode and temporarily unhide any columns that might contain the TRUE/FALSE values linked to your checkboxes.
Verify and Relink Checkboxes to the Correct Cells
Form control checkboxes must be manually linked to a cell to output TRUE/FALSE values for the COUNTIF formula to evaluate.
When copying and pasting checkboxes down a column, Excel retains the original cell link. This causes all copied checkboxes to change the same initial cell, rather than their respective rows.
Right-click the checkbox in the row that is not updating and select 'Format Control' from the context menu.
Navigate to the 'Control' tab in the dialog box. Look at the 'Cell link' reference field.
Change the reference to point to the correct corresponding cell for that row (e.g., change $A$2 to $A$101).
Click 'OK'. You must repeat this process for each checkbox that fails to update the formula.

Expand the COUNTIF Formula Range
Ensure your COUNTIF formula is evaluating the entire data range, including the newly added rows past row 100.
Check Excel Calculation Settings
If formulas across the entire worksheet have stopped updating, the calculation mode might have been switched to Manual.
Use WPS Spreadsheet to Manage Forms and Calculations Flawlessly
WPS Spreadsheet fully supports advanced formulas, form controls like checkboxes, and seamless compatibility with Microsoft Excel files (.xlsx). You can easily track tasks, link checkboxes, and calculate data without unexpected glitches or row limits.
- 1. Open your File in WPS: Launch WPS Spreadsheet and open your existing .xlsx tracker workbook.
- 2. Insert Checkboxes: Navigate to the Insert or Developer tab and select 'Checkbox' to add new form controls to your sheet.
- 3. Link to Cells: Right-click a checkbox, choose 'Format Object', go to the Control tab, and define the Cell Link.
- 4. Calculate Accurately: Use =COUNTIF(Range, TRUE) anywhere in your document to reliably tally all checked items.

Frequently Asked Questions
Why do copied checkboxes not link to new cells automatically?
When you copy and paste a checkbox, the 'Cell link' property retains the absolute reference (e.g., $B$2) of the original checkbox. You must manually right-click each pasted checkbox, open 'Format Control', and update the cell link to match the new row.
Does COUNTIF work with checkboxes if they are not linked to a cell?
No. The COUNTIF function only reads data stored in cells. Checkboxes are floating objects that do not hold cell values themselves. They must be linked to a background cell that outputs TRUE or FALSE for the formula to evaluate them.
Why does my formula show the correct range but still fails to calculate?
Ensure the linked cells are generating logical TRUE/FALSE values and not text strings. Also, verify that the worksheet isn't protected in a way that prevents the linked cells from updating when you click a checkbox.
Can I hide the TRUE/FALSE text behind my checkboxes?
Yes. If your checkbox is placed directly over its linked cell, you can hide the TRUE/FALSE text by changing the cell's font color to match the background color (usually white), or by applying a custom number format of ';;;' to make the text invisible.




