Excel.Tips.Net Welcome toExcel.Tips.Net

Helpful Links

Tips.Net Home
ExcelTips Home
Ask an Excel Question
Make a Comment

Tips.Net Store

ExcelTips FAQ
ExcelTips Premium

Learn Access Now

Beauty Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Money Tips
Organizing Tips
Pest Tips
Pet Tips
Wedding Tips
Word2007 Tips
WordTips

Advertise on the
ExcelTips Site

Newest Tips

Assigning a Macro to a Keyboard Combination

Creating Scenarios

Using Message Boxes

Understanding Phantom Macros

Picking a Group of Cells

Running Out of Memory

Hiding Rows Based on a Cell Value

 

Dealing with Circular References

Summary: Circular references occur when a formula includes a reference to the cell in which the formula appears. Here's how you can recognize circular references and track them down. (This tip works with Microsoft Excel 97, Excel 2000, Excel 2002, Excel 2003, and Excel 2007.)

A circular reference is caused by including within a formula a reference to the cell storing the formula. It often occurs when the user selects the range for a function and inadvertently includes the formula location itself. For instance, if you stored the following formula in cell A3, the result is a circular reference:

= A1 + A2 + A3

If you try to enter a circular reference, Excel alerts you to the problem by displaying a dialog box. This dialog box requests you to click OK if the circular reference was a mistake or click Cancel if it was intentional. Unfortunately many users react without carefully reading the dialog box and press Cancel or press Esc just to get rid of the dialog box. Oops! The formula returns zero and the circular reference remains in your worksheet.

In the status bar, at the bottom of the screen, Excel displays Circular: (or Circular References:) and the address of the offending formula. Every help text I have seen indicates that the address of the circular reference is listed in the status bar. This is true only if the circular reference is on the current worksheet. The Circular notation is displayed any time a circular reference is present in any open workbook.

If you notice the Circular notation without an accompanying address, you can spend a lot of time working through every sheet of every open workbook until you see the address. There is a faster way to find circular references, regardless of where they are. When a circular reference is in existence, there is a circular reference toolbar available! Simply display the toolbar (using the same steps you use to display any toolbar) and use the drop-down list it contains to find a list of circular references. Click on one of them, and the cell with the reference is selected and displayed immediately.

The Circular Reference toolbar works great if you are using a version of Excel prior to Excel 2007, but there is no such toolbar in this version of the program. Instead, display the Formulats tab of the ribbon, click the down-arrow next to the Error Checking tool (in the Formula Auditing group), choose Circular References, and you will see a list of the circular references that Excel has detected. Click the one you want, and the cell that contains the circular reference is displayed.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2163) applies to Microsoft Excel versions: 97 | 2000 | 2002 | 2003 | 2007

Save Time! ExcelTips has been published weekly since late 1998. Past issues of ExcelTips are available in convenient ExcelTips archives. Have your own enhanced archive of ExcelTips at your fingertips, available to use at any time!
 
Check out ExcelTips Archives today!