Formula Errors

Fix Excel SUM or SUMIFS Returning Zero for Text-Formatted Numbers

Maira MehtabMaira Mehtab Nov 12, 2026 868 views

Question details

The user needs to troubleshoot an Excel SUM or SUMIFS formula that returns zero although the matching criteria appear to be correct.

Fix Excel SUM or SUMIFS Returning Zero for Text-Formatted Numbers
Product
Microsoft Excel
Device & OS
not provided
Scenario
Adding values with a SUM or SUMIFS formula based on matching table criteria.
Observed behavior
The formula returns 0 because the values in the sum range may be stored as text instead of numeric values.
Before you start

Select a few cells in the range being summed and check their alignment and number format. Text-formatted numbers often display a green warning triangle or remain left-aligned by default.

Solution 1Recommended

Convert text-formatted numbers in the SUM or SUMIFS range

Use this solution when the formula criteria are correct but the cells being added are stored as text.

SUM and SUMIFS ignore numbers stored as text. Convert the values in the sum range to real numbers, then recalculate the formula.

1
Select the values to be added

Select the cells or table column used as the first argument of your SUMIFS formula, such as Table1[Initiative Size].

2
Use the error indicator conversion

If a green triangle appears in a selected cell, click the warning icon and choose Convert to Number.

3
Convert a full range with Text to Columns

For multiple cells, select the range, go to Data > Text to Columns, keep Delimited selected, click Finish, and let Excel convert the text values to numbers.

4
Recalculate the SUMIFS formula

Click the formula cell and press Enter. For the table example, use =SUMIFS(Table1[Initiative Size],Table1[Which Superintendency Will Develop the Initiative],[@Superintendency],Table1[Initiative Status],"Prioritized").

Convert text-formatted numbers in the SUM or SUMIFS range
Expected result: After the sum range contains real numeric values, SUM and SUMIFS can include matching records in the total.
Calculate totals accurately with WPS Spreadsheets

Convert Text Numbers and Repair SUMIFS Results in WPS Spreadsheets

WPS Spreadsheets lets you identify text-formatted numbers, convert them to numeric values, and use SUM or SUMIFS formulas to calculate matching records accurately.

  1. 1. Open the worksheet in WPS Spreadsheets: Open the Excel workbook in WPS Office and select the worksheet containing the SUM or SUMIFS formula.
  2. 2. Select the sum range: Select the cells or table values referenced by the SUMIFS sum_range argument, such as the Initiative Size column.
  3. 3. Convert the values to numbers: Go to Data > Text to Columns and click Finish, or use Home > Paste Special > Multiply after copying a cell containing 1.
  4. 4. Enter or refresh the formula: Select the result cell and enter =SUMIFS(Table1[Initiative Size],Table1[Which Superintendency Will Develop the Initiative],[@Superintendency],Table1[Initiative Status],"Prioritized"), then press Enter.
Use SUMIFS to total records that match multiple criteria.Convert text-formatted numbers with Text to Columns or Paste Special operations.Open, edit, and save Microsoft Excel .xlsx and .xls files with strong format compatibility.Use a familiar spreadsheet interface for a smooth transition from Excel.
microsoft office alternative - wps office

Frequently Asked Questions

Why does SUMIFS return 0 when my criteria match?

A common cause is that the sum range contains numbers stored as text. SUMIFS can match the criteria but ignores text values in the range it is supposed to add.

How can I tell whether a number is stored as text in Excel?

Click the cell and look for a green warning triangle or warning icon. You can also check whether the value is left-aligned by default or change the cell format to Number and test whether it converts.

Will Text to Columns fix numbers stored as text?

Yes. Select the affected range, choose Data > Text to Columns, leave the default conversion options in place, and click Finish to convert many text numbers at once.

What is the correct SUMIFS formula for the Initiative Size table?

Use =SUMIFS(Table1[Initiative Size],Table1[Which Superintendency Will Develop the Initiative],[@Superintendency],Table1[Initiative Status],"Prioritized"). Ensure that Table1[Initiative Size] contains numeric values.

Can I use VALUE to convert a text number in a formula?

Yes. Use =VALUE(A1) to convert a text number in A1 to a number. For a full data range, converting the source cells with Convert to Number, Text to Columns, or Paste Special > Multiply is usually more practical.