Curious Minds

Clear answers to science and history questions

How to Display Cell Formulas in Excel

· 6 min read · Science

To display cell formulas instead of their calculated results in Excel, press Ctrl + ` (the grave accent key, usually below Esc and to the left of the 1 key). This toggles the worksheet between showing formulas and showing values. You can also use Formulas tab > Show Formulas. This guide explains both methods, how to show formulas only in selected cells, how to print formulas, and how to fix common problems.

What You'll Need

  • Microsoft Excel (any modern version: 2016, 2019, 2021, or Microsoft 365) on Windows or Mac.
  • A worksheet that contains at least one formula (a cell starting with =).
  • Optional: a printer or PDF export tool if you want to print the formulas.

Step-by-Step

  1. Open your workbook and click the worksheet tab that contains the formulas you want to see.
  2. Toggle formulas on by pressing Ctrl + ` (Windows) or Control + ` (Mac). The grave accent key is usually located below the Esc key and to the left of the number 1 key. Every formula cell now shows its formula text instead of the result. Column widths may change automatically to fit the formulas.
  3. Alternatively, use the ribbon: go to the Formulas tab and click Show Formulas in the Formula Auditing group. The button stays highlighted while formulas are displayed.
  4. To view a single formula without switching the whole sheet, click the cell and look at the Formula Bar at the top of the window. The formula bar always shows the formula for the active cell, even when the sheet displays values.
  5. To show formulas only in specific cells (for example, a summary area), you cannot toggle per cell with Show Formulas. Instead, use one of these approaches: (a) format those cells as Text before entering the formula, so Excel treats the entry as text; (b) type an apostrophe before the equals sign (e.g., '=SUM(A1:A10)) to store the formula as text; or (c) use the FORMULATEXT function in a neighbouring cell, e.g., =FORMULATEXT(B2), which returns the formula of B2 as text. FORMULATEXT is available in Excel 2013 and later.
  6. To print the formulas, turn on Show Formulas, then go to File > Print (or press Ctrl+P). Excel prints the formula text as displayed. For best results, set the page orientation to Landscape and adjust column widths so long formulas are not cut off. You can also use Page Layout > Print Titles to repeat row and column headings.
  7. To turn formulas off, press Ctrl + ` again or click Show Formulas on the Formulas tab. The sheet returns to showing calculated values.

Common Mistakes

  • Pressing the wrong key. The shortcut uses the grave accent (`), not the single quote ('). On some keyboards the grave accent is a dead key; if Ctrl + ` does nothing, use the ribbon button instead.
  • Expecting Show Formulas to affect only selected cells. It applies to the entire worksheet. Selecting a range first does not limit it.
  • Forgetting that Show Formulas is a view setting, not a permanent change. It does not alter the formulas or their results. Saving the workbook while formulas are displayed saves the view state, so the next person who opens it may see formulas. Toggle it off before saving if you want values shown.
  • Confusing displayed formulas with text entries. A cell that shows =SUM(A1:A3) as text (because it was entered with an apostrophe or formatted as Text) is not a live formula. It will not calculate.
  • Printing without adjusting layout. Long formulas can be truncated in print preview. Widen columns or reduce font size before printing.
  • Using FORMULATEXT on a cell that contains no formula. It returns a #N/A error. Wrap it in IFERROR if needed: =IFERROR(FORMULATEXT(B2),"").

Tips

  • Use Ctrl + ` as a quick audit: it reveals hard-coded numbers mixed in with formulas, inconsistent formulas across a row, and broken references.
  • Combine Show Formulas with Trace Precedents and Trace Dependents (Formulas tab) to see which cells feed a formula and which cells depend on it.
  • If you need a permanent list of formulas for documentation, copy the formula cells and paste them as text into a new sheet or a text editor. Pasting values only would lose the formulas.
  • On Mac, the shortcut may require the Fn key depending on keyboard settings; the ribbon button is always reliable.
  • Show Formulas also works in Excel for the web, but the shortcut may differ; use the Formulas tab button.

Troubleshooting

  • Ctrl + ` does nothing. Check that the grave accent key is working and that you are not in cell edit mode (press Esc first). Try the ribbon: Formulas > Show Formulas. On some keyboards, the grave accent is combined with another key; use the ribbon instead.
  • Only some cells show formulas. Show Formulas is on, but cells formatted as Text or entered with a leading apostrophe display their content as text regardless. Also, cells containing values (not formulas) will show the value. Check the Formula Bar for the active cell to confirm whether it is a formula.
  • Formulas appear as text after toggling off. If a cell was formatted as Text before you entered the formula, Excel stores it as text. Re-enter the formula after setting the cell format to General.
  • Column widths changed and layout looks messy. This is normal; Excel widens columns to show formulas. Toggle off to restore. If you need to keep the layout, note the original widths or use a copy of the sheet for auditing.
  • Print preview cuts off formulas. Set the page to Landscape, reduce margins, or use Fit to Page (Page Layout > Scale to Fit). Alternatively, copy the formulas to a wider sheet for printing.
  • FORMULATEXT returns #N/A. The referenced cell does not contain a formula, or the function is not supported in your Excel version (pre-2013). Use IFERROR to handle it.

Frequently Asked Questions

Does Show Formulas change my formulas or results?

No. It only changes the display. The underlying formulas and calculated values remain unchanged. Toggling it off restores the normal view.

Can I show formulas in just one column or range?

Not with the Show Formulas toggle, which applies to the whole sheet. To display formula text in specific cells, use FORMULATEXT in adjacent cells, or store the formulas as text by formatting cells as Text or prefixing with an apostrophe.

Why do some cells still show results when Show Formulas is on?

Those cells likely contain values, not formulas, or they are formatted as Text and contain text that looks like a formula. Check the Formula Bar: if it shows a number or text without an equals sign, the cell is not a live formula.

How do I print formulas with row and column headings?

Turn on Show Formulas, then go to Page Layout > Print Titles > Sheet tab, and tick Row and column headings. Then print. Use Landscape orientation and adjust scaling to fit.

Is there a way to list all formulas in a workbook at once?

Excel does not have a built-in "list all formulas" report. You can use Show Formulas on each sheet, or use FORMULATEXT in a helper column next to each formula cell, then copy the results. Third-party add-ins exist but are not required.

Does the shortcut work in Excel for Mac?

Yes, but the key combination may be Control + ` (not Command). If it does not work, use the Formulas tab > Show Formulas button.

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions