Smart Systems for Home

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

Excel Toggle Between Formula and Value

· 4 min read · Home Tech

In this article
  1. Formula vs. Value: What You're Actually Seeing
  2. How the Keyboard Shortcut Works
  3. Using the Ribbon and Other Methods
  4. Why Toggle Formulas? Common Use Cases
  5. Reading the Formula View
  6. Common Mistakes and Misconceptions
  7. Alternatives: FORMULATEXT and Other Tricks
  8. Frequently Asked Questions

To toggle between showing formulas and showing their calculated values in Excel, press Ctrl + ` (the grave accent key, usually above the Tab key). This keyboard shortcut switches the entire worksheet between displaying formulas and displaying results; the same toggle is also available on the ribbon under Formulas > Show Formulas.

Formula vs. Value: What You're Actually Seeing

When you enter =A1+B1 in a cell, Excel stores the formula and displays the result (the value) in the cell. The formula itself is visible in the Formula Bar when the cell is selected. Toggling "Show Formulas" changes what the cell displays: instead of the result, you see the formula text. This is a display-only change—the underlying formulas and values are not altered. The toggle applies to the entire active worksheet, not just a selected range.

How the Keyboard Shortcut Works

The shortcut Ctrl + ` is a simple on/off switch. Press it once to show all formulas, press it again to return to values. The grave accent key (`) is located in the top-left corner of most keyboards, below the Esc key and to the left of the 1 key. On some laptop keyboards, you may need to press Ctrl + Shift + ` if the grave accent is a secondary function. If the shortcut doesn't work, check your keyboard layout—some non-US layouts place the grave accent elsewhere.

Using the Ribbon and Other Methods

If you prefer the mouse, go to the Formulas tab and click Show Formulas in the Formula Auditing group. This button toggles the same view. Another method is to use File > Options > Advanced and scroll to "Display options for this worksheet," where you can check "Show formulas in cells instead of their calculated results." This option applies to a specific worksheet and is saved with the workbook.

Why Toggle Formulas? Common Use Cases

  • Auditing: Quickly scan a sheet to see which cells contain formulas and which are hard-coded values—useful for error checking.
  • Documentation: Print a formula view to show how a model is built, or share it with colleagues who need to understand the logic.
  • Debugging: Spot inconsistent formulas (e.g., a cell that should be =SUM(B2:B10) but is typed as =B2+B3+B4) more easily when all formulas are visible.
  • Teaching: Demonstrate how a spreadsheet works without revealing the calculated results.

Reading the Formula View

When formulas are shown, the columns widen automatically to display the full formula text, which can make the sheet look messy. The formula view is not editable differently—you can still click a cell and edit the formula in the Formula Bar. To return to the normal view, simply toggle back. Note that the formula view does not affect printing unless you choose to print with that view active.

Common Mistakes and Misconceptions

  • Mistaking the toggle for a recalculation: Pressing Ctrl + ` does not recalculate anything; it only changes the display. Use F9 to recalculate.
  • Thinking the toggle is per-cell: You cannot show formulas in one cell and values in another on the same sheet using this toggle—it's all or nothing. For per-cell control, you'd need a custom view or a separate column using the FORMULATEXT function.
  • Confusing the grave accent with an apostrophe: The key is the one with the tilde (~) on it, not the single quote ('). Pressing Ctrl + ' (apostrophe) does something else (it copies a formula from the cell above).

Alternatives: FORMULATEXT and Other Tricks

If you need to display formulas as text in specific cells (e.g., for documentation), use the FORMULATEXT function: =FORMULATEXT(A1) returns the formula from A1 as a text string. This is useful when you want both the formula and the value visible simultaneously. Another alternative is to use the Trace Precedents feature (Formulas tab > Trace Precedents) to visually map formula dependencies without toggling the entire sheet.

Frequently Asked Questions

Why is my Ctrl + ` shortcut not working?

First, ensure you're using the correct key—the grave accent (`) is usually below Esc. On some keyboards, you may need to press Ctrl + Shift + `. If that fails, check your keyboard layout in Windows settings; some layouts (like AZERTY) place the grave accent differently. You can also use the ribbon button as a fallback.

Does the toggle affect all sheets in the workbook?

No, the keyboard shortcut and the ribbon button affect only the currently active worksheet. Other sheets in the same workbook remain in their previous view. To apply it to multiple sheets, group them (Ctrl+click sheet tabs) before toggling.

Can I print the formula view?

Yes, if you toggle to formula view and then print, the output will show formulas instead of values. However, columns may be very wide, so adjust the page setup (e.g., landscape orientation, fit to one page) to get a readable printout.

How do I show formulas in a single cell without changing the whole sheet?

Use the FORMULATEXT function in an adjacent cell. For example, if A1 contains a formula, enter =FORMULATEXT(A1) in B1 to display the formula text there. This keeps the rest of the sheet in value view.

Why does Excel show a formula as text instead of calculating it?

If a cell shows the formula as plain text (e.g., =A1+B1 appears literally), the cell is likely formatted as Text, or there's a leading apostrophe before the equals sign. Remove the apostrophe or change the cell format to General, then re-enter the formula.