To show your work in Excel, you can either display all formulas across the entire sheet using the Formula Auditing tools or use the FORMULATEXT function to show a specific calculation next to its result. Showing your work is essential for transparency, allowing colleagues or managers to verify the logic behind your totals without having to click into every individual cell. Depending on whether you need a temporary view for auditing or a permanent layout for a report, different methods apply.
What You'll Need
- A computer with Microsoft Excel installed (Windows or macOS).
- A dataset or spreadsheet containing formulas that you wish to document or audit.
- Basic familiarity with cell references (e.g., A1, B2) to understand the formulas being displayed.
Step-by-Step
Method 1: Display All Formulas (Global View)
This method is best when you need to perform a comprehensive audit of the entire workbook. It toggles the sheet from "Result Mode" to "Formula Mode," where every cell showing a calculated value instead displays the underlying equation. Note that menu labels may differ slightly depending on your version of Excel or region.
- Open the Excel workbook containing the data you want to review.
- Navigate to the Formulas tab on the top Ribbon.
- Locate the Formula Auditing group.
- Click the Show Formulas button. Alternatively, you can use the keyboard shortcut Ctrl + ` (the grave accent key, usually located just below the Esc key).
- Observe that the columns automatically widen to accommodate the length of the formulas, and the cells no longer show the calculated totals.
- To return to the normal view, click the Show Formulas button again or press Ctrl + ` once more.
Method 2: Using the FORMULATEXT Function (Side-by-Side View)
If you are creating a guide or a template where the user needs to see both the answer and the logic simultaneously, the FORMULATEXT function is the professional choice. This creates a text string of the formula used in another cell.
- Identify the cell containing the calculation you want to explain (for example, cell C10 contains
=SUM(C2:C9)). - Click into an empty cell adjacent to the result (for example, cell D10).
- Type
=FORMULATEXT(into the cell. - Click on the cell containing the formula (C10) or type the reference manually.
- Close the parenthesis and press Enter:
=FORMULATEXT(C10). - Excel will now display the literal text of the formula in cell D10. If you change the formula in C10, the text in D10 will update automatically.
- Drag the fill handle (the small square at the bottom-right of the cell) downward to apply this to all calculations in your column.
Method 3: Using the Evaluate Formula Tool (Step-by-Step Logic)
For complex, nested formulas (like multiple IF statements or VLOOKUPs), simply seeing the formula isn't enough. You need to see how Excel solves it piece by piece.
- Select the cell containing the complex formula you wish to break down.
- Go to the Formulas tab on the Ribbon.
- In the Formula Auditing group, click Evaluate Formula.
- A dialog box will appear showing the formula. The part of the formula that Excel is currently calculating will be highlighted in a blue box.
- Click the Evaluate button repeatedly. Each click solves one part of the equation, replacing the cell references with actual values.
- Continue clicking until the final result is reached. This allows you to pinpoint exactly which part of a long formula is causing an error.
- Click OK or close the dialog box to return to your spreadsheet.
Method 4: Tracing Precedents and Dependents (Visual Mapping)
Sometimes "showing work" means showing the flow of data. Tracing creates blue arrows that visually link cells.
- Select the cell whose formula you want to investigate.
- Go to the Formulas tab.
- Click Trace Precedents. Blue arrows will appear pointing from the source cells to the active cell.
- To see which other cells rely on the current cell, click Trace Dependents.
- To clear the visual clutter once you have finished your review, click Remove Arrows in the same Formula Auditing group.
Common Mistakes
- Hard-coding values: A common error when trying to show work is typing the result as a number (e.g., typing "150" instead of
=SUM(A1:A5)). If you hard-code, there is no "work" for Excel to show, and the FORMULATEXT function will return an #N/A error. - Overlooking Absolute References: When using FORMULATEXT and dragging it down a column, users sometimes forget that the original formula used absolute references (like $A$1). This can make the "shown work" look confusing if the user doesn't understand the difference between relative and absolute cell locking.
- Confusing Show Formulas with Formatting: Some users try to show work by simply changing the cell format to "Text." This does not show the formula; it simply prevents the formula from running, leaving the
=sign visible but the calculation dead. - Ignoring Hidden Rows/Columns: When using Trace Precedents, arrows may point to a small black dashed line. This indicates that the "work" is happening in a hidden row or column, or on a different worksheet entirely.
Tips
- Create a "Logic" Tab: For high-stakes financial models, create a separate worksheet dedicated to documentation. Use FORMULATEXT to pull the key formulas from your main calculation tab into this logic tab, adding written explanations next to them.
- Use Named Ranges: Instead of showing
=SUM(B2:B500), name that range "Annual_Revenue." Your shown work will then read=SUM(Annual_Revenue), which is much easier for a human to read and verify. - Color Coding: Use a consistent color scheme. For example, make all cells where you "show work" (using FORMULATEXT) a light grey background to distinguish them from active calculation cells.
- Combine with Comments: Right-click a cell and select New Note or New Comment to provide a plain-English explanation of why a specific formula was chosen, complementing the visual formula display.
Troubleshooting
If your attempts to show work are not functioning as expected, try these steps in order:
- FORMULATEXT returns #N/A: This happens if the referenced cell does not actually contain a formula (i.e., it contains a static number or text). Ensure the source cell starts with an equals sign (
=). - Show Formulas doesn't change anything: Check if your cells are formatted as "Text." If a cell is formatted as text before the formula is entered, Excel treats the formula as a literal string. Change the cell format to "General," then click into the formula bar and press Enter to reactivate the calculation.
- Arrows from Trace Precedents are missing: Ensure you are not in a protected sheet. If the worksheet is protected, some auditing features may be disabled. Go to the Review tab and click Unprotect Sheet.
- Evaluate Formula is greyed out: This usually occurs if you have selected a range of cells. The Evaluate Formula tool only works on one single cell at a time. Deselect the range and click on one specific cell.
Frequently Asked Questions
Can I print the formulas instead of the results?
Yes. Use the Show Formulas toggle (Ctrl + `) to display all equations on the sheet, then go to File > Print. The printout will reflect exactly what is on the screen, showing the formulas rather than the calculated values.
Does FORMULATEXT work across different sheets?
Yes. You can reference a cell on another sheet by including the sheet name, such as =FORMULATEXT(Sheet1!A1). This is very useful for creating a summary "Audit" page for a large workbook.
Is there a way to show the work for a formula that is inside a Pivot Table?
No. Pivot Tables use internal calculations (Calculated Fields) that cannot be displayed using FORMULATEXT or Show Formulas. To see that work, you must go to PivotTable Analyze > Fields, Items, & Sets > Calculated Field to view the formula definition.
Can I show the work for a formula that uses a Lambda or a custom function?
Yes, FORMULATEXT will show the name of the custom function and the arguments passed to it. However, it will not show the internal logic of the Lambda function itself; to see that, you must check the Name Manager (Ctrl + F3).
Will showing formulas change the actual values of my data?
No. Toggling "Show Formulas" is a view-only change. It does not alter the data, delete your calculations, or change the results of your spreadsheet; it simply changes how those results are presented on your monitor.