When authoring financial spreadsheets or data tables in Microsoft Excel, entering an equals sign followed by a function (such as =SUM(B2:B20) or =VLOOKUP(A2, D:E, 2, FALSE)) is expected to compute immediately and display the calculated result. However, users frequently encounter a frustrating issue where the cell simply displays the formula string itself (e.g. =SUM(B2:B20)) instead of calculating the numerical value, even after pressing Enter or recalculating the entire workbook.
Why Does Excel Display Formulas as Literal Text?
Excel evaluates input according to specific cell format rules and display modes. Primary causes include:
- Cell Formatted as “Text” Before Entry: If a cell’s number format is set to Text prior to typing the formula, Excel treats the leading equals sign as a literal text character rather than a mathematical trigger.
- Leading Space or Apostrophe: An inadvertent leading space (e.g.
=SUM(...)) or hidden apostrophe ('=SUM(...)) forcing Excel to render text. - “Show Formulas” Mode Toggled On: The workbook auditing mode that displays formulas instead of results was accidentally enabled via hotkey.
- Calculation Options Set to Manual: Workbook calculation preferences set to Manual rather than Automatic.
- Corrupted Number Format Metadata: Imported CSV or ERP data files retaining raw character strings.
Method 1: Change Cell Format from Text to General and Re-enter
Simply changing the cell format to General does not automatically trigger recalculation; you must force Excel to re-evaluate the string.
- Select the cell or column where formulas are displaying as plain text.
- On the Home tab, locate the Number format dropdown (which likely displays Text).
- Change the dropdown to General (or Number / Currency).
- Now, double-click inside the cell to place the cursor at the end of the formula, then press Enter.
- Excel will immediately evaluate the equals sign and display the calculated numerical output.
- To fix an entire column of text formulas at once: select the column, click Data > Text to Columns, and immediately click Finish without altering any options. This instantly converts all text formulas to active calculations.
Method 2: Turn Off “Show Formulas” Auditing Mode
Show Formulas is a diagnostic feature that toggles the entire sheet between displaying values and formula syntax.
- Click the Formulas tab in the Excel ribbon.
- In the Formula Auditing group, check whether the Show Formulas button is highlighted or active.
- Click Show Formulas once to turn it off.
- Alternatively, press the global toggle shortcut: Ctrl + ~ (Control plus the tilde / grave accent key).
- All cells across the active worksheet will instantly revert to displaying calculated figures.
Method 3: Remove Hidden Leading Spaces or Apostrophes
Examine the beginning of the formula string in the Formula Bar.
- Select the affected cell and glance at the Formula Bar above the spreadsheet grid.
- Ensure there is no space before the equals sign (e.g.
=SUMis text;=SUMis a formula). - Check for a leading apostrophe (
'), which instructs Excel to force-display the cell as literal text regardless of formatting. - Delete any leading characters so the formula starts with
=, then press Enter.
Method 4: Ensure Calculation Options Are Set to Automatic
If calculation is set to manual, Excel will not refresh formula outputs until prompted.
- Click the Formulas tab.
- Click Calculation Options on the far right of the ribbon.
- Ensure there is a tick mark next to Automatic (not Manual).
- If set to Manual, press F9 to recalculate the workbook immediately, then switch the option back to Automatic.
Method 5: Check for Wrapped Quotation Marks
Formulas copied from websites or word processors often include quotation marks around the entire formula.
- Verify the formula is not wrapped in outer quotes (e.g.
"=SUM(A1:A10)"). - Remove the outer double quotation marks.
- Ensure any quotation marks used inside formula arguments are standard straight ASCII quotes (
") rather than typographical curly quotes.