Fix Excel Formula Displaying as Text Instead of Returning a Value
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.
Ensure your worksheet is not protected, as this might restrict you from changing cell formatting or editing formulas properly.
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.
Click on the cell where the formula is displaying as text instead of calculating.
Go to the Home tab on the ribbon. In the Number group, click the dropdown menu and select General.
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.

Turn Off the Show Formulas Feature
Use this solution if all formulas across the entire worksheet are visible instead of their calculated values.
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. Open WPS Spreadsheet: Launch WPS Office and open your spreadsheet document.
- 2. Check Cell Format: Select your target cell, go to the Home tab, and ensure the cell format is set to General.
- 3. Enter Your Formula: Type your formula and press Enter. WPS Spreadsheet will automatically calculate and display the correct result.

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'.




