Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Display All Formulas in Excel

· 7 min read · Smart Home

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

To display all formulas in Excel instead of their calculated results, press Ctrl + ` (the grave accent key, usually above the Tab key). This toggles the worksheet into formula view, showing every formula in its cell. Press the same shortcut again to switch back to normal view. This works in Excel for Microsoft 365, Excel 2021, 2019, 2016, and earlier versions on Windows. On a Mac, use Control + ` (or Command + ` on some keyboard layouts).

What You'll Need

  • An Excel workbook with formulas already entered.
  • Access to the keyboard (the shortcut is the fastest method).
  • If you prefer the ribbon, any recent Excel version with the Formulas tab.

Step-by-Step

Method 1: Keyboard Shortcut (Fastest)

  1. Open the Excel workbook that contains the formulas you want to see.
  2. Press Ctrl + ` (on Windows) or Control + ` (on Mac). The grave accent key is located at the top-left of the keyboard, below the Esc key and above the Tab key.
  3. All cells that contain formulas will now show the formula text instead of the calculated value. Columns will automatically widen to fit the longer text.
  4. Press the same shortcut again to return to the normal view showing results.

Method 2: Ribbon Option (Show Formulas)

  1. Open your workbook and go to the worksheet where you want to display formulas.
  2. Click on the Formulas tab in the ribbon at the top of the Excel window.
  3. Look for the Formula Auditing group (usually on the right side of the ribbon).
  4. Click the Show Formulas button (it has an icon that looks like a small spreadsheet with "fx" on it).
  5. All formulas on the current worksheet will appear. Click the button again to hide them and show results.
  6. Note: This button only affects the active worksheet. If you have multiple sheets, you need to repeat this for each sheet.

Method 3: Excel Options (Show Formulas in All Sheets)

  1. Click on File in the top-left corner, then select Options (or Excel Options on some versions).
  2. In the Excel Options dialog box, select the Advanced category on the left.
  3. Scroll down to the Display options for this worksheet section.
  4. Check the box next to Show formulas in cells instead of their calculated results.
  5. Choose the worksheet from the dropdown if you have multiple sheets (the option applies to one sheet at a time).
  6. Click OK. This applies the setting to the selected sheet, and you can repeat for other sheets if needed.

If you want to print the formulas, use any of the methods above to show formulas, then go to File > Print. The printed output will show formulas instead of results. Make sure the print area includes all cells with formulas.

Common Mistakes

  • Pressing the wrong key: The grave accent (`) is not the apostrophe ('). The apostrophe key is next to the Enter key, while the grave accent is above the Tab key. Pressing the wrong key will do nothing or open a different feature.
  • Expecting the shortcut to work on all sheets at once: The keyboard shortcut and the ribbon button only affect the current worksheet. If you switch to another sheet, you'll see results again. Use the Excel Options method to apply to a specific sheet permanently, or repeat the shortcut on each sheet.
  • Forgetting to toggle back: If you leave formula view on and then edit cells, you might accidentally overwrite formulas with text. Always toggle back to normal view after reviewing.
  • Thinking formulas are broken: When you see formulas displayed, Excel is not calculating them. This is normal. If you see #REF! or other errors in formula view, that's a separate issue.

Tips

  • Use the Ctrl + ` shortcut to quickly toggle between views while auditing a spreadsheet. It's much faster than navigating the ribbon.
  • When formulas are displayed, Excel automatically widens columns to show the full formula text. You can manually adjust column widths if needed, but they will revert when you toggle back.
  • If you only want to see formulas in a specific range, you can use the FORMULATEXT function. For example, in a cell next to your data, enter =FORMULATEXT(A1) to display the formula from cell A1 as text. This is useful for documentation.
  • To quickly identify all cells with formulas, use Go To Special. Press F5 (or Ctrl+G), click Special, select Formulas, and click OK. This selects all formula cells, and you can then apply a fill color to highlight them.
  • If you're sharing a workbook, consider showing formulas temporarily to help others understand the logic, then toggle back before sending.

Troubleshooting

The shortcut doesn't do anything. Make sure you're pressing the correct key. On some laptop keyboards, you might need to hold the Fn key (e.g., Fn + Ctrl + `). Also, check if your keyboard layout has the grave accent in a different location. If the shortcut still fails, use the ribbon method (Formulas tab > Show Formulas).

Formulas show, but they appear as text like "=A1+B1" without the equal sign being interpreted. This is normal in formula view. The equal sign is part of the formula and will be shown. If you see a leading apostrophe (') before the formula, that means the cell is formatted as text, not that formula view is active. Remove the apostrophe and re-enter the formula.

Only some formulas display, not all. The Show Formulas option applies per worksheet. If you're on a different sheet, you'll see results. Also, if a cell contains a value that looks like a formula but doesn't start with =, it's not a formula. For example, text like "SUM(A1:A5)" without the equal sign is just text.

After toggling back, column widths are messed up. Excel adjusts column widths to fit formulas when in formula view, but it doesn't always restore the previous widths. You can undo with Ctrl+Z immediately after toggling back, or manually adjust the columns.

Printing shows formulas, but they are cut off. When printing formulas, ensure the page setup is set to landscape and the scaling is set to fit all columns on one page. Go to Page Layout > Scale to Fit and adjust the width to 1 page.

Frequently Asked Questions

Does the Ctrl + ` shortcut work in Excel Online (web version)?

No, the keyboard shortcut does not work in Excel for the web. However, you can use the ribbon: go to the Formulas tab and click Show Formulas (if available). In some versions of Excel Online, this option may not be present; in that case, you can use the FORMULATEXT function to display individual formulas.

How do I show formulas in all sheets at once?

There is no built-in way to toggle formula view for all sheets simultaneously. You can either press Ctrl+` on each sheet individually, or use the Excel Options method (File > Options > Advanced > Display options for this worksheet) and select each sheet from the dropdown to apply the setting. Alternatively, you can use a simple VBA macro to loop through all sheets, but that requires enabling macros.

Why does Excel show formulas instead of results even after I toggle off?

If formulas remain visible, check if the cell is formatted as text. Select the cell, go to the Home tab, and change the number format to General. Then re-enter the formula by clicking in the formula bar and pressing Enter. Also, ensure the Show Formulas option is turned off in the Formulas tab.

Can I print formulas without showing them on screen?

Yes. You can set the print area to include the cells with formulas, then go to File > Print. Excel will print what is displayed on the screen. So if you have formula view on, it prints formulas; if off, it prints results. There is no separate print setting for formulas only.

What does the FORMULATEXT function do?

FORMULATEXT(reference) returns the formula in a given cell as a text string. For example, if A1 contains =SUM(B1:B5), then =FORMULATEXT(A1) will display "=SUM(B1:B5)" in the cell where you enter it. This is useful for creating documentation or auditing without toggling the whole sheet.

Are there any risks in showing formulas?

No, it's a display-only change. It doesn't alter any data or calculations. However, if you leave formula view on and accidentally type over a formula cell, you might replace the formula with text. Always toggle back to normal view before editing cells.