Calculation Issues

Why SUMIF May Fail in WPS Spreadsheet When the Criteria Column Contains Formulas

Camila MilosovichCamila Milosovich Nov 13, 2026 869 views

Question details

The user needs to understand why SUMIF returns incorrect results or stops calculating when the criteria column contains formulas, particularly when a circular reference exists.

Why SUMIF May Fail When the Criteria Column Contains Formulas
Product
WPS Office Spreadsheet
Device & OS
not provided
Scenario
Using SUMIF with a criteria range that contains formula results instead of static values.
Observed behavior
SUMIF may return incorrect totals or fail to calculate when a circular reference exists in the criteria or sum columns.
Before you start

Open the affected workbook in WPS Office Spreadsheet and switch to the Formulas tab. Use Error Checking to reveal circular references before editing the SUMIF formula and its source columns.

Solution 1Recommended

Remove circular references from the criteria and sum columns

Use this first when SUMIF returns incorrect results or the workbook does not calculate, because a circular dependency prevents WPS Office Spreadsheet from evaluating formulas reliably.

A circular reference occurs when a formula refers back to its own cell or to a dependent cell in the same calculation chain. SUMIF can return wrong totals until that loop is removed and the workbook recalculates.

1
Open the circular reference checker

In WPS Office Spreadsheet, go to the Formulas tab and click Error Checking.

2
Locate circular cells

Select Circular References from the Error Checking menu to list cells that are part of a calculation loop.

3
Fix the formula dependency

Edit each listed cell so the criteria or sum column no longer refers back to itself or to a dependent formula in the same chain.

4
Recalculate the workbook

Click Calculate Now in the Formulas tab to refresh all formulas and verify the SUMIF result.

Remove circular references from the criteria and sum columns
Calculation restored: After removing the circular dependency and recalculating, SUMIF should use the formula results in the criteria column correctly.
WPS Spreadsheet solution

Fix SUMIF Formula Criteria Issues in WPS Office Spreadsheet

WPS Office Spreadsheet can directly help you find and remove circular references, align SUMIF ranges, and recalculate the workbook so formula-based criteria columns work correctly.

  1. 1. Open the affected workbook: Launch WPS Office Spreadsheet and open the file containing the SUMIF formula.
  2. 2. Run Error Checking: Go to the Formulas tab and click Error Checking, then select Circular References to identify problem cells.
  3. 3. Fix the circular dependency: Edit the listed criteria or sum column formulas so they no longer refer back to themselves.
  4. 4. Recalculate the workbook: Click Calculate Now in the Formulas tab to refresh all formula results.
  5. 5. Confirm the SUMIF result: Check the SUMIF cell to make sure the formula now returns the expected total.
Built-in Error Checking flags circular references that break SUMIF calculationsFull compatibility with Microsoft Excel .xlsx files and SUMIF formulasFree and lightweight spreadsheet tool with a familiar ribbon interfaceSeamless migration from Excel without losing formulas, formatting, or sheet structure
QA img-9

Frequently Asked Questions

Why does SUMIF ignore values when the criteria column contains formulas?

SUMIF normally evaluates formula results, but if a formula returns text or if a circular reference is present, WPS Office Spreadsheet may return an incorrect total. Use Error Checking to find circular references and confirm the formula results are numeric.

How do I find circular references in WPS Spreadsheet?

Go to the Formulas tab, click Error Checking, and then choose Circular References. The listed cells are part of the calculation loop that prevents reliable SUMIF evaluation.

Does SUMIF work when the criteria range and sum range are different sizes?

The ranges should be aligned. If they have different dimensions, WPS Office Spreadsheet may evaluate only the corresponding top-left range, which can produce unexpected results. Edit the SUMIF formula so both ranges are the same size.

Can WPS Office open SUMIF workbooks created in Microsoft Excel?

Yes, WPS Office Spreadsheet supports Excel .xlsx files and SUMIF formulas. It preserves formulas and recalculates them after circular references or range issues are fixed.