Calculation Issues

Fix SUM Returning Zero for INDIRECT and COUNTIF Results in Excel

Amos GikundaAmos Gikunda Nov 18, 2026 869 views

Question details

The user needs to determine why SUM returns zero when adding results generated with INDIRECT and COUNTIF.

Fix SUM Returning Zero for INDIRECT and COUNTIF Results in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
A worksheet uses INDIRECT and COUNTIF formulas to generate values that are added with SUM.
Observed behavior
SUM returns zero, possibly because the workbook contains a circular reference.
Before you start

Identify the SUM cell and the cells it includes. Check the INDIRECT references to see which cells or ranges they resolve to, including references on other sheets.

Solution 1Recommended

Find and resolve circular references in Excel

Use this method if a formula may depend on its own result, directly or through other cells.

1
Check for circular references

Open the workbook and select Formulas > Error Checking > Circular References. Select any listed cell to inspect it.

2
Inspect the formula chain

Review the listed cell and the SUM, INDIRECT, and COUNTIF formulas it depends on. Check whether an INDIRECT reference points back to the formula cell or to a cell that depends on it.

3
Remove unintended loops

Edit the formula or referenced range in the formula bar so the calculation no longer depends on its own result. Repeat the circular reference check until unintended references are resolved.

4
Enable iteration only if needed

If the circular calculation is intentional, open File > Options > Formulas and select Enable iterative calculation. Review the maximum iterations and maximum change settings, then select OK.

5
Recalculate the workbook

Select Formulas > Calculate Now and check whether the SUM result is correct.

Find and resolve circular references in Excel
Iterative calculation: Enabling iteration permits intentional circular calculations; it does not correct an unintended formula loop. Confirm that the results converge to the values you expect.
Free Microsoft Office alternative

Work with spreadsheet formulas in WPS Office

WPS Office is a free, lightweight alternative with a familiar spreadsheet interface and support for Excel files, making it easy to move your workbook to another office suite. It does not change Excel's calculation settings or fix an Excel-specific issue.

Open and edit Microsoft Excel XLS and XLSX files.Use spreadsheet formulas and review worksheet calculations.Navigate a familiar interface for a smoother transition from Microsoft Office.Use a free, lightweight office suite for everyday document work.
microsoft office alternative - wps office

Frequently Asked Questions

How do I find a circular reference in Excel?

Select Formulas > Error Checking > Circular References, then select a listed cell to inspect its formula. Repeat the check after correcting each unintended loop.

Should I enable iterative calculation when SUM returns zero?

Enable it only if the workbook intentionally uses a circular calculation. In Excel, go to File > Options > Formulas > Enable iterative calculation and verify that the results converge as expected.

Can SUM ignore values that look like numbers?

Yes. SUM can ignore numeric text in referenced cells. Test a source cell with =ISNUMBER(A1), replacing A1 with the relevant cell, and correct the source value or formula if needed.

Why might an INDIRECT formula be involved in a circular reference?

INDIRECT can resolve to a range that includes the formula itself or another cell that depends on it. Inspect the reference text and trace the resulting range through the calculation chain.