Smart Systems for Home

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

Excel Display Functions: How to Show Formulas and Data

· 5 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 functions (formulas) instead of their calculated results in Excel, use the keyboard shortcut Ctrl + ` (grave accent) or navigate to the Formulas tab and select Show Formulas. This action toggles the view for the entire worksheet, allowing you to audit your logic and verify cell references without clicking into individual cells.

Excel is designed to hide the "machinery" of a spreadsheet by showing only the final output. However, whether you are debugging a complex nested IF statement or creating a tutorial for a colleague, you often need to see the actual function being used. Depending on your goal, you can either toggle the entire sheet to show formulas or use specific functions to display a formula as text in a single cell.

What You'll Need

  • A computer with Microsoft Excel installed (Windows or macOS).
  • An existing worksheet containing formulas you wish to display.

Step-by-Step

Depending on whether you want to see all formulas at once or just one specific function, choose one of the following methods. Note that menu labels may differ slightly depending on your version of Excel or region.

Method 1: Toggle "Show Formulas" for the Entire Sheet

  1. Open the Excel workbook and select the specific worksheet tab where the functions are located.
  2. Go to the Formulas tab on the top Ribbon.
  3. In the Formula Auditing group, click the Show Formulas button.
  4. Observe that the columns widen automatically and the cells now display the formula (e.g., =SUM(A1:A10)) instead of the result.
  5. To return to the standard view, click the Show Formulas button again or use the keyboard shortcut Ctrl + ` (the grave accent key, usually located just below the Esc key).

Method 2: Display a Single Formula as Text (FORMULATEXT Function)

  1. Click on an empty cell adjacent to the cell containing the function you want to display.
  2. Type =FORMULATEXT(.
  3. Click on the cell that contains the formula you want to reveal.
  4. Close the parentheses ) and press Enter.
  5. Excel will now display the exact text of the function in the new cell while keeping the original cell's result visible.

Method 3: Force a Single Cell to Display as Text (Manual Override)

  1. Select the cell where you want to write a function without it executing.
  2. Type a single apostrophe ' before the equals sign (e.g., '=SUM(A1:B1)).
  3. Press Enter.
  4. The apostrophe remains hidden, but Excel treats the entry as a text string rather than a live function, displaying the formula exactly as typed.

Common Mistakes

  • Confusing "Show Formulas" with "Formula Auditing": Users often look for "Show Formulas" under the View tab; it is strictly located under the Formulas tab.
  • Forgetting the Apostrophe: When trying to manually display a function, users often forget the leading apostrophe, causing Excel to attempt to calculate the result immediately.
  • Overlooking the Grave Accent Key: Many users struggle to find the ` key on their keyboard. It is typically located in the top-left corner, between the Tab key and the number 1.
  • Using FORMULATEXT on a Constant: If you use the =FORMULATEXT() function on a cell that contains a hard-coded number instead of a formula, Excel will return a #N/A error.

Tips

  • Print Your Formulas: If you need to provide a hard copy of your spreadsheet's logic for documentation, activate "Show Formulas" before printing. This ensures the printed page shows the functions rather than the values.
  • Column Widths: When "Show Formulas" is active, Excel expands columns to fit the text. If you find the layout jarring, you can manually adjust column widths, but remember they may shift back when you toggle the view off.
  • Combining FORMULATEXT with Concatenation: You can use ="The formula used is: " & FORMULATEXT(A1) to create a descriptive label next to your function for better documentation.

Troubleshooting

The "Show Formulas" button is greyed out

This usually happens if the worksheet is protected. Go to the Review tab and check if Unprotect Sheet is an option. If the sheet is locked, you cannot change the display mode until it is unprotected.

The keyboard shortcut Ctrl + ` isn't working

Keyboard shortcuts can vary by language layout. If you are using a non-US keyboard, the grave accent may be in a different location or require a modifier key. Try using the Ribbon menu (Formulas > Show Formulas) to verify the feature is working.

FORMULATEXT returns a #N/A error

Check the target cell. The FORMULATEXT function only works if the referenced cell actually contains a formula. If the cell contains a plain number or text, the function cannot "display" a formula that doesn't exist.

The formula is still hidden even after clicking Show Formulas

Check if the cell is formatted as "Hidden" in the Cell Formatting settings. Right-click the cell > Format Cells > Protection. If "Hidden" is checked and the sheet is protected, the formula will not appear in the formula bar, though "Show Formulas" should still typically force it into the cell itself.

Frequently Asked Questions

Can I show formulas for only one specific column?

No, the "Show Formulas" toggle is a global setting for the entire worksheet. To show formulas for only one column, use the =FORMULATEXT() function in an adjacent column.

Does showing formulas change the actual data in my cells?

No. This is a display-only mode. It does not alter the underlying data, delete your results, or change how the calculations are performed.

How do I hide the formulas again?

Simply click the Show Formulas button in the Formulas tab again, or press Ctrl + ` on your keyboard.

Will the formulas be visible to others if I send the file?

Yes, by default, anyone who opens your Excel file can see your formulas by clicking into the cell or using the "Show Formulas" toggle. To prevent this, you must protect the worksheet and mark the cells as "Hidden" in the Format Cells menu.

Is there a difference between "Show Formulas" and the Formula Bar?

Yes. The Formula Bar shows the function for the single cell you have currently selected. "Show Formulas" reveals the functions for every single cell across the entire sheet simultaneously.