Formula Errors

Fix Excel Formula Displaying as Text Instead of Returning a Value

Ayan MasoodAyan Masood Nov 3, 2026 870 views

Question details

The user needs to fix an issue where an entered Excel formula displays exactly as typed (e.g., =HVAC!B6) rather than calculating and showing the result.

Product
Excel
Device & OS
not provided
Scenario
Entering a formula to reference another worksheet or perform a calculation in a template spreadsheet.
Observed behavior
The cell displays the formula string as plain text instead of evaluating it and returning the expected numerical or text value.
Before you start

Ensure your worksheet is not protected, as this might restrict you from changing cell formatting or editing formulas properly.

Solution 1Recommended

Change Cell Format to General and Re-evaluate

This is the most common fix when a single cell treats a formula as plain text due to its formatting settings.

If a cell is formatted as Text before you enter a formula, Excel will treat everything you type as a literal string. To fix this, you must change the format to General and then force Excel to re-evaluate the cell's contents.

1
Select the affected cell

Click on the cell where the formula is displaying as text instead of calculating.

2
Change the number format

Go to the Home tab on the ribbon. In the Number group, click the dropdown menu and select General.

3
Re-evaluate the formula

Double-click the cell, or press F2 on your keyboard to enter edit mode, and then press Enter. The formula should now calculate and display the correct value.

Change Cell Format to General and Re-evaluate
Bulk update for multiple cells: If you have an entire column of formulas displaying as text, select the column, change the format to General, then go to the Data tab, click 'Text to Columns', and immediately click 'Finish'.
Smart Spreadsheet Tool

Calculate Formulas Effortlessly with WPS Spreadsheet

WPS Spreadsheet handles complex formulas, cross-sheet references, and cell formatting with ease. Its intuitive interface ensures your calculations run smoothly without displaying as text by mistake.

  1. 1. Open WPS Spreadsheet: Launch WPS Office and open your spreadsheet document.
  2. 2. Check Cell Format: Select your target cell, go to the Home tab, and ensure the cell format is set to General.
  3. 3. Enter Your Formula: Type your formula and press Enter. WPS Spreadsheet will automatically calculate and display the correct result.
Fully compatible with Microsoft Excel (.xlsx) formats and formulasBuilt-in error checking for formulas and cross-sheet referencesFree to download and use for all your daily data analysis needs
microsoft office alternative - wps office

Frequently Asked Questions

Why does my formula show up as text when I type it?

This usually happens if the cell's formatting was set to 'Text' before you typed the formula. It can also occur if you accidentally typed a leading apostrophe (') before the equals sign, which forces Excel to treat the entry as text.

Can a space before the equals sign cause the formula to display as text?

Yes, if there is a space before the equals sign (e.g., ' =A1+B1'), Excel does not recognize it as a formula. It treats the entire entry as a text string. Removing the leading space will allow it to calculate.

Why do formulas not calculate automatically when I drag them down?

If formulas are returning values but not updating when copied or dragged down, your workbook calculation options might be set to 'Manual'. Go to the Formulas tab, click Calculation Options, and change it to 'Automatic'.