The three amounts are 1,800, 600, and 180. Added by hand, 1,800 + 600 = 2,400, and 2,400 + 180 = 2,580. The total cell should show 2,580. These seven checks are the order to try when it shows something else.
=SUM(B2:B4)| A | B | |
|---|---|---|
| 1 | Item | Amount |
| 2 | Rent | $1,800 |
| 3 | Groceries | $600 |
| 4 | Utilities | $180 |
| 5 | Total | $2,580 |
| 6 | Is formula | TRUE |
| 7 | Formula text | =SUM(B2:B4) |
SUM adds the three numbers. ISFORMULA is TRUE when the cell holds a formula. FORMULATEXT returns =SUM(B2:B4). Both test functions are in Excel 2013 and later, including Microsoft 365. In Excel 2010, use the formula bar and the Number format box for the same two facts.
1. Calculation is set to Manual
Change groceries from 600 to 650. ISFORMULA stays TRUE, and FORMULATEXT still returns =SUM(B2:B4). The total cell still shows 2,580. The status bar says Calculate.
Press F9, or on the Formulas tab choose Calculate Now. The total becomes 2,630. That is 1,800 + 650 + 180.
=SUM(B2:B4)| A | B | |
|---|---|---|
| 1 | Item | Amount |
| 2 | Rent | $1,800 |
| 3 | Groceries | $650 |
| 4 | Utilities | $180 |
| 5 | Total | $2,630 |
Then set Calculation Options, on that same Formulas tab, to Automatic, and save the file. Shift+F9 calculates the active sheet. F9 calculates the open workbooks.
Calculation mode is an Excel setting, and each workbook stores the mode it was saved with. Open this file when no other workbook is open and Excel uses the mode saved in the file. Another workbook already open keeps the mode Excel is already using. A third choice on that menu, Automatic Except for Data Tables, still calculates an ordinary SUM. A data table on the sheet waits until you press F9.
2. The formula was stored as text
The total cell shows the characters =SUM(B2:B4). ISFORMULA is FALSE. FORMULATEXT returns #N/A, which is what it returns when the cell has no formula to quote. The Number format is Text.
- Select the total. The formula bar shows
=SUM(B2:B4)with the equals sign first. - Press Ctrl+1 (Command+1 on a Mac) and set the format to General. The cell still shows the formula.
- Press F2, then Enter. On a Mac, click the formula bar and press Return.
The cell now shows 2,580. ISFORMULA is TRUE. The longer walk-through of a formula stored as text is Why your Excel formula shows as text.
3. Show Formulas is on
ISFORMULA is TRUE, and the cells still display formulas. On the Formulas tab, turn Show Formulas off. The keyboard toggle is Ctrl plus the grave accent, the key above Tab. On a Mac it is Control plus that same key. Press it again to turn the mode back on. With the mode off, the total displays 2,580.
4. An apostrophe or a space is in front of the equals sign
The cell shows =SUM(B2:B4) and hides the character that made Excel store text. The formula bar shows it. An apostrophe looks like '=SUM(B2:B4). A space is a blank and then =SUM(B2:B4). Delete that character and press Enter. The cell shows 2,580, and ISFORMULA is TRUE.
5. The equals sign is missing
The formula bar shows SUM(B2:B4) with no equals sign and no apostrophe. Excel stored a label. ISFORMULA is FALSE, and FORMULATEXT returns #N/A. Type the equals sign in front of SUM and press Enter. The cell shows 2,580.
6. The total includes its own cell
The formula in B5 is =SUM(B2:B5). The range includes B5, so the formula refers to itself. Excel warns about a circular reference. With iterative calculation turned off, B5 shows 0, and the status bar names B5. Change the formula to =SUM(B2:B4). The cell shows 2,580.
Iterative calculation is off unless you turned it on. Leave it off for this total. A total that includes itself is the wrong range, and iteration would hand back some other number.
7. The amounts are text
The total is a formula, ISFORMULA is TRUE, and the result is 0. SUM skips text. It returns 0 for this column, and it returns no error. Text sits on the left of the cell. A number sits on the right.
=VALUE(B2)| A | B | C | |
|---|---|---|---|
| 1 | Item | Imported | Number |
| 2 | Rent | 1800 | 1800 |
| 3 | Groceries | 600 | 600 |
| 4 | Utilities | 180 | 180 |
| 5 | Total | 0 | 2580 |
VALUE converts one text amount in a US workbook. =VALUE("1800") is 1800, =VALUE("600") is 600, and =VALUE("180") is 180. The sum of those three numbers is 2,580. The formula stored as text page uses the same SUM-and-VALUE repair on imported amounts that include a dollar sign.
The workbook for a year of category totals is the annual budget planner.