Excel: Locating Circular ReferencesLast reviewed: August 20, 1995Article ID: Q65362 |
The information in this article applies to:
SUMMARYA circular reference exists when formulas refer to and are dependent on each other. For example, if cell A1 contains the formula "=B1" and cell B1 contains the formula "=A1", a circular reference has been created because both formulas depend on each other for their answer. If you create a circular reference in Microsoft Excel, you receive the error message "Can't Resolve Circular References" when you enter the formula. The status bar then displays the following message where "cell_ref" is part of the circular reference:
Circular: cell_refIf you have more than one worksheet open in Microsoft Excel and the status bar displays only "Circular" (without quotation marks), then one of the other open worksheets has a circular reference. You need to activate each worksheet in turn until the status bar displays the "Circular: cell_ref" message.
WORKAROUNDSTo find all cells involved in the circular reference, do the following:
Microsoft Excel Version 5.0 and laterMenu Method
Toolbar Method
Visual Basic Method
Microsoft provides examples of Visual Basic procedures for illustration only, without warranty either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. This Visual Basic procedure is provided 'as is' and Microsoft does not guarantee that it can be used in all situations. Microsoft does not support modifications of this procedure to suit customer requirements for a particular purpose. Note that a line that is preceded by an apostrophe introduces a comment in the code--comments are provided to explain what the code is doing at a particular point in the procedure. Note also that an underscore character (_) indicates that code continues from one line to the next. You can type lines that contain this character as one logical line or you can divide the lines of code and include the line continuation character. For more information about Visual Basic for Applications programming style, see the "Programming Style in This Manual" section in the "Document Conventions" section of the "Visual Basic User's Guide."
Microsoft Excel Versions 4.0 and Earlier
Microsoft Excel 1.5 and EarlierIn Microsoft Excel versions 1.5 and earlier, the error message "Can't Resolve Circular References" will be displayed if formulas refer to each other in a circular manner. To find all cells involved in the circular reference, do the following:
MORE INFORMATIONBy default, the status bar is displayed in Microsoft Excel versions 5.0, 4.0, 3.0 and 2.2. To display the status bar at the bottom of the screen in Microsoft Excel version 5.0, choose Status Bar from the View menu. In Microsoft Excel versions 4.0 and earlier, choose Workspace from the Options menu, select the Status Bar check box, and choose OK.
|
KBCategory: kbusage
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |