
How To Display All Formulas In Excel: Unveiling Spreadsheet Secrets
Need to quickly see all the formulas within your Excel spreadsheet? This article details exactly how to display all formulas in Excel, empowering you to audit, understand, and troubleshoot your work more effectively, by using shortcut keys and Excel functions.
Why Display Formulas in Excel? Understanding the Need
Excel’s power lies in its ability to perform calculations using formulas. However, viewing the results alone often isn’t enough. Understanding how to display all formulas in Excel is crucial for several reasons:
- Auditing: Verify the accuracy of calculations and identify potential errors.
- Understanding: Decipher complex spreadsheets created by others.
- Troubleshooting: Pinpoint the source of unexpected results.
- Documentation: Document the logic behind your spreadsheet for future reference.
- Learning: Analyze how different formulas are used in practical scenarios.
Methods for Displaying Formulas
How to display all formulas in Excel? There are two primary methods: using a keyboard shortcut and using a built-in Excel function. Let’s explore both.
1. The Ctrl + ` Shortcut (The Backtick Key)
This is the quickest and easiest way to display all formulas in Excel.
- Step 1: Open the Excel spreadsheet containing the formulas you want to view.
- Step 2: Press and hold the
Ctrlkey (orCommandon a Mac). - Step 3: Press the backtick key (
). This key is usually located to the left of the number 1 key and above the Tab key on most keyboards. - Step 4: Release both keys. All formulas in the spreadsheet will now be displayed instead of their calculated results.
- Step 5: To revert to displaying the results, repeat the process (Ctrl + `).
2. Using the FORMULATEXT Function
The FORMULATEXT function allows you to display the formula of a specific cell in another cell. This is useful when you want to see the formula for a particular cell while still displaying the results of other cells.
- Step 1: Select a cell where you want to display the formula.
- Step 2: Type
=FORMULATEXT(cell_reference), replacingcell_referencewith the address of the cell containing the formula you want to display. For example,=FORMULATEXT(A1)will display the formula in cell A1. - Step 3: Press
Enter. The formula from the referenced cell will now be displayed in the selected cell. - Step 4: You can drag the fill handle (the small square at the bottom-right of the cell) to apply the
FORMULATEXTfunction to other cells.
Comparison Table: Shortcut vs. Function
| Feature | Ctrl + Shortcut |FORMULATEXT` Function |
|———————|—————————————————|—————————————————–|
| Scope | Displays all formulas in the spreadsheet | Displays the formula of a specific cell |
| Permanence | Temporary; toggles between formulas and results | Permanent; the formula is displayed in another cell |
| Ease of Use | Very easy; simple keyboard shortcut | Requires typing a function and referencing a cell |
| Best Used For | Quick auditing, overall understanding | Detailed analysis of specific cells, documentation |
Common Mistakes and Troubleshooting
When trying to display all formulas in Excel, here are some common pitfalls and solutions:
- Incorrect Key: Make sure you are using the correct backtick key (
), not the apostrophe key ('). - Keyboard Layout: The location of the backtick key can vary depending on your keyboard layout.
- Cell Formatting: If a cell is formatted as text, Excel may display the formula as text even when it is meant to be calculated. Change the cell formatting to “General” or “Number”.
FORMULATEXTNot Available: Ensure you are using a version of Excel that supports theFORMULATEXTfunction (Excel 2013 and later).
Benefits of Mastering Formula Display
Mastering the ability to display all formulas in Excel offers significant benefits, boosting productivity, accuracy, and collaborative efforts:
- Improved Accuracy: Quickly identify and correct errors in your formulas.
- Increased Efficiency: Save time by easily auditing and understanding complex spreadsheets.
- Enhanced Collaboration: Make it easier for others to understand and work with your spreadsheets.
- Better Documentation: Document your spreadsheets effectively by displaying formulas for clarity.
- Accelerated Learning: Learn from the formulas used by others and improve your own Excel skills.
Formula Auditing Tools
Excel provides built-in formula auditing tools that complement the ability to display formulas directly:
- Trace Precedents: Shows which cells are used in the formula of the selected cell.
- Trace Dependents: Shows which cells use the selected cell in their formulas.
- Error Checking: Identifies potential errors in formulas and provides suggestions for fixing them.
- Evaluate Formula: Steps through a formula to show how it is calculated.
These tools can be accessed from the Formulas tab on the ribbon, within the “Formula Auditing” group.
FAQs: Deepening Your Understanding
What if the Ctrl + ` shortcut doesn’t work?
Sometimes, other applications might be using the Ctrl + shortcut. Try closing other applications or check if any Excel add-ins are interfering. Also, make sure your keyboard layout is set correctly. Restarting Excel can also resolve minor glitches.
Can I print the spreadsheet with formulas displayed?
Yes, after using the Ctrl + ` shortcut to display all formulas in Excel, go to the File tab, select Print, and Excel will print the spreadsheet with the formulas visible instead of the calculated results.
Is there a way to display formulas in a specific range of cells, not the entire sheet?
No, the Ctrl + shortcut applies to the entire sheet. However, you can use theFORMULATEXT` function to display formulas for specific cells within a range.
Does the FORMULATEXT function work with named ranges?
Yes, the FORMULATEXT function works perfectly well with named ranges. Simply use the named range as the cell_reference within the function. For example, =FORMULATEXT(MyRange)
Can I use FORMULATEXT to display formulas from another worksheet?
Yes, you can reference cells from another worksheet by including the worksheet name in the cell_reference. For example, =FORMULATEXT(Sheet2!A1) will display the formula from cell A1 on Sheet2.
How can I display the results of a formula if I am using FORMULATEXT?
You can simply use the equals sign (=) to display the result of a formula. For example, if cell A1 contains the formula =2+2, typing =A1 in another cell will display the result (4). FORMULATEXT only shows the formula’s text.
What if FORMULATEXT returns a #NAME? error?
This usually means that the FORMULATEXT function is not available in your version of Excel. This function was introduced in Excel 2013. If you are using an older version, you will need to upgrade to use this function.
Can I display formulas in an Excel Online spreadsheet?
Yes, Excel Online supports both the Ctrl + shortcut and theFORMULATEXT` function to display all formulas in Excel.
Is it possible to change the font size or formatting of displayed formulas?
When using the Ctrl + shortcut, the font size and formatting of the displayed formulas follow the general formatting of the cells. You can adjust the column widths to better accommodate longer formulas. When usingFORMULATEXT`, you can format the cell containing the function as you would any other cell.
How do I hide formulas after displaying them with Ctrl + `?
Simply press Ctrl + ` again. This will toggle the view back to displaying the calculated results instead of the formulas.
Is there a way to automatically display formulas as I type them?
No, Excel does not have a built-in feature to automatically display formulas as you type them. The Ctrl + shortcut and theFORMULATEXT` function are the primary methods for viewing existing formulas.
Can FORMULATEXT display formulas that use external data connections?
Yes, the FORMULATEXT function can display formulas that use external data connections. However, it will only show the formula itself, not the data retrieved from the external source.