To show the actual formula text instead of the calculated result in Excel, press Ctrl + ` (the grave accent key, usually below Esc) on your keyboard. This toggles the worksheet between showing formulas and showing their results. Alternatively, use the Show Formulas button in the Formula Auditing group on the Formulas tab for a persistent view. This feature is useful for auditing, troubleshooting, or sharing formulas with others without revealing underlying calculations.
What You'll Need
- Microsoft Excel installed (Excel 2010 or later, including Microsoft 365 versions)
- A workbook containing at least one cell with a formula
- Keyboard access (for the shortcut)
Step-by-Step
- Open your Excel workbook and navigate to the worksheet where you want to display formulas as text instead of their results.
- Press Ctrl + ` (grave accent). This is the fastest way to toggle between formula view and normal view. You will see all formulas in the active sheet appear as text, with no calculated values. Press the same combination again to switch back.
- For a permanent toggle that stays active until you turn it off (without relying on keyboard shortcuts), go to the Formulas tab on the ribbon.
- In the Formula Auditing group, click the Show Formulas button (it looks like a spreadsheet with an equals sign
=inside a cell). The button will appear highlighted when active. All formulas in the current worksheet will now display as text in their respective cells. - To apply this to all worksheets, right-click any sheet tab at the bottom of the workbook, select Activate to ensure you’re on the correct sheet, then use the Formulas > Show Formulas method. Note: Excel applies the Show Formulas setting per worksheet, not per workbook. To show formulas across multiple sheets, you must repeat step 4 for each sheet individually.
- To print formulas as text, first enable Show Formulas using the steps above. Then go to File > Print. Your printed output will include the formulas, not their results. Confirm the preview before printing.
Common Mistakes
- Confusing the grave accent key: The shortcut requires the ` key (backtick), not the apostrophe (') or tilde (~) key. On non-U.S. keyboards, the location may differ—for example, on some UK keyboards, it’s Ctrl + ¬ (below Esc), or Ctrl + § on German layouts. If the shortcut doesn’t work, verify your keyboard layout or use the ribbon button instead.
- Assuming it applies to all sheets: The Show Formulas setting only affects the currently active sheet. Users often miss this and think the feature is broken when hidden sheets still show results.
- Using cell formatting to fake it: Some try to prefix formulas with a single quote (
') to force text display, but this prevents the formula from calculating at all. The Show Formulas toggle preserves calculation functionality while displaying the underlying code. - Forgetting to disable it before sharing: Leaving formulas visible when sending a workbook to others can expose sensitive logic or data sources. Always toggle back to normal view before distributing.
Tips
- Use the Trace Precedents and Trace Dependents buttons (also in Formula Auditing) alongside Show Formulas to map relationships between cells visually.
- Press Ctrl + ` repeatedly if nothing changes—you may need to ensure no other app (like OneNote or a screen capture tool) has hijacked the shortcut.
- For large workbooks, hide unnecessary rows/columns before enabling Show Formulas to reduce visual clutter.
- To quickly compare formulas side-by-side, copy the sheet with Show Formulas active to a new worksheet; the formulas will remain visible in the copy.
- Use Formula Bar visibility (View tab > Show group > check Formula Bar) to read long formulas more easily while in formula view.
Troubleshooting
- Shortcut does nothing: First, ensure Excel is the active window and no other application (like a macro recorder or remote desktop tool) is intercepting the keys. Try Ctrl + Fn + ` on laptops, where Fn is required for function keys and special symbols. If still failing, use the ribbon button instead.
- Only some cells show formulas: Check if those cells were pre-formatted as text. If a cell starts with an apostrophe (
'), Excel treats its contents as literal text and ignores formulas. Remove the apostrophe and re-enter the formula. - Formulas still show results after toggling: Verify that Show Formulas is unchecked in the ribbon (Formulas > Formula Auditing). If the button appears pressed, click it again. Also, check if Calculation Options (Formulas tab > Calculation group) is set to Automatic; Manual mode can cause confusion but does not override the formula display toggle.
- Printed output shows results, not formulas: Ensure Show Formulas was active before opening the Print Preview or clicking Print. Changing the view after opening Print Preview may not update the preview correctly.
- Workbook opens in formula view unexpectedly: This can happen if Show Formulas was enabled when the file was last saved. To prevent this, disable the view, save the file, and reopen.
Frequently Asked Questions
Does Show Formulas affect cell references in other formulas?
No. It only changes how cells are displayed. Formulas still calculate correctly and maintain all references. Other cells referencing the formula cell will still pull the calculated result, not the formula text.Can I show formulas in a protected worksheet?
Yes, but only if the sheet protection allows format cells. If protection is enabled, go to Review > Unprotect Sheet (enter password if needed), enable Show Formulas, then re-protect if desired. Alternatively, use the Allow Users to Select Locked Cells and Allow Users to Format Cells options when applying protection.Why do some formulas appear with #NAME?
This is unrelated to the Show Formulas toggle. The#NAME? error means Excel cannot recognize a name or function in the formula—often due to a misspelled function (e.g., SUMM) or an undefined named range. Check the formula syntax when in formula view.
Is there a way to export formulas to a text file?
Yes. Enable Show Formulas, select the range of cells, copy (Ctrl + C), open Notepad, and paste (Ctrl + V). The text will include the raw formulas. For larger ranges, paste into Excel first to ensure line breaks align properly.Does this work in Excel Online or mobile apps?
In Excel on the web (Excel Online), the Show Formulas button is available under Formulas > Formula Auditing on the ribbon. On Excel mobile apps (iOS/Android), the toggle is not accessible through the UI; you must open the file on a desktop to use this feature.Will Show Formulas work with array formulas or dynamic arrays?
Yes. Dynamic array formulas (likeFILTER, UNIQUE, or spilled ranges) display as a single formula in the top cell of the spill range, preceded by =, and subsequent cells show #N/A until you edit or evaluate them. The toggle applies to the formula bar and cell display as expected.