Share via

How to resolve a circular reference error that does not exist?

Anonymous
2013-06-15T18:50:09+00:00

So I have the following arrays: 

C28: =IFERROR(INDEX(B20:H20,MATCH(TRUE,B20:H20>A20,0)),"")

C29: =IFERROR(INDEX(B21:H21,MATCH(TRUE,B21:H21>A21,0)),"")

C30: =IFERROR(INDEX(B22:H22,MATCH(TRUE,B22:H22>A22,0)),"")

C31: =IFERROR(INDEX(B23:H23,MATCH(TRUE,B23:H23>A23,0)),"")

And the following values which have no dependents:

B20:H20: all "1" except C20, which is "2"

B21:H21: all "1" except C21, which is "2"

B22:H22: all "1" except C22, which is "2"

B23:H23: all "1" except C23, which is "2"

Whenever I change the "2"'s to "1"'s the error goes away, but whenever I put the "2"'s back I get a circular reference error. Since the values listed have no references, I don't see how this is possible. Any ideas?

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

  1. Anonymous
    2013-06-16T14:11:21+00:00

    Hi Ivana,

    I had a look to your workbook and in my opinion, the formula in C28 has no circular reference but the workbook contains several circular references that you have to correct.

    When you get the circular reference warning, click OK and look in the statusbar to see where Excel has detected a circular reference, e.g. circular references: G74.

    HTH

    Wkr,

    JP Ronse

    10+ people found this answer helpful.
    0 comments No comments

Answer accepted by question author

  1. Anonymous
    2013-06-16T16:18:12+00:00

    Ivana wrote:

    Here's a link. Sorry for not being clearer in my original post. C28 is highlighted. It is an array, but I didn't hit ctrl-shift-enter to demonstrate that that creates a circular reference error even though there seem to be no references, let alone circular references. The rest of the cells even the similar ones all around it don't seem to have a problem. Just seems to be in C28. Hit ctrl-shift-enter yourself to see my problem. Thanks for your help.

    https://skydrive.live.com/redir?resid=2A94FF4F18EDB80F!112&authkey=!AB-Y0YM8JNpHLOU

    First, yes, when I array-enter the formula in C28, I get a pop-up about a circular reference error.  More importantly, it says that Excel cannot list the references; also, the Circular Reference option in the Error Checking menu on the toolbar is greyed out, as you mentioned in a related thread.  All of these tell us that Excel is very confused; that is, the circular reference is very complicated.  As further evidence of this, keep an eye on the lower-left part of the status bar as you change the values in C20:C24 from 2 to 1 to 2.  Excel indicates different cells as "having" (being involved in) a circular reference.

    So do not expect to simply look at a formula and identify the circular reference directly or even within one or two level of references.  Our inability to see the circular reference does not mean it is not there.  It just means the circular chain of references is much longer than we (or even Excel) can follow easily.

    Second, the reason why the circular reference might depend on the constant values in C20:C24 is (my guess) that the circular reference arises from a condition of an IF expression or similar conditional function (e.g. CHOOSE).  When we write IF(condition,expression1,expression2), Excel evaluates expression1 only if the condition is true, and it evaluates expression2 only if the condition is false.

    So one of the IF() formulas is part of the circular chain of references.  Unfortunately, that is not too helpful because you have a lot of IF() formulas.  BTW, some of those are not array-entered, as they should be.  But that's a separate issue.

    Finally, the real question is:  where do you go from here?

    I'm afraid I don't know.  The workbook is very complicated.  I don't know of any tool that will find circular references (perhaps someone else does), since the Excel Circular Reference Error Checking operation is greyed out.

    I would start over.  That might sound foreboding, given the eventual complexity of the worksheet.  But then again, many of the formulas are the same form.  So once you get one set of formulas working, it might be a "simple matter" of copying and pasting them.  The key might be to correctly array-enter the formulas that need to be from the get-go.

    Good luck!

    4 people found this answer helpful.
    0 comments No comments

10 additional answers

Sort by: Most helpful
  1. Anonymous
    2015-06-09T20:48:07+00:00

    I found an even easier way to get rid of circular references!  Go to the Formulas tab and to the right side of the ribbon in "Formula Auditing"you'll see "Error Checking".  There is a drop down where you can specifically select circular references if they exist.  If they don't it will be greyed out.  I went ahead and checked the entire sheet for errors from that drop down and it completely cleaned up my sheet.  I did not have any formulas but it thought I did because of a zip code that began with a zero.  I had to use "text" as the format to even get the zero to appear.  No more error messages now!  Good Luck all!

    7 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2013-06-16T14:38:14+00:00

    One more thing though: I checked out G74 which the status bar indicates contains a circular reference, but I see none. I would very much appreciate if you could explain to me how it is referencing circularly. Thanks in advance :)

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2013-06-15T19:06:38+00:00

    You would have been better off adding to your existing post, rather than confusing peoples by starting a new one

    0 comments No comments