Excel Formulas Went Away? How to Fix Visible Formulas
In this article
If your Excel formulas have "gone away" and you are seeing the raw text (like =SUM(A1:A10)) instead of the calculated result, it is usually because the "Show Formulas" mode is toggled on or the cell is formatted as Text. To fix this immediately, press Ctrl + ` (the grave accent key next to the number 1) to toggle the view back to results, or change the cell format to General and press Enter in the formula bar.
What You'll Need
- A computer with Microsoft Excel installed (Windows or macOS).
- The specific workbook where the formulas are displaying as text.
- Keyboard access to use shortcut keys for faster troubleshooting.
Step-by-Step
- Check the Show Formulas Toggle: The most common reason formulas "disappear" and turn into text is that the Show Formulas mode has been accidentally activated. Go to the Formulas tab on the top ribbon. In the Formula Auditing group, look for the Show Formulas button. If it is highlighted, click it to turn it off. Your spreadsheet should immediately switch from showing the logic to showing the calculated values. Note that menu labels may differ slightly depending on your version of Excel or region.
- Use the Keyboard Shortcut: If you prefer shortcuts, press Ctrl + ` (Windows) or Command + ` (Mac). This is a global toggle for the entire worksheet. If you accidentally hit this key while typing, every single formula in your sheet will suddenly become visible, making it look like the results have vanished. Pressing it again restores the standard view.
- Verify Cell Formatting: If only a few specific cells are showing formulas while others show results, the problem is likely cell formatting. Right-click the problematic cell and select Format Cells. In the Number tab, check if the category is set to Text. If it is, Excel treats everything you type—including equals signs—as literal text rather than a command. Change the category to General or Number and click OK.
- Force the Formula to Recalculate: Simply changing the format from Text to General does not always trigger the calculation immediately. You must "wake up" the cell. Click into the formula bar at the top of the screen or double-click the cell to enter edit mode, then press Enter. This forces Excel to re-evaluate the content of the cell under the new General formatting.
- Check for Leading Spaces or Apostrophes: Look closely at the beginning of the formula in the formula bar. If there is a space before the equals sign (e.g., " =SUM") or a single quote/apostrophe (e.g., "'=SUM"), Excel will ignore the formula logic and display it as text. Delete any characters that appear before the equals sign and press Enter.
- Check Calculation Options: If the formulas are not showing as text, but the results are simply not updating (they are "stuck" on an old value), your calculation mode might be set to Manual. Go to the Formulas tab, click Calculation Options, and ensure Automatic is selected. If it was set to Manual, Excel will not update the results until you manually trigger a recalculation by pressing F9.
Common Mistakes
One of the most frequent mistakes users make is attempting to fix a "Text" formatted cell by simply changing the dropdown menu in the Home tab and expecting the result to appear instantly. As mentioned in the steps, changing the format only changes how future entries are handled; it does not retroactively calculate existing text. You must enter the cell and press Enter for each affected cell, or use a Find and Replace trick (replacing "=" with "=") to force a mass update.
Another common error is confusing "Show Formulas" with a broken link. If you see a formula like =VLOOKUP(...) but it returns an error like #REF! or #N/A, the formula hasn't "gone away"—it is working, but it cannot find the data. This is a data integrity issue, not a display setting issue. Always distinguish between seeing the formula text and seeing an error message.
Users also often forget to check for the apostrophe. Some software exports data into Excel and automatically adds a leading apostrophe to prevent Excel from changing the formatting of IDs or long numbers. When you try to write a formula in those exported columns, the apostrophe may be carried over, rendering the formula inert.
Tips
To prevent this from happening in the future, get into the habit of selecting your entire data range and setting the format to General before you begin writing complex formulas. This ensures that no legacy "Text" formatting from imported CSV files interferes with your logic.
If you are working with a very large dataset and hundreds of formulas have turned into text, don't edit them one by one. Use the Find and Replace tool (Ctrl + H). In the "Find what" box, type =. In the "Replace with" box, type =. Click Replace All. This effectively "re-enters" every formula in the sheet, forcing Excel to recognize them as calculations rather than text strings.
For those who frequently use the Ctrl + ` shortcut for auditing purposes, remember that this view is worksheet-specific. If you have a workbook with ten tabs, turning on "Show Formulas" in Sheet1 will not necessarily turn it on in Sheet2. You will need to toggle it for each individual sheet.
Troubleshooting
If you have tried the steps above and your formulas are still displaying as text, try these advanced checks in order:
1. Check for Circular References: Look at the bottom-left status bar of your Excel window. If it says "Circular References" followed by a cell address, your formula is trying to calculate itself. In some versions or specific settings, this can cause the formula to behave unexpectedly or fail to update the result. Fix the logic so the formula does not refer to its own cell.
2. Test in a New Workbook: Copy a problematic formula and paste it into a brand new, blank Excel workbook. If the formula works there, the issue is specific to the original workbook's settings or a corrupted sheet. If it still shows as text in a new book, the issue might be with how you are typing the formula (e.g., missing the equals sign entirely).
3. Disable Add-ins: Some third-party Excel add-ins can interfere with how cells are rendered. Try starting Excel in Safe Mode (hold the Ctrl key while launching the application). If the formulas display correctly in Safe Mode, one of your add-ins is causing the conflict. You can manage these via File > Options > Add-ins.
4. Check for Protected Sheet Settings: If the worksheet is protected, some formatting changes may be locked. Go to the Review tab and check if it says Unprotect Sheet. If it does, the sheet is protected. Unprotect it (you may need a password) and then attempt to change the cell formatting from Text to General.
Frequently Asked Questions
Why did my formulas suddenly turn into text?
This usually happens because the "Show Formulas" mode was toggled on via the Formulas tab or the Ctrl + ` shortcut, or because the cells were formatted as "Text" before the formulas were entered.
Does changing the format to General fix all cells at once?
Changing the format to General updates the cell's property, but it does not automatically trigger the calculation. You must either double-click the cell and press Enter, or use Find and Replace to refresh all equals signs.
Is there a difference between a formula and a value?
Yes. A formula is the underlying logic (e.g., =A1+B1) that tells Excel how to get a result. The value is the actual answer (e.g., 10) that is displayed in the cell when the formula is executed.
Can I show formulas for only one specific cell?
No, the "Show Formulas" toggle is a global setting for the entire worksheet. To see a single formula without affecting others, simply click the cell and look at the Formula Bar at the top of the screen.
What if my formula shows #VALUE! instead of the result?
This is not a display setting issue. A #VALUE! error means the formula is working, but the data types are wrong—for example, you are trying to add a number to a cell that contains a word.
Will the formulas show as text when I print the document?
Yes, if "Show Formulas" is active, Excel will print the raw formulas instead of the results. Ensure you toggle the view back to results before printing or exporting to PDF.