+ Reply to Thread
Results 1 to 12 of 12

Circlular Reference Error

  1. #1
    Registered User
    Join Date
    10-13-2010
    Location
    Colorado Springs, CO
    MS-Off Ver
    Excel 2010
    Posts
    55

    Circlular Reference Error

    Hi,

    I am working on a workbook that currently has 3 worksheets, one is the summary and the other two contain the data that I am searching on.

    the following formula works and provides me the number of times that a # is used correctly on the two data sheets. However, when I change the formula to find the number of incorrect responses by change the "Y" to "N", I get a circular reference error.

    Names is the defined name of the sheet that has the listing of worksheet names.

    =SUMPRODUCT(COUNTIFS(INDIRECT("'"&Names!$A$1:$A$4&"'!D:D"),$A3,INDIRECT("'"&Names!$A$1:$A$4&"'!F:F"),"Y"))

    Column D on the data sheets contain the different codes I am matching to A3 and Column F has either a Y or N.

    thanks for any assistance.

    Carole
    Last edited by missit; 03-26-2014 at 02:25 AM.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Circlular Reference Error

    "Y" is a criteria of Countif() and it is not the actual reason for creating Circular Reference


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    10-13-2010
    Location
    Colorado Springs, CO
    MS-Off Ver
    Excel 2010
    Posts
    55

    Re: Circlular Reference Error

    Hi, I know that it is the criteria, but the formula works in column C of the Main worksheet with the Y, but when I copy the formula to Column D on the Main worksheet and change the "Y" to a "N" I get the error. Could it be looking at column D on the Main worksheet instead of the two data sheets?

    Note:

    Column B on the Main worksheet has this formula:

    =SUMPRODUCT(COUNTIF(INDIRECT("'"&Names!$A$1:$A$4&"'!D:D"),$A3)) which gives me the total number of times that a particular code is used on both of the other worksheets.

    Thanks again for trying to help.

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Circlular Reference Error

    Because the name of the sheet on which the formula is applied should be there in this range $A$1:$A$4

  5. #5
    Registered User
    Join Date
    10-13-2010
    Location
    Colorado Springs, CO
    MS-Off Ver
    Excel 2010
    Posts
    55

    Re: Circlular Reference Error

    Hi,

    Sorry, I am not following what you mean. Names is the defined name of the listing of the worksheets in the workbook.

    Carole

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Circlular Reference Error

    Just confirm me what resides in Names!$A$1:$A$4 cells?

  7. #7
    Registered User
    Join Date
    10-13-2010
    Location
    Colorado Springs, CO
    MS-Off Ver
    Excel 2010
    Posts
    55

    Re: Circlular Reference Error

    the names of the worksheets in the workbook.

  8. #8
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Circlular Reference Error

    Quote Originally Posted by missit View Post
    the names of the worksheets in the workbook.
    Whether it includes the name of the sheet on which you enter the formula?

  9. #9
    Registered User
    Join Date
    10-13-2010
    Location
    Colorado Springs, CO
    MS-Off Ver
    Excel 2010
    Posts
    55

    Re: Circlular Reference Error

    You found it. --- thank you

    Carole

  10. #10
    Registered User
    Join Date
    10-13-2010
    Location
    Colorado Springs, CO
    MS-Off Ver
    Excel 2010
    Posts
    55

    Re: Circlular Reference Error

    I will mark this solved if you can tell me how. I haven't been in the forum in awhile and don't remember how.


  11. #11
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Circlular Reference Error

    Please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  12. #12
    Registered User
    Join Date
    10-13-2010
    Location
    Colorado Springs, CO
    MS-Off Ver
    Excel 2010
    Posts
    55

    Re: Circlular Reference Error

    thanks again. really appreciate the quick turn around.

    Carole

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 04-30-2012, 12:07 PM
  2. [SOLVED] reference #value error
    By DrXerox in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 06:05 AM
  3. [SOLVED] reference #value error
    By DrXerox in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  4. [SOLVED] reference #value error
    By DrXerox in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM
  5. reference #value error
    By DrXerox in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1