ExcelReady
CourseFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before the interview. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Function guides
  • Blog

Product

  • Certificate

Company

  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Math
  3. Why Your Excel Total Is Wrong (and How to Fix It)

Why Your Excel Total Is Wrong (and How to Fix It)

By ExcelReady Team·Updated October 30, 2026·5 min read

The short answer

When Excel SUM is not working, the cause is usually one of three things: the range misses a row, some numbers are stored as text (SUM skips them), or the total cell is inside its own range, creating a circular reference. Check the range, compare =COUNTA and =COUNT on it, and end the range above the total.

Key takeaways

  • Check the range first: a row added below the data is not included automatically.
  • Numbers stored as text sit on the left of the cell and are skipped by SUM.
  • =COUNTA(range)-COUNT(range) counts the filled cells that aren't real numbers.
  • A total that includes its own cell is a circular reference and usually shows 0.
  • Hidden decimals, manual calculation and hidden rows can also make a total look wrong.
On this page+
  1. Why is my Excel SUM not working?
  2. Cause 1: the range misses a row
  3. Cause 2: numbers stored as text
  4. Cause 3: the total includes itself
  5. Other reasons your total looks wrong
  6. A quick checklist before you trust any total
  7. Practise it

When Excel SUM is not working, the formula usually isn't broken: it's adding exactly what you told it to, which isn't what you meant. Excel warns you when a formula fails, but not when it gives the wrong answer. This guide walks through the causes in the order to check them, using one small expense list with three hidden bugs.

Why is my Excel SUM not working?#

Most wrong totals come from three causes: a range that misses rows, numbers stored as text, and a total that counts itself. A few rarer causes are covered further down.

Here is the expense list. The total in B8 shows 2,985, but the real total is 3,256.

AB
1ExpenseAmount
2Rent2,400
3Utilities310
4Internet85
5Supplies142 (stored as text)
6Insurance190
7Software129
8Total=SUM(B2:B6) → 2,985

Nothing on the screen looks wrong. That's why you need a checklist.

Cause 1: the range misses a row#

Click the total and read its formula in the formula bar. Here it's =SUM(B2:B6), but the data runs to row 7. Someone added Software later, and the range never grew to include it.

Fix: edit the range so it covers every row:

Excel formula
=SUM(B2:B7)

The total becomes 3,114. Still not 3,256, because a second bug is hiding.

To stop this happening again, insert new rows inside the range (above the last row) rather than below it, and Excel expands the range for you. Or format the list as a Table, whose totals grow with the data. When you select the total cell, Excel also draws a coloured border around the range it uses, which makes a short range easy to spot. AutoSum guesses ranges for you, but it stops at gaps, so always check its guess.

Cause 2: numbers stored as text#

