Excel Formula Viewer: See Formulas Fast
In this article
To view formulas in Excel instead of their results, press Ctrl + ` (the grave accent key, usually below Esc) on Windows or Control + ` on Mac. This toggles Show Formulas mode for the whole sheet. For a single cell, click it and read the formula in the formula bar. If you only want to see formulas in specific cells, use Formulas > Show Formulas or apply a custom number format. Below are the full steps, plus fixes for when formulas still appear as values.
What You'll Need
- Microsoft Excel for Windows or Mac (desktop version). The web version has limited formula viewing.
- A workbook that contains formulas. If you see only numbers, the cells may be hard-coded values.
- Optional: a keyboard with a grave accent key (`). On some non-US layouts this key is elsewhere.
Step-by-Step
- Open your workbook in Excel desktop. The steps below refer to the ribbon tabs; labels can differ slightly by version, device, or region.
- Toggle Show Formulas for the whole sheet: press Ctrl + ` (Windows) or Control + ` (Mac). Every formula cell now displays its formula text, and column widths may widen automatically. Press the same shortcut again to return to normal view.
- Or use the ribbon: go to the Formulas tab and click Show Formulas in the Formula Auditing group. This is the same toggle as the shortcut.
- View a single formula: click the cell and look at the formula bar at the top of the window. The formula bar always shows the underlying formula, even when the cell displays a result.
- See all formulas at once without toggling: select the range you care about, then use Formulas > Show Formulas. Only the active sheet is affected; other sheets keep their normal view until you switch to them and repeat.
- Print or copy the formulas: with Show Formulas on, use File > Print or copy the cells. The formulas are copied as text, so pasting into Word or Notepad gives you the formula strings.
- Turn it off by pressing the shortcut again or clicking Show Formulas once more. If you close the workbook while the mode is on, Excel may remember the setting for that sheet.
Common Mistakes
- Pressing the wrong key: the shortcut uses the grave accent (`), not the single quote ('). On some keyboards it sits next to the 1 key or below Esc.
- Expecting the web version to match desktop: Excel for the web does not have the same Show Formulas toggle. Use the formula bar or open the file in desktop Excel.
- Confusing values with formulas: if a cell shows a number and the formula bar also shows a number, the cell contains a hard-coded value, not a formula. Show Formulas will not change it.
- Forgetting other sheets: Show Formulas applies per sheet. Toggle it on each sheet you want to inspect.
- Leaving the mode on: formulas display as text, so charts and calculations still work, but the sheet looks unusual. Toggle back before sharing.
Tips
- Use Formulas > Evaluate Formula to step through a complex formula and see each part's result.
- Press F2 to edit a cell and see its formula with color-coded references.
- To show formulas only in selected cells, apply a custom number format of
;;;to hide values, but this hides results rather than showing formulas. For true formula text, use Show Formulas. - If you need a list of all formulas, copy the sheet with Show Formulas on and paste into a text editor.
Troubleshooting
- Shortcut does nothing: your keyboard layout may map the grave accent differently. Use the ribbon button instead.
- Formulas still show as values: check that the cell actually contains a formula (look at the formula bar). If it does, ensure Show Formulas is on for that sheet. If the formula bar shows a value, the cell is not a formula.
- Show Formulas is greyed out: the sheet may be protected. Go to Review > Unprotect Sheet (password may be required).
- Formulas appear as text with an apostrophe: the cell may be formatted as Text. Change the format to General, then re-enter the formula.
- Excel for the web: use the formula bar; the Show Formulas toggle is not available there.
Frequently Asked Questions
How do I show formulas in Excel without changing the view?
Click each cell and read the formula bar. For a list, copy the range and paste into a text editor; formulas copy as text.
Why does Show Formulas not work on some cells?
Those cells likely contain values, not formulas. Check the formula bar; if it shows a number, the cell is hard-coded.
Can I print the formulas?
Yes. Turn on Show Formulas, then print. The printout will show formula text instead of results.
Does Show Formulas affect other sheets?
It applies to the active sheet only. Repeat the toggle on each sheet you want to inspect.
Is there a way to see formulas in Excel for the web?
Use the formula bar for individual cells. The full Show Formulas toggle is a desktop feature.
What if the formula bar is hidden?
Go to the View tab and tick Formula Bar in the Show group.