Microsoft KB Archive/32766

-

{| 2.x 3.00 4.00 5.00 | 2.20 2.21 3.00 | 1.x 2.x 3.00 4.00 WINDOWS           | OS/2           | MACINTOSH kbusage The information in this article applies to:
 * width="100%"|


 * Microsoft Excel for Windows, versions 2.x, 3.0, 4.0, 5.0
 * Microsoft Excel for the Macintosh, versions 1.5, 2.2, 3.0, 4.0
 * Microsoft Excel for OS/2, versions 2.2 and 3.0

SUMMARY
In Microsoft Excel, you can determine the relationship of a cell or range of cells to other cells on your worksheet using the Info window, the Select Special command on the Formula menu, or the Auditing option on the Tools menu. These relationships can take the form of precedents or dependents. Precedents are the cells referred to in the formula contained in the active cell; dependents are the cells with formulas that refer to the active cell. Determining these relationships can be useful when you attempt to track down a circular reference or when you want to delete a range of cells but don't want to alter formulas or values.

Note that external references will not be displayed as precedents or dependents; these will be displayed only when they exist on the active worksheet.

MORE INFORMATION
The following describes the three methods of determining a cell's dependencies.

To use the auditing option on the Tools menu (Microsoft Excel version 5.0)

Use the Auditing option on the Tools menu to trace precedents and dependents. Microsoft Excel 5.0 will trace precedents from an external sheet, but not dependents from another sheet.

To use the Info Window
 Highlight the range of cells that you would like to delete.  In Microsoft Excel version 3.0 and earlier: from the Windows menu, choose Show Info. In Microsoft Excel version 4.0: from the Options menu, choose Workspace. Enable the Info Window display option.  From the Info menu, choose Dependents (or Precedents). Select All Levels. From the Window menu, choose your worksheet name. Press the TAB key to move to different cells in your selected range. As you move the active cell, the Info window will be updated to display information for the currently selected cell.

If any cells show dependents, then you know that the values of other cells are dependent on the values of the cells to be deleted. If any cells show precedents, you know that among the cells to be deleted are formulas that refer to other cells.

To use the Select Special command
A second method of determining a cell's dependents and precedents is to use the Select Special command. For example, to find all of the cells on your worksheet that are referred to by other cells, do the following:

  Select the entire worksheet. a. If you are using a mouse, click the empty box located directly above the row number 1 and to the left of the column header A. b. If you are using a keyboard, press SHIFT+CTRL+SPACEBAR. </li> From the Formula menu, choose Select Special.</li> Select Precedents and select All Levels.</li> Choose OK or press ENTER.</li></ol>

This process will highlight all the cells that are referred to by other cells on the worksheet. If the cell(s) to be deleted are included with those highlighted, do not clear them because other cells and/or calculations are dependent on their values.
 * }

-

Last reviewed: December 2, 1994

© 1998 Microsoft Corporation. All rights reserved. Terms of Use.