To change to formula view in Excel, press Ctrl + ` (the grave accent key, usually located just above the Tab key) or go to the Formulas tab and click Show Formulas. This action toggles the display of your spreadsheet, replacing the calculated results in every cell with the actual formulas used to generate them, which is essential for auditing complex workbooks and verifying logic.
Formula view is a global setting for the active worksheet. When enabled, Excel expands the columns to ensure the full text of the formulas is visible, and it prevents the software from calculating the final value for display purposes. This allows you to see exactly which cells are being referenced across your entire sheet at a single glance, rather than clicking into individual cells one by one.
What You'll Need
- A computer with Microsoft Excel installed (Windows or macOS).
- An open Excel workbook containing formulas you wish to inspect.
Step-by-Step
- Open your Excel Workbook: Launch Excel and open the specific file you want to audit. Navigate to the worksheet where the formulas are located.
- Choose your method of activation: Depending on your preference, you can use the ribbon menu or a keyboard shortcut. Note that menu labels may differ slightly depending on your version of Excel or regional settings.
- Method A: Using the Ribbon Menu
- Click on the Formulas tab located in the top navigation ribbon.
- Look for the Formula Auditing group.
- Click the Show Formulas button. The button will remain highlighted while formula view is active.
- Method B: Using the Keyboard Shortcut
- Press and hold the Ctrl key (use the Command key on Mac).
- While holding Ctrl/Command, press the ` (grave accent) key. This key is typically found in the top-left corner of the keyboard, directly above the Tab key and to the left of the number 1.
- Verify the View: Once activated, you will notice that the cells no longer show numbers or text results. Instead, they will show strings starting with an equals sign (e.g.,
=SUM(A1:A10)). You will also see that your column widths have likely increased automatically to accommodate the length of the formulas. - Returning to Normal View: To switch back to the standard result view, simply repeat the process: either click the Show Formulas button again or press Ctrl + ` once more.
Common Mistakes
- Confusing Formula View with the Formula Bar: Some users try to find "formula view" by looking at the Formula Bar at the top of the screen. While the Formula Bar shows the formula for the selected cell, Formula View shows the formulas for all cells on the sheet simultaneously.
- Mistaking the Grave Accent for the Tilde: The shortcut uses the grave accent (
`), not the tilde (~), although they share the same key. Ensure you are pressing the key correctly. - Trying to Edit in Formula View: While you can edit formulas while in this view, it can be disorienting because you cannot see the resulting values of other cells to verify if your edit worked. It is generally better to use this view for auditing and the standard view for data entry.
- Assuming it Applies to the Whole Workbook: Formula view is worksheet-specific. If you have a workbook with five different tabs, enabling formula view on "Sheet 1" will not automatically enable it on "Sheet 2." You must activate it for each sheet individually.
Tips
- Print Your Formulas: If you need to provide documentation of your logic to a colleague or supervisor, enable Formula View and then print the sheet. This creates a hard copy of the "math" behind your data.
- Combine with Trace Precedents: For deep auditing, use Formula View in conjunction with the Trace Precedents tool (also found in the Formulas tab). This allows you to see the formula and the visual arrows pointing to the source data.
- Quick Column Adjustment: Because Excel expands columns in formula view, your layout might look messy. Once you return to normal view, you may need to double-click the boundary between column headers to "AutoFit" them back to their original size.
Troubleshooting
If your spreadsheet does not switch to formula view, try the following steps in order:
- Check for Protected Sheets: If the worksheet is protected, some view options may be restricted. Go to the Review tab and check if it says Unprotect Sheet. If it does, unprotect the sheet (you may need a password) and try the shortcut again.
- Verify Keyboard Layout: If you are using a non-US keyboard layout, the ` key may be in a different location or require a modifier key (like Shift). If the shortcut fails, rely on the Formulas > Show Formulas ribbon path.
- Check for Active Cell Editing: If you are currently typing inside a cell (the cursor is blinking inside the cell), Excel is in "Edit Mode" and will ignore ribbon commands and most shortcuts. Press Enter or Esc to exit the cell, then try again.
- Restart Excel: In rare cases, a glitch in the UI may prevent the ribbon from updating. Save your work, close Excel completely, and restart the application.
Frequently Asked Questions
Will changing to formula view delete my results?
No. Formula view only changes how the data is displayed on your screen. Your actual data and the results of your calculations remain intact and are simply hidden from view until you toggle the setting off.
Can I show formulas for only one specific cell?
Formula view is an "all or nothing" setting for the entire sheet. To see the formula for just one cell, simply click on that cell and look at the Formula Bar at the top of the Excel window.
Why did my columns get so wide when I turned this on?
Excel automatically expands the column width in formula view so that you can read the entire formula without it being cut off by the edge of the cell. This is a built-in behavior to make auditing easier.
Does this work in Excel Online (Web version)?
Yes, the functionality exists in the web version of Excel. You can find it under the Formulas tab by selecting Show Formulas, though keyboard shortcuts can sometimes vary depending on your browser's own shortcuts.
Is there a way to permanently show formulas in a template?
While you can save a workbook with formula view enabled, it is generally not recommended for templates intended for end-users, as they will see the logic instead of the intended results. It is better to keep this as a temporary view for the creator/auditor.