LevelUpWith

Explore / Excel Error Detective: Fix Formulas and Lookups / Lesson 2

Lesson 2: Trace the Cause with Excel's Auditing Tools

Use Evaluate Formula, Trace Precedents and Trace Dependents, Error Checking, the Watch Window and F9 on part of a formula to find the step where a formula goes wrong.

Free to read, no account needed. Part of Excel Error Detective: Fix Formulas and Lookups.

By the end of this level you'll be able to

  • Step through a nested formula with Evaluate Formula and find the first part that fails
  • Use Trace Precedents, Trace Dependents and the Watch Window to follow an error back to its source cell
  • Check part of a formula with F9 in the formula bar and press Esc so the result is not saved, and know which tools Excel for the web and Excel for Mac lack or place differently

Why Trace an Error?

In Level 1 you learned to read an error value. This level covers the next question: where the error starts. A formula that shows #VALUE! may not hold the fault itself. The cause is often a few cells upstream, and the error is passed along to every formula that uses it. Excel's auditing tools on the Formulas tab, in the Formula Auditing group, let you follow that chain one step at a time without guessing.

Set Up the Practice Table

DO: Type this into a blank sheet in Excel for Microsoft 365 on Windows.

A B C D
1 Item Qty Price Total
2 Pens 10 2 =B2*C2
3 Paper 5 ten =B3*C3
4 Ink 3 12 =B4*C4

In F1, enter: =IF(SUM(D2:D4)>50,"Over budget","OK")

F1 shows #VALUE!. The goal is to prove which cell causes it.

Task 1: Step Through the Formula with Evaluate Formula

Evaluate Formula calculates a formula in the same order Excel does, one part at a time.

  1. Select F1. You can evaluate only one cell at a time.
  2. Select Formulas > Evaluate Formula.
  3. The part about to be calculated is underlined. Select Evaluate. The result appears in italics.
  4. Keep selecting Evaluate until a step returns an error. Here, SUM(D2:D4) turns into #VALUE!. That is the first part that fails.
  5. If the underlined part is a single reference to a cell that contains its own formula, select Step In to see that formula. Select Step Out to go back.
  6. Select Restart to run it again, or Close to finish.

Points to know:

  • Step In is not available the second time a reference appears in the formula, or for a reference to a cell in a different workbook.
  • Some functions recalculate every time the sheet changes, so the dialog can show a result that differs from the cell. These include RAND, RANDBETWEEN, NOW, TODAY, OFFSET, INDIRECT, CELL and INFO, and in some cases SUMIF.

Task 2: Follow the Arrows with Trace Precedents and Trace Dependents

  • A precedent is a cell that a formula refers to. B3 and C3 are precedents of D3.
  • A dependent is a formula that refers to a cell. D3 is a dependent of C3.
  1. Select F1 and select Formulas > Trace Precedents. An arrow points from D2:D4 to F1.
  2. Select D3 and select Trace Precedents again. Arrows point from B3 and C3.
  3. Read the colours. Blue arrows lead from cells without errors. Red arrows lead from cells that cause errors.
  4. Select C3 and select Trace Dependents. This shows every formula that the bad price feeds, which is everything your fix will affect.
  5. Select Remove Arrows when you have finished.

A black arrow pointing to a small worksheet icon means the link goes to another sheet or workbook. Excel can only trace into another workbook when that workbook is open.

Task 3: Keep Key Cells in View with the Watch Window

In a large workbook, the source cell and the result cell can be far apart. The Watch Window keeps both in view.

  1. Select F1 and D3.
  2. Select Formulas > Watch Window, then Add Watch > Add.
  3. Fix the cause: change C3 to 4. In the Watch Window, D3 changes to 20 and F1 changes to "OK" while you work.

The Watch Window shows each cell's workbook, sheet, name, cell, value and formula. You can set one watch per cell. A watched cell that links to another workbook appears only while that workbook is open. To remove a watch, select it and select Delete Watch.

Task 4: Test Part of a Formula with F9

F9 calculates only the part of a formula you select.

  1. Type ten back into C3. Select F1 and click in the formula bar.
  2. Highlight exactly SUM(D2:D4) and press F9. That text changes to #VALUE!.
  3. Press Esc. This is required. If you press Enter, the calculated result replaces that part of the formula for good. If you press Enter by mistake, press Ctrl+Z straight away.
  4. Repeat in D3: highlight C3 and press F9. It shows "ten", which is text where Excel expected a number. Press Esc.

Task 5: Use Error Checking as a Guided Tour

  1. Select Formulas > Error Checking. Excel goes to the first error on the sheet.
  2. Choose an option:
    • Help on this Error opens help for that error.
    • Show Calculation Steps opens Evaluate Formula.
    • Ignore Error stops Excel flagging that cell.
    • Edit in Formula Bar lets you fix the formula.
  3. Use Next and Previous to move between errors.

Cells that Excel flags have a small triangle in the top-left corner. Click the warning icon beside one to see the commands for that error.

Differences in Other Versions

  • Excel 2021 and 2019 for Windows: these tools are in the same place on the Formulas tab.
  • Excel for Mac: Evaluate Formula is not available. Use F9 on parts of the formula instead. For the Watch Window, open it first, then select the cells to watch.
  • Excel for the web: Trace Precedents and Trace Dependents are not available. When an auditing tool is missing in the browser, use Open in Desktop App.

Key Takeaways

  • The cell that shows an error is often not the cause. Trace it back to the source.
  • Evaluate Formula shows the first step that fails. Step In opens a referenced formula.
  • Red tracer arrows lead from cells that cause errors. Blue arrows lead from cells without errors.
  • The Watch Window keeps distant cells in view while you fix the cause.
  • After pressing F9 on part of a formula, always press Esc.
  • Mac has no Evaluate Formula, and Excel for the web has no tracer arrows.

A 6-question knowledge check follows this lesson in the app, free and without an account.

Keep going: levels 3 and 4 are free

Create a free account to open the next two levels, save your progress and pick up where you left off. No card needed.

Next: Level 3, Fix References That Break When Copied.

Create a free account →See the whole course

More like this

  • DAX Detective: Power BI Measures and Filter Context

    Find out why a Power BI total is wrong or why a measure changes when a slicer moves, then fix it on purpose and prove the fix. Each lesson gives you a small st…

    Course · Microsoft · Data & Analytics · Capable · 17 levels · 4 free · Professionally curated by levelupwith.com

  • Designing & Creating Microsoft Copilot Agents

    Master the art of building custom Copilot agents from scratch—from no-code basics to advanced integration, deployment, and optimization.

    Course · Microsoft · AI & Agents · Expert · 35 levels · 4 free · Professionally curated by levelupwith.com

  • Microsoft Azure Fundamentals (AZ-900) Exam Prep

    Learn to pick the cloud model, service type or Azure service that fits a scenario and explain why the alternatives do not, across every skill in the 20 July 20…

    Exam prep · AZ-900 · Cloud & Compute · Capable · 17 levels · 4 free · Professionally curated by levelupwith.com

  • Microsoft Azure Administrator (AZ-104) Exam Prep

    Work through every bullet of the AZ-104 skills measured as of April 17, 2026, learning each task in the Azure portal, Azure CLI, PowerShell, and ARM templates…

    Exam prep · AZ-104 · Cloud & Compute · Expert · 60 levels · 4 free · Professionally curated by levelupwith.com

  • Support Pro: Helping Users Move to Microsoft 365

    Help users get through a move from Google Workspace to Microsoft 365, from the week before cutover to the first tickets afterwards. You will learn what moves a…

    Course · Microsoft · Suite Support Pro: Configure and Fix · Expert · 40 levels · 4 free · Professionally curated by levelupwith.com

  • Microsoft 365 Support Pro: Copilot for End Users

    Learn to work out which Copilot a user actually has, and to fix the everyday Copilot tickets: missing buttons, licence and sign-in problems, files Copilot can'…

    Course · Microsoft · Suite Support Pro: Configure and Fix · Expert · 36 levels · 4 free · Professionally curated by levelupwith.com