How to Fix Excel Formulas Converted to Text Instead of Calculating
Question details
Users need to resolve an issue where spreadsheet formulas are displaying as plain text strings rather than executing the intended calculations.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Editing, entering, or copying formulas (such as COUNTIFS) into spreadsheet cells.
- Observed behavior
- Formulas revert to or display as plain text instead of calculating and showing the numerical result.
Before troubleshooting, click on the affected cell and check the formula bar to ensure there are no accidental spaces or apostrophes right before the equals sign.
Change Cell Formatting to General and Recalculate
This is the most common fix. If a cell is formatted as 'Text', Excel will not calculate formulas entered into it.
When a cell's format is set to Text, the software interprets any formula entered exactly as typed, ignoring the mathematical operations. Changing the format back to General and forcing a recalculation will resolve this.
Highlight the specific cell or range of cells where the formulas are displaying as text.
Navigate to the 'Home' tab on the ribbon. In the Number group, click the dropdown menu and select 'General'.
For a single cell, double-click the cell (or press F2) and press Enter. For multiple cells, keep the range selected, press Ctrl+H to open Find and Replace. Enter '=' in the 'Find what' box, and '=' in the 'Replace with' box, then click 'Replace All'.

Disable the 'Show Formulas' Feature
Use this solution if all formulas across your entire worksheet are displaying as text instead of their calculated results.
Remove Leading Apostrophes
Sometimes an apostrophe is manually or automatically added before the equals sign, which forces the software to treat the formula as text.
Manage and Calculate Formulas Flawlessly in WPS Spreadsheet
WPS Office provides a highly compatible and intuitive spreadsheet tool that makes formatting cells and calculating complex formulas seamless. Avoid frustrating formatting glitches with its smart data recognition.
- 1. Open your file in WPS Office: Launch WPS Spreadsheet and open the document containing the uncalculated formulas.
- 2. Format cells correctly: Select the affected cells, right-click, choose 'Format Cells', and select 'General'.
- 3. Refresh your calculations: Use the shortcut Ctrl+H to open Find and Replace. Replace '=' with '=' to instantly force WPS to recalculate the selected range.

Frequently Asked Questions
Why did my Excel formula turn into text after I copied it?
This usually happens because the destination cell you pasted into was already formatted as 'Text'. When you paste a copied formula into a Text-formatted cell, the software treats the formula as a standard character string. Change the destination cell's format to 'General' and press Enter to fix it.
Is there a keyboard shortcut to quickly toggle the 'Show Formulas' mode?
Yes, you can press Ctrl + ` (the grave accent key, usually located below the Esc key on standard keyboards) to quickly toggle between showing your formula calculations and displaying the formulas themselves.
Why are my formulas not updating automatically when I change data?
Your workbook might be set to Manual Calculation mode. To fix this, go to the 'Formulas' tab, click on 'Calculation Options' in the Calculation group, and change it from 'Manual' to 'Automatic'.




