If your Excel SUM formula won't work, the cause is almost always one of four things: the numbers are stored as text, the formula is written wrong (for example =SUM(A1:A10 missing a bracket, or a mistyped range), there is a circular reference, or calculation is set to Manual so the cell never updates. The fastest fix is to click the cell, press F2 and Enter to force a recalc, then check whether the values in the range are left-aligned with a green warning triangle (that means text, not numbers). If both checks pass, the problem is in the formula syntax or the range itself.

This guide walks through diagnosing a broken SUM in order, from the most common and quickest fixes to the rarer ones, so you stop guessing and find the actual cause. Everything below works in Excel for Microsoft 365, Excel 2021, Excel 2019 and Excel for Mac; Excel for the web has the same core behaviour, though a few menus sit in different places.

What You'll Need

  • Excel open on the workbook with the problem formula (desktop app recommended for the diagnostics below).
  • The cell containing your SUM formula, and the range it is meant to add up.
  • Permission to edit the file - a read-only or protected sheet blocks changes silently.
  • Optionally, a spare blank cell to test values and check whether they are true numbers.

Step-by-Step

  1. Force a recalculation first. Select the formula cell, press F2 then Enter. If the total suddenly appears, your workbook was simply out of date. To make this permanent, go to Formulas > Calculation Options and make sure Automatic is selected. If Manual is ticked, that alone explains a stale, unchanged total.
  2. Compare what you see with what Excel sees. Click an empty cell and type =ISNUMBER(, click one of the cells inside your SUM range, close the bracket and press Enter. A result of TRUE means that cell is a real number. FALSE means it is text, which SUM silently ignores. Test two or three cells across the range, not just the first.
  3. Look at alignment and warning triangles. Real numbers right-align by default; text left-aligns. A small green triangle in the top-left corner of a cell is Excel flagging a possible problem - click the cell, then click the warning icon that appears and choose Convert to Number if that option is offered. Numbers pasted from websites, exported CSVs or copied from other systems are the usual culprits.
  4. Remove hidden spaces and non-breaking characters. A number can look clean and still contain a leading space or a non-breaking space from a web copy. Use Find and Replace (Ctrl+H on Windows, Cmd+H on Mac) with a single space in Find what and nothing in Replace with, then Replace All on the range. Recheck with ISNUMBER. If carriage returns are present, =TRIM(CLEAN(A1)) in a helper column will strip them, and you can paste the cleaned values back as values.
  5. Rewrite the formula cleanly. Select the formula cell and check the formula bar closely for: a missing closing bracket, comma versus semicolon separators (some regional settings use semicolons), a range that points at the wrong sheet, and a typo such as =SUMM(A1:A10) or =SUM(A1;A10) where a range separator was needed. Retype the whole formula rather than editing it. A correct basic form is =SUM(A1:A10).
  6. Check the range covers the data. If rows were inserted below the original range, or data was pasted outside it, the SUM may stop short. Select the range in your formula and press Ctrl+Shift+$ is not needed here - instead use Formulas > Trace Precedents or simply look at the highlighted border on the sheet when you edit the formula. Resize the range to cover the full column of data.
  7. Look for circular references and error values. If the formula includes the cell it lives in, Excel shows a circular reference warning and returns 0 or a wrong number. Move the formula out of the summed range. Also check whether any cell in the range contains an error like #N/A, #VALUE! or #REF! - SUM returns an error if any input is an error, so the problem may be upstream, not in the SUM at all.
  8. Confirm the cells are not filtered, hidden or grouped oddly. SUM adds hidden and filtered rows too, so if the total looks too high rather than too low, this is expected behaviour. Use SUBTOTAL with function number 9 instead to ignore filtered-out rows. For totals that should ignore hidden rows as well, SUBTOTAL with 109 handles that case.
  9. Check for stray apostrophes and formatted text. A cell that starts with an apostrophe is always treated as text, even if it looks numeric. Remove the apostrophe in the formula bar. Text-formatted cells (Formatted as Text before you typed) behave the same way: change the format to General or Number, then re-enter the value - changing the format alone does not convert existing text.
  10. Rule out sheet protection and locked cells. If the formula will not recalculate at all, or you cannot edit it, the sheet may be protected. Review > Unprotect Sheet (you will need the password if one was set) will confirm it. In shared workbooks, conflicts can also leave a total stale.

Common Mistakes

  • Pasting numbers from a website or PDF and assuming they are numeric - they are usually text.
  • Typing =SUM(A1,A10) when you meant =SUM(A1:A10). The comma version adds only two cells.
  • Including the formula cell in its own range, which creates a circular reference.
  • Leaving calculation on Manual after a large workbook slowed down, then forgetting it.
  • Changing a text cell's format to Number and expecting the value to convert - it does not; you must re-enter it.
  • Assuming a small total means SUM is broken when in fact half the range is text and was skipped.

Tips

Use Ctrl+` (the key above Tab, or Ctrl+grave on Mac) to toggle Show Formulas and see every formula on the sheet at once - useful for spotting which cells are formulas and which are typed values. The Status Bar at the bottom of the window shows Sum, Average and Count for any selected cells; if that Sum matches your expectation but the formula does not, the formula's range is wrong. Selecting the range and looking at Count tells you how many numeric cells Excel found, versus CountA which counts non-empty cells - a gap between the two is your text cells. Finally, when building reports, prefer tables (Insert > Table) so ranges expand automatically and you avoid the inserted-rows problem entirely.

Troubleshooting

If the total is still zero after all of the above, test SUM in a fresh blank cell with a tiny manual range: type =SUM(1,2). If that returns 3, SUM itself works and the issue is confined to your data or range. If it returns something else, your Excel file or installation may be at fault - save a copy and try in a new workbook.

If the formula shows as text in the cell rather than calculating, the cell is formatted as Text. Change the format to General, then press F2 and Enter. If a green triangle appears on the formula cell itself, click it and read the suggestion - Excel often states exactly what it thinks is wrong.

If the sum updates but is wrong by a consistent amount, compare the count of numeric cells against the count of rows you expect. A missing row inside the range is the usual cause. Use Formulas > Evaluate Formula to step through the calculation cell by cell and see exactly which values are being included.

If numbers appear to be correct but a few cents or decimals are off, this is floating-point rounding rather than SUM. Round the source values with ROUND, or wrap the total in =ROUND(SUM(A1:A10),2). Do not disable calculations permanently to hide it.

Frequently Asked Questions

Why does SUM return 0 when there are clearly numbers in the cells?

Almost always because those numbers are stored as text, or because calculation is set to Manual and the value is stale. Check with ISNUMBER and the Calculation Options setting.

Why does my SUM formula show the formula text instead of a result?

The cell is formatted as Text. Change the format to General, then press F2 and Enter to force Excel to parse it as a formula.

Why does SUM ignore some cells in my range?

SUM skips text, blanks and logical values in a range. Cells that hold text-formatted numbers or stray spaces will be silently left out, which is why the total looks low but no error appears.

Does SUM add hidden or filtered rows?

Yes, SUM includes them. To exclude filtered-out rows use SUBTOTAL(9, range); to exclude manually hidden rows too, use SUBTOTAL(109, range).

Why do I get a circular reference warning?

The formula's range includes the cell where the formula sits. Move the formula outside the summed range or adjust the range so it does not contain itself.

Can I fix text numbers without retyping each one?

Yes - select the range, use Data > Text to Columns and click Finish, or multiply the range by 1 using Paste Special > Multiply. Both convert text that looks like a number into a real number.