Excel Trace Precedents for Schoolwork
In Excel on a computer, a formula can use values from other cells. Trace Precedents draws arrows from those cells to the formula, so you can see where its numbers come from. This guide walks through it on a three-cell calculation made up for practice, then removes the arrows.
Menu names and steps can differ between Excel versions and platforms. The Microsoft page this guide follows does not list which versions or platforms its steps cover, so check the names against your own copy of Excel.
Use a new practice workbook
Open a new, blank workbook of your own in Excel on a computer. Do not use a teacher's template, a shared file or a real marks sheet.
The practice calculation is made up. In cell B2 type 3 (packs of pens). In cell B3 type 5 (price of one pack). In cell B4 type =B2*B3 and press Enter.
The formula multiplies the two cells above it, so B4 works out to 15. Nothing here is real data.
What a precedent is
Microsoft describes precedent cells as cells that are referred to by a formula in another cell. Its example: if D10 contains =B5, then B5 is a precedent of D10.
In the practice sheet, B4 contains =B2*B3, so B2 and B3 are the precedents of B4. Microsoft also describes dependent cells, which contain formulas that refer to other cells. B4 is a dependent of B2 and of B3. This guide uses only the precedent command.
Check the display setting first
Microsoft's steps start with a display option. Choose File > Options > Advanced. In the section called Display options for this workbook, select the workbook, then check that All is chosen under For objects, show.
If your copy of Excel words or places this setting differently, look for the equivalent option in your version rather than guessing. Microsoft's page does not say which versions use these exact words.
Trace the precedents of B4
- Select cell B4, the one that contains the formula.
- On the Formulas tab, in the Formula Auditing group, click Trace Precedents.
- Look for tracer arrows pointing to B4 from the cells that directly provide its data. Here those should be B2 and B3.
Microsoft says blue arrows show cells with no errors and red arrows show cells that cause errors. If you click Trace Precedents again, Excel identifies the next level of cells that provide data. B2 and B3 hold typed numbers, so this practice has only one level.
Remove the arrows
- Stay on the Formulas tab, in the Formula Auditing group.
- Click the small arrow next to Remove Arrows, then click Remove Precedent Arrows.
- Check that no arrows remain on the sheet.
Microsoft says that when there are several levels, this command removes one level at a time, starting with the precedent furthest from the active cell. Clicking the Remove Arrows button itself removes all tracer arrows on the worksheet, according to the page.
When you are done, you can close the practice workbook without saving, or keep it for your own practice.
Other things the page mentions
Beeps and untraceable items. A beep means Excel has traced every level, or you are tracing something it cannot trace. Microsoft lists text boxes, embedded charts and pictures, PivotTable reports, named constants, and formulas in a closed workbook that refer to the active cell.
Other sheets and workbooks. A black arrow to a worksheet icon marks a reference on another worksheet or workbook. The other workbook must be open for Excel to trace it. This practice stays on one sheet.
Tips from the page. Select a formula cell and press F2 to see color-coded precedents for its arguments. Double-click an arrow to select the cell at its other end.
Arrows can vanish. Microsoft says they disappear if you change the formula, insert or delete rows or columns, or delete or move cells. Run the command again to bring them back.
Other parts of that page, such as Trace Dependents and seeing every relationship on a worksheet, are not covered here. Tracing shows where a formula's numbers come from; it does not check whether the formula suits your question.
Trace two levels and spot a wrong reference
In the same owned blank workbook, keep 3 in B2, 5 in B3 and =B2*B3 in B4. Use known-empty B5 for the invented delivery charge 2. In known-empty B6 enter =B4+B5. Expected results are B4 = 15 and B6 = 17. Do not overwrite an occupied cell to create this fixture.
Select B6, not B4, and choose Trace Precedents once. Its direct inputs are B4 and B5. Choose it again to inspect the next level: B2 and B3 feed B4. A handwritten dependency map is B2 and B3 to B4, then B4 and B5 to B6. Error-free references should use blue arrows; this fixture does not introduce error cells or cross-sheet links.
For an intentional wrong-reference example only in this disposable workbook, change B6 to =B3+B5. Its result is 7. Trace B6 again after the edit, since editing the formula removes old arrows. Now B3 and B5 are its direct precedents, not B4. The arrows can correctly describe a formula that is wrong for the intended total. Do not change 3, 5 or 2 to force the answer 17.
Restore B6 to =B4+B5, confirm 17, and trace the two levels again. When finished, choose Remove Arrows to clear all tracer arrows. Check that B4 still contains =B2*B3 and B6 still contains =B4+B5: removing arrows is not a formula repair. Close without saving if this workbook was only for practice.
Common questions
What is a precedent cell?
Microsoft describes a precedent as a cell that a formula in another cell refers to. If D10 contains =B5, then B5 is a precedent of D10. In this guide, B2 and B3 are the precedents of the formula in B4.
What is the difference between a precedent and a dependent?
A precedent supplies data to a formula. A dependent is a cell whose formula refers to another cell. If D10 contains =B5, then B5 is a precedent of D10, and D10 is a dependent of B5. This guide only uses Trace Precedents.
What do the arrow colours mean?
Blue arrows show error-free references; red arrows mark error sources. A black arrow to a worksheet icon marks another sheet or workbook. This error-free single-sheet fixture expects blue arrows, not red or cross-sheet black arrows.
Why did Excel beep when I clicked Trace Precedents?
Microsoft says a beep means Excel has traced all levels of the formula, or you are trying to trace something that cannot be traced. Items it lists as untraceable include text boxes, embedded charts, pictures, PivotTable reports and named constants.
Do the arrows change my numbers or my formula?
The page describes tracer arrows as a way to display and check relationships between cells. It does not describe them as changing values. Microsoft does say the arrows disappear if you edit the formula, insert or delete rows or columns, or delete or move cells.
Sources and scope
Source checked . The steps, colors, notes and limits above come from the Microsoft page below. The three-cell example is invented for this guide. No hands-on test in Excel is claimed, and the page text does not state which Excel versions or platforms it covers.