Look at B5. Its 142 sits on the left of the cell, while real numbers sit on the right. It is a number stored as text: Excel treats it as a word. This often happens with data copied from websites, PDFs or other systems, or typed with an apostrophe in front ('142). Excel may show a small green triangle in the corner.

SUM skips text without any warning. Prove it with COUNT, which counts only real numbers:

CheckFormulaResult
Real numbers in the list=COUNT(B2:B7)5
Filled cells=COUNTA(B2:B7)6
Filled but not numbers=COUNTA(B2:B7)-COUNT(B2:B7)1

Six expenses, five numbers: one is text. The third formula is a check you can reuse on any list. A clean column returns 0. COUNT, COUNTA and COUNTBLANK explains each function.

Fixes, from quickest to most flexible:

  • Retype the value. Select B5, type 142, press Enter.
  • Convert to Number. Select the cells, click the warning icon next to them and choose Convert to Number.
  • Use VALUE. In a helper column, =VALUE(B5) turns the text into the number 142.
  • Clean the data. Spaces or invisible characters from the web can also make numbers text. TRIM and CLEAN remove them; see clean messy data in Excel.

Once B5 is a real number, the total updates to 3,256.

One odd detail: =B2+B5 gives 2,542 even while B5 is text, because the + sign converts number-like text. SUM doesn't. That's why a total written with + can disagree with SUM on the same cells.

Cause 3: the total includes itself#

Now say a colleague changes B8 to =SUM(B2:B8). The range includes B8, the total itself. To work out the total, Excel would first need the total. This is a circular reference. Excel shows a warning, and the cell usually shows 0.

Fix: end the range one row above the total:

Excel formula
=SUM(B2:B7)

If you can't find the problem cell, go to Formulas, open the arrow next to Error Checking and point to Circular References. Excel lists the cells involved.

Other reasons your total looks wrong#

If the range, the text check and the circular reference are all fine, check these:

SymptomLikely causeFix
Total is a few cents offCells show rounded values, but Excel adds the full decimalsUse ROUND on each value; see how to round numbers in Excel
Total doesn't change when you edit a numberCalculation is set to ManualFormulas, Calculation Options, Automatic; or press F9
Cell shows =SUM(B2:B7) as textCell was formatted as Text, or Show Formulas is onSet the format to General and re-enter; press Ctrl+` to toggle Show Formulas
Total includes rows you hid or filtered outSUM adds hidden rows tooUse SUBTOTAL; see SUBTOTAL in Excel
Total is roughly doubleA subtotal row is inside the rangeKeep subtotals out of the range
Total shows #N/A or #VALUE!One cell in the range contains an errorFix the error in the source cell first

A quick checklist before you trust any total#

Run these four checks on any total before you send a report or finish a test:

  1. Read the range. Does it start at the first data row and end at the last?
  2. Count the numbers. Does =COUNT(range) match the number of rows you expect?
  3. Look at the alignment. Are any numbers sitting on the left?
  4. Sanity-check the size. Is the total roughly what you'd expect? A quick look at the largest and smallest values with MAX and MIN helps.

If you're still learning how SUM handles ranges, commas and blank cells, the beginner's guide to the SUM function and the SUM function reference cover the basics.

Practise it#

Spotting a wrong total is a skill you build by fixing real ones. Practise debugging SUM in a live spreadsheet: you'll fix the short range, find and convert the text number with COUNT, untangle a circular reference and build the reusable text check. Then try the exercise on this page.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

Something in this expense list is text. In E2, type =COUNTA(B2:B7)-COUNT(B2:B7) and press Enter to count the amounts that aren't real numbers.

fx
ABCDEF
1
Expense
Amount
2
Rent
2400
Text amounts
3
Utilities
310
4
Internet
85
5
Supplies
142
6
Insurance
190
7
Software
129
8
9
10

Tip: COUNTA counts every filled cell; COUNT counts only real numbers. Subtract one from the other on the same range.

Practise this in a lesson

LessonDebugging SUMFind the three bugs behind most wrong totals: a range that misses a row, numbers stored as text, and a total that counts itself.Function guideSUMAdd up columns, rows and separate ranges with Excel's SUM function. Clear examples, common mistakes and a live practice exercise.

Frequently asked questions

Why is my Excel SUM formula showing 0?

+

Either the numbers are stored as text, which SUM skips, or the formula includes its own cell and creates a circular reference. Convert the text to numbers, or end the range above the total.

Why does Excel show the formula instead of the result?

+

The cell was formatted as Text before you typed the formula, or Show Formulas is turned on. Change the format to General and re-enter the formula, or press Ctrl+` to turn Show Formulas off.

How do I convert numbers stored as text to numbers?

+

Select the cells, click the warning icon that appears and choose Convert to Number. You can also retype the values, or use =VALUE(B5) in a helper column.

Why doesn't my total update when I change a number?

+

Calculation is probably set to Manual. Go to Formulas, Calculation Options and choose Automatic, or press F9 to recalculate now.

Why is my SUM total off by a small amount?

+

The cells show rounded values but Excel adds the full decimals. Use ROUND on each value if the visible numbers must add up exactly.

Sources

  • SUM function - Microsoft Support
  • Convert numbers stored as text to numbers - Microsoft Support
  • Remove or allow a circular reference - Microsoft Support

Written and checked by the ExcelReady Team. First published October 30, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. Why is my Excel SUM not working?
  2. Cause 1: the range misses a row
  3. Cause 2: numbers stored as text
  4. Cause 3: the total includes itself
  5. Other reasons your total looks wrong
  6. A quick checklist before you trust any total
  7. Practise it

Keep reading

Math· 5 min read

The Excel SUM Function: A Beginner's Guide

The Excel SUM function adds numbers. Type =SUM( then the cells to add, then ), for example =SUM(B2:B5) to add B2 through B5. A colon makes a range, and a comma adds separate cells or ranges, like =SUM(B2,B4:B5). SUM skips text and empty cells, so it doesn't break on gaps.

Math· 5 min read

AutoSum in Excel: The Alt+= Shortcut Explained

The Excel AutoSum shortcut is Alt+= on Windows and ⌘+Shift+T on a Mac. Click the empty cell below a column of numbers, press the shortcut, and Excel writes a SUM formula with a guessed range, such as =SUM(C2:C5). Check the highlighted range, then press Enter to accept it.

Math· 5 min read

AVERAGE, MIN and MAX in Excel With Examples

AVERAGE returns the mean of a range, MIN returns the smallest number and MAX returns the largest. All three take the same input: =AVERAGE(B2:B6), =MIN(B2:B6) and =MAX(B2:B6). They skip empty cells and text but count zeros, and =MAX(B2:B6)-MIN(B2:B6) shows how spread out the values are.

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback. The first lessons are free, with no download.

Start learning for free