How to Fix Excel SUM Formula Returning Zero
Question details
The user is attempting to calculate a total using the SUM function, but the formula evaluates to zero despite having visible currency or numeric values in the referenced cells.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Calculating the sum of a column containing currency or numeric data.
- Observed behavior
- The SUM function returns 0 or €0.00 instead of the correct mathematical total, usually because the numbers are incorrectly formatted or stored as text.
Before applying these fixes, ensure your spreadsheet calculation options are set to 'Automatic' rather than 'Manual', and verify that you do not have any hidden rows or circular references disrupting your formulas.
Convert Text to Numbers Using Error Checking
The most common reason for a SUM formula returning zero is that the numbers are stored as text. Excel's built-in error checking can quickly convert these strings into readable numerical values.
When data is imported or manually typed with a leading apostrophe, Excel treats it as text. The SUM function ignores text cells, leading to a zero result.
Click and drag to highlight all the cells containing the numbers or currency values you are trying to sum.
Notice if there is a small green triangle in the top-left corner of the cells. A yellow caution icon with an exclamation mark will appear next to your selection.
Click on the yellow caution icon to open the drop-down menu, and select 'Convert to Number'.

Format Values Using Text to Columns
If the error checking icon doesn't appear, you can force the spreadsheet software to re-evaluate and recognize the text as numbers using the Text to Columns tool.
Share Your Workbook for Advanced Troubleshooting
If the data contains complex, invisible characters or inconsistent formatting that cannot be resolved manually, sharing the file securely allows experts to diagnose the exact issue.
Easily Manage Formulas and Calculations with WPS Office
WPS Office provides a highly compatible and user-friendly spreadsheet tool that effortlessly handles complex formulas, number formatting, and Excel files without syntax or formatting errors.
- 1. Open your file in WPS Spreadsheets: Launch WPS Office and open your spreadsheet file.
- 2. Highlight the incorrectly formatted cells: Select the data range where the numbers are formatted as text.
- 3. Convert to Number: Click the warning icon beside the selection and choose 'Convert to Number'.
- 4. Apply the SUM formula: Type '=SUM()' and select your range to instantly get the correct total without errors.

Frequently Asked Questions
Why do my numbers look like currency but act like text in Excel?
This often happens when data is imported from external software, copied from a website, or entered with a leading apostrophe. The software treats these entries as text strings, so mathematical functions like SUM ignore them and return zero.
Can a manual calculation setting cause the SUM formula to return 0?
Yes. If your spreadsheet's calculation mode is set to Manual, formulas will not update automatically when you change cell values. You can fix this by going to the Formulas tab, clicking Calculation Options, and changing it back to Automatic.
How do I remove hidden spaces that stop my SUM formula from working?
Hidden spaces before or after a number prevent it from being recognized as a value. You can use the TRIM function in an adjacent column (e.g., '=TRIM(A1)') and then copy and paste the results as 'Values Only' to remove the extra spaces.
Does using the VALUE function fix a SUM formula returning zero?
Yes, using the VALUE function (e.g., '=VALUE(A1)') converts a text string that represents a number into an actual number. You can create a helper column with the VALUE function and then use the SUM formula on that new column.




