Formula Errors

Why Does Excel SUM Return Zero? Fix Numbers and Formula Ranges

Amos GikundaAmos Gikunda Dec 2, 2026 869 views

Question details

Determine why a column of values produces zero when summed in Excel.

Why Does Excel SUM Return Zero?
Product
Microsoft Excel
Device & OS
not provided
Scenario
A user wants to total a column of values using a SUM formula.
Observed behavior
The SUM formula returns zero even though the column appears to contain numbers.
Before you start

Identify the cells that should be included in the total and check a few of them with =ISNUMBER(A2), replacing A2 with a cell from your data. A FALSE result indicates that the value is not stored as a number.

Solution 1Recommended

Convert text-formatted values to numbers

Use this when cells look numeric but Excel does not recognize them as numbers.

SUM ignores text in referenced cells. Imported values or extra spaces can cause numbers to be stored as text.

1
Check a value

In an empty cell, enter =ISNUMBER(A2), replacing A2 with a cell in the column. FALSE means Excel does not recognize that value as a number.

2
Convert the column

Select the affected cells. If a warning icon appears, click it and choose Convert to Number. Alternatively, select Data > Text to Columns and click Finish.

3
Remove extra spaces

If conversion fails, enter =VALUE(TRIM(SUBSTITUTE(A2,CHAR(160)," "))) in an empty column, fill the formula down, and sum the converted results.

Convert text-formatted values to numbers
Check identifiers before converting: Converting text to numbers can remove leading zeros, so avoid converting identifiers such as account codes.
Work with spreadsheet formulas

Check and Fix SUM Formulas in WPS Spreadsheet

Open your workbook in WPS Spreadsheet, check whether values are numeric, and update the SUM range to calculate the intended total.

  1. 1. Open the workbook: Open WPS Spreadsheet and select Open to choose your Excel workbook.
  2. 2. Test a value: In an empty cell, enter =ISNUMBER(A2), replacing A2 with a cell from the column. FALSE indicates the value is not numeric.
  3. 3. Convert text values: Select the affected cells and use Data > Text to Columns to convert numeric text. If spaces prevent conversion, try =VALUE(TRIM(SUBSTITUTE(A2,CHAR(160)," "))) in an empty column.
  4. 4. Check the total: Select the total cell and enter a formula such as =SUM(A2:A100), adjusting the range to include your values. Press Enter and check the result.
Check and correct SUM formula rangesTest whether values are stored as numbersOpen and edit Microsoft Excel XLS and XLSX filesUse a familiar spreadsheet interface
microsoft office alternative - wps office

Frequently Asked Questions

Why does SUM ignore numbers that look correct?

The values may be stored as text. Test a cell with =ISNUMBER(A2); if it returns FALSE, select the affected cells and use the warning icon's Convert to Number option or Data > Text to Columns.

Does Excel SUM include filtered or hidden rows?

Yes. SUM includes values in both filtered and manually hidden rows. To exclude them, use a formula such as =SUBTOTAL(109,A2:A100).

Why hasn't my total updated after I changed a value?

The workbook may be set to manual calculation. Select Formulas > Calculation Options > Automatic, or press F9 to recalculate.

How can I check whether my SUM formula covers the right cells?

Select the total cell and inspect the range in the formula bar. Edit the references so they include the rows you want, such as =SUM(A2:A100).