Fix an Excel SUM Formula That Displays Instead of a Total
Question details
The user needs Excel to calculate a SUM formula and display its total in the cell.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A user enters a SUM formula to total a range of cells.
- Observed behavior
- The formula remains visible in the cell after Enter is pressed instead of displaying the calculated total.
Select the affected cell and check whether the formula begins with an equals sign, such as =SUM(A1:A5). Note whether other formula cells also display their formulas instead of results.
Change the formula cell from Text to General
Use this fix when Excel treats the SUM formula as text rather than calculating it.
Select the affected cell, then open the Number Format drop-down in the Number group on the Home tab.
Choose General or Number from the drop-down.
With the cell selected, press F2 and then Enter to make Excel evaluate the formula. If an apostrophe appears before the equals sign in the formula bar, remove it before pressing Enter.

Turn off Show Formulas in Excel
Use this fix if formulas are visible across the worksheet instead of their calculated results.
Set Excel calculation mode to Automatic
Use this fix if formulas show results but totals do not update when source values change.
Calculate a SUM total in WPS Spreadsheet
Open your workbook in WPS Spreadsheet, set the formula cell to a numeric format, and enter the SUM formula to display the total.
- 1. Open the workbook: Open WPS Spreadsheet and select Open to load your Excel workbook.
- 2. Set the cell format: Select the cell where you want the total, then use the Number Format menu on the Home tab to choose General or Number.
- 3. Enter the SUM formula: Click the cell or formula bar and enter a formula such as =SUM(A1:A5), replacing the range with the cells you want to add.
- 4. Display the total: Press Enter to calculate the formula and display the total in the selected cell.

Frequently Asked Questions
Why does Excel show my SUM formula instead of its result?
The cell may be formatted as Text, or Show Formulas may be enabled. Change the cell to General on the Home tab, then press F2 and Enter. Also check Formulas > Show Formulas.
Why does changing the cell format not immediately calculate the formula?
Changing the format alone may not re-evaluate an existing text entry. Select the cell, press F2, and then press Enter to evaluate it.
How do I make Excel update a SUM total automatically?
Go to Formulas > Calculation Options and select Automatic. Excel will then recalculate formulas when referenced values change.
Does a leading apostrophe affect a SUM formula?
Yes. A leading apostrophe makes Excel treat the entry as text. Select the cell, remove the apostrophe before the equals sign in the formula bar, and press Enter.




