logo
search
Formula Errors

How to Fix Excel Displaying a Formula Instead of Calculating It

Camila MilosovichCamila Milosovich Oct 10, 2026 868 views

Question details

The user needs to resolve an issue where Excel displays the raw formula text in a specific cell instead of showing the calculated result.

How to Fix Excel Displaying a Formula Instead of Calculating It
Product
Excel
Device & OS
not provided
Scenario
The user enters a formula into a cell expecting a mathematical result, but the cell only outputs the written formula characters.
Observed behavior
Excel shows the formula as plain text in the affected cell, while other formulas in the spreadsheet might continue to calculate and display normally.
Before you start

Check whether the 'Show Formulas' mode is accidentally enabled for the entire worksheet by pressing the keyboard shortcut Ctrl + ` (grave accent) to rule out a global display setting before troubleshooting individual cells.

Solution 1Recommended

Change the Cell Format to General and Re-enter the Formula

This is the primary fix when a specific cell is accidentally formatted as Text, which forces Excel to treat mathematical formulas as plain characters.

When a cell's number format is set to 'Text', Excel will not evaluate anything typed inside it, including formulas starting with an equals sign (=). Adjusting the format to 'General' resolves this, but you must trigger Excel to recalculate the cell afterward.

1
Select the affected cell

Click on the cell that is displaying the raw formula text instead of the calculated result.

2
Change the number format

Navigate to the Home tab on the Excel ribbon. In the Number group, click the format dropdown menu and change it from 'Text' to 'General'.

3
Re-enter the formula

Double-click the affected cell to enter edit mode, or click inside the Formula Bar at the top, and press Enter. Excel will now evaluate the formula and display the correct calculated result.

Change the Cell Format to General and Re-enter the Formula
Crucial Step: Simply changing the cell format to General is not enough on its own; you must interact with the formula (by pressing Enter in the formula bar) to force Excel to recognize the new format and perform the calculation.

Easily Manage Formulas and Calculations in WPS Spreadsheet

WPS Spreadsheet provides a seamless, highly compatible environment for your data analysis. Its intuitive interface makes it easy to correctly format cells and calculate complex formulas without frustrating formatting glitches.

  1. 1. Open your spreadsheet: Launch WPS Spreadsheet and open the workbook containing your formula errors.
  2. 2. Locate the affected cell: Find the cell showing the formula as text and select it.
  3. 3. Adjust cell formatting: Right-click the cell, select 'Format Cells', and choose 'General' under the Number tab.
  4. 4. Recalculate the result: Click into the formula bar at the top of the screen and press Enter to instantly calculate and display the correct formula result.
Fully compatible with Microsoft Excel (.xlsx, .xls) files and built-in formulas.Intuitive cell formatting options to easily prevent and fix text-formula display errors.Lightweight software that quickly calculates massive datasets without lagging.Free to use with a familiar, user-friendly interface for seamless migration.
microsoft office alternative - wps office

Frequently Asked Questions

Why do all cells in my Excel worksheet show formulas instead of results?

If all cells across the entire sheet display formulas instead of values, you likely have the 'Show Formulas' feature enabled. To toggle this off, go to the Formulas tab on the ribbon and click the 'Show Formulas' button, or simply press the Ctrl + ` keyboard shortcut.

Does manual calculation mode cause formulas to display as text?

No. If your calculation option is set to Manual, formulas might not update their values when referenced data changes, but they will still display as numbers (the last calculated result) rather than raw formula text. You can check these settings under Formulas > Calculation Options.

Can a leading apostrophe cause a formula to show as text?

Yes. If a formula begins with a single quote or apostrophe (e.g., '=SUM(A1:A5)), Excel intentionally treats the entire entry as plain text. Deleting the leading apostrophe from the formula bar will allow the formula to calculate properly.