In this guide
If Google Sheets SUM returns zero or a smaller total than expected, check whether the amounts are stored as text. Imported values can look numeric without being numbers that SUM includes in a range.
Example verification: These are synthetic examples with expected results. The steps have been reviewed against documentation but not yet tested in Google Sheets.
When Google Sheets SUM Returns Zero: Check the Values
Confirm that the formula points to the intended cells, for example =SUM(A2:A4). Make sure the values do not legitimately add to zero. Then put this formula in an empty neighboring cell:
=ISNUMBER(A2)
TRUE means the referenced value is numeric. FALSE means it is not numeric; inspect whether the cell contains text, a blank, or another type of value. The ISNUMBER function is a better check than left or right alignment because alignment can be changed manually [1].
Try a small synthetic example in a blank sheet. Enter the following in cells A2 to A4, with the initial apostrophe so they are treated as text:
'120
'80
'50
The cells display 120, 80 and 50. SUM over the range is expected to ignore those text values, while ISNUMBER should return FALSE for each cell [4]. The intended total is 250. If you have a mixture of real numbers and text values, you may get a nonzero but incomplete total instead.
Step 2: Convert simple numeric text without overwriting the original
Use a new column for the conversion so you can compare the old and new values. In B2, enter:
=IF(A2="","",IF(ISNUMBER(A2),A2,VALUE(TRIM(A2))))
Fill the formula down. This version leaves empty cells empty, keeps numbers unchanged, and tries to convert simple text amounts. It uses the English function names and comma-separated arguments typical of a US-locale sheet. Use semicolons instead if your sheet requires them.
Google documents VALUE as a conversion function for recognizable numeric and date/time strings [2]. This is why you should apply it to a column that is actually supposed to contain amounts, not to arbitrary product IDs or dates.
The expected result is 120, 80 and 50 in B2:B4. Check =SUM(B2:B4); it should be 250 for the sample. Also run ISNUMBER on the converted cells.
Step 3: Diagnose values that still produce errors
Do not hide conversion errors with IFERROR(…,0). That can make missing or invalid amounts disappear from your totals.
Common cases:
- Ordinary leading or trailing spaces: TRIM may be enough.
- Nonbreaking spaces copied from web pages: TRIM does not remove them [3]. If you have confirmed the space is a nonbreaking space at the edges, try =VALUE(TRIM(SUBSTITUTE(A2,CHAR(160),” “))). Other invisible characters may need a different treatment.
- Currency text or codes: inspect the original string and confirm the currency. A numeric amount with currency formatting is different from text containing a currency symbol or code. Remove a known literal only if that transformation is correct for every affected row.
- Mixed decimal conventions: a value such as 1,250 may mean 1250 or 1.25, depending on the source. Check the source locale before converting or replacing separators.
- Dates or IDs: do not convert them just to make a sum work. A date might become a serial number, and an identifier can lose meaningful leading zeros.
Step 4: Validate the corrected amounts
Compare =COUNT(B2:B4) with the expected number of numeric amounts. Inspect blank or error cells individually. Check a few values against the original report and verify the total with an independent calculation or known control total.
Once the results are correct, you can continue using the helper column or copy it and paste values only into a new clean range. Keep a backup of the source data until you are satisfied with the conversion.
If ISNUMBER was already TRUE
The text-conversion method is not the answer if all the intended amounts are numeric. Check that the formula includes the correct rows, that positive and negative amounts have not cancelled out, and that display rounding is not hiding a small nonzero result. If your intention is to total only filtered visible rows, investigate SUBTOTAL rather than changing the underlying values.
Use a mixed-range check to catch incomplete totals
A total above zero can hide the same issue. In a scratch range, use the number 120, the text ’80 and the number 50. The intended total is 250, but the original range is expected to sum to 170 because its middle value is text. COUNT should report two numeric values while COUNTA reports three populated values for this particular sample. Check the middle cell individually before you convert it. [4, 5]
If Google Sheets SUM returns zero, compare counts as well as sums. If the number of numeric cells is lower than the number of values you expected, isolate the suspect rows with ISNUMBER before converting anything. The count difference is a diagnostic hint. COUNTA also counts whitespace and zero-length strings, so neither the difference nor the sum tells you which of those cells contains a valid amount. A blank may represent a missing amount that needs follow-up. [1, 5]

Choose between the full total and the visible total
Keep two separate checks when you are reconciling a filtered report. Use SUM on the cleaned range for the overall total. If the report should reflect rows left visible after filtering, use SUBTOTAL on that same range. Google describes 9 as the SUM operation and 109 as the variant that also skips manually hidden rows. Rows hidden by filter criteria are excluded by SUBTOTAL for both codes. [6]
For the converted sample, expect 250 with all three amounts visible. If a filter hides only the 80 row, expect 170 from SUBTOTAL and 250 from SUM. Test with known values before using either figure in a report. A disagreement after filtering can reflect intentional scope rather than a bad conversion.
Finally, reconcile a handful of source values with the cleaned column, including the biggest amount and any zeros. A date-like string can produce a number through VALUE, so a numeric count of three only confirms type. It doesn’t prove that you recovered the intended amounts. Keep exception rows for review and compare the totals to a trusted input. [2]

Sources
[1] Google Docs Editors Help, ISNUMBER: https://support.google.com/docs/answer/3093296?hl=en
[2] Google Docs Editors Help, VALUE: https://support.google.com/docs/answer/3094220?hl=en
[3] Google Docs Editors Help, TRIM: https://support.google.com/docs/answer/3094140?hl=en
[4] Google Docs Editors Help, SUM: https://support.google.com/docs/answer/3093669?hl=en
[5] Google Docs Editors Help, COUNTA: https://support.google.com/docs/answer/3093991?hl=en
[6] Google Docs Editors Help, SUBTOTAL: https://support.google.com/docs/answer/3093649?hl=en-GB



