18.11.2014 Views

Microsoft Office

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Making Your Worksheets Error-Free 32<br />

n<br />

Cell dependents: These formula cells depend on a particular cell. A cell’s dependents consist of<br />

all formula cells that use the cell. Again, the formula cell can be a direct dependent or an indirect<br />

dependent.<br />

For example, consider this simple formula entered into cell A4:<br />

=SUM(A1:A3)<br />

Cell A4 has three precedent cells (A1, A2, and A3), which are all direct precedents. Cells A1, A2, and A3<br />

each have a dependent cell (cell A4), and they’re all direct dependents.<br />

Identifying cell precedents for a formula cell often sheds light on why the formula isn’t working correctly.<br />

Conversely, knowing which formula cells depend on a particular cell is also helpful. For example, if you’re<br />

about to delete a formula, you may want to check to see whether it has any dependents.<br />

Identifying precedents<br />

You can identify cells used by a formula in the active cell in a number of ways:<br />

n<br />

n<br />

n<br />

n<br />

n<br />

Press F2. The cells that are used directly by the formula are outlined in color, and the color corresponds<br />

to the cell reference in the formula. This technique is limited to identifying cells on the<br />

same sheet as the formula.<br />

Display the Go To Special dialog box (choose Home ➪ Editing ➪ Find & Select ➪ Go To<br />

Special). Select the Precedents option and then select either Direct Only (for direct precedents<br />

only) or All Levels (for direct and indirect precedents). Click OK, and Excel selects the precedent<br />

cells for the formula. This technique is limited to identifying cells on the same sheet as the formula.<br />

Press Ctrl+[ to select all direct precedent cells on the active sheet.<br />

Press Ctrl+Shift+{ to select all precedent cells (direct and indirect) on the active sheet.<br />

Choose Formulas ➪ Formula Auditing ➪ Trace Precedents, and Excel will draw arrows to<br />

indicate the cell’s precedents. Click this button multiple times to see additional levels of precedents.<br />

Choose Formulas ➪ Formula Auditing ➪ Remove Arrows to hide the arrows. Figure 32.8 shows a<br />

worksheet with precedent arrows drawn to indicate the precedents for the formula in cell C13.<br />

FIGURE 32.8<br />

This worksheet displays arrows that indicate cell precedents for the formula in cell C13.<br />

563

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!