+ Reply to Thread
Results 1 to 13 of 13

Excel 2007 : Incorrect Circular Reference with TODAY function

  1. #1
    Registered User
    Join Date
    03-31-2012
    Location
    Los Angeles
    MS-Off Ver
    Exce 2007, 2010, 2011
    Posts
    3

    Incorrect Circular Reference with TODAY function

    EDIT: Moved posts to new thread.
    ----------------------------------
    I'm having the same problem. Excel is saying that this formula is circular, but it isn't. (Reference to thread: http://www.excelforum.com/excel-2007...-function.html)

    Cell AA3 is:

    =IF(AA2="","",IF(AND(((TODAY()-AA2))>20,((TODAY()-AA2))<29),1,""))

    AA2 was originally a formula too, but just to prove excel is crazy, i changed it to an integer and excel is still calling the above circular. Am i missing something, or do should i reinstall excel too?
    Last edited by Paul; 04-02-2012 at 03:35 PM.

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Incorrect Circular Reference with TODAY() function

    Hi Erikmalk,

    Welcome to the forum.

    After changing AA2 to integer, the issues should have been resolved.. check if you still have some other circular references in some other cells, else post the sample file. thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Incorrect Circular Reference with TODAY() function

    Quote Originally Posted by Erikmalk View Post
    I'm having the same problem. Excel is saying that this formula is circular, but it isn't.

    Cell AA3 is:

    =IF(AA2="","",IF(AND(((TODAY()-AA2))>20,((TODAY()-AA2))<29),1,""))

    AA2 was originally a formula too, but just to prove excel is crazy, i changed it to an integer and excel is still calling the above circular. Am i missing something, or do should i reinstall excel too?


    Welcome to the Forum, unfortunately:

    Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread. It makes sense to have a new thread for your question because a thread with numerous replies can be off putting & difficult to pick out relevant replies.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Incorrect Circular Reference with TODAY() function

    Sometimes, where Excel says the circular ref is, is not really where it is. Oftentimes, the "accused" cell is the result of preceeding formulas that are creating a circ ref, so sometimes the search for the culprit has to go backwards from where it says the circ ref is
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Incorrect Circular Reference with TODAY() function

    I agree with FDibbins...

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

  6. #6
    Registered User
    Join Date
    03-31-2012
    Location
    Los Angeles
    MS-Off Ver
    Exce 2007, 2010, 2011
    Posts
    3

    Re: Incorrect Circular Reference with TODAY() function

    Hi all, thanks for the replies. Sorry for hijacking the thread, but it my question was identical and as a new user i didn't like that the only answer was to reinstall excel, figured we could look a little closer. I don't think reinstall is my problem though so I should have just started a new thread for sure, but i suppose what's done is done. Lmk if there is a way to break this convo to a new thread and I'd be happy to participate.

    I am pretty sure reinstall isn't my problem because I opened the file from a different computer and different version of excel to find the same issue. I have created a sample file that isolates the circular reference.
    Attached Files Attached Files

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Incorrect Circular Reference with TODAY() function

    I will take a look at your file as soon as a sumproduct formula i was working with, lets me have excle back. quick tip...NEVER use entire column ranges in a sumproduct calc LOL

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Incorrect Circular Reference with TODAY() function

    ok that file contained 1 sheet, with data in 2 cells - A1 had a date in it, B1 had =IF(A1="","",IF(AND(((TODAY()-A1))>13,((TODAY()-A1))<21),1,"")).

    It does not show a circ ref, so maybe when you deleted the other stuff to send that, the circ was somewhere in what you deleted?

  9. #9
    Registered User
    Join Date
    03-31-2012
    Location
    Los Angeles
    MS-Off Ver
    Exce 2007, 2010, 2011
    Posts
    3

    Re: Incorrect Circular Reference with TODAY() function

    Ah I found the answer. It's a bug. http://answers.microsoft.com/en-us/o...c-68b599b31bf5

    I'll summarize what happens through reproduce steps.

    1. create a new Excel document in excel 2007 or later.
    2. type in cell A1: =today()
    3. create a new Excel document.
    4. type in cell B2: =B2
    5. click OK to accept the circular reference
    6. tab back to the first document
    7. look at the status bar

    Expected: no circular reference found in cell A1.
    Result: circular reference indicated in cell A1.

    After you correct the real circular reference, the fake circular reference goes away. To find the real one go to: Formulas > Error Checking > Circular references. Fortunately this approach finds only the real error.

  10. #10
    Registered User
    Join Date
    08-23-2014
    Location
    Huntington Beach, CA
    MS-Off Ver
    2007
    Posts
    2

    Re: Excel 2007 : Incorrect Circular Reference with TODAY function

    I am new to this site. I thought that the problem might be a mismatch of parentheses.
    I came up with the following formula, but don't know if it does what you want.
    =IF(A1="","",IF(AND(TODAY()-A1>13,TODAY()-A1<21),1,""))

  11. #11
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Excel 2007 : Incorrect Circular Reference with TODAY function

    KenKeefe, welcome to the forum

    Not sure if you noticed, but this thread is over 2 years old, I doubt it is stll being monitored, but thanks for the input

  12. #12
    Registered User
    Join Date
    08-23-2014
    Location
    Huntington Beach, CA
    MS-Off Ver
    2007
    Posts
    2

    Re: Excel 2007 : Incorrect Circular Reference with TODAY function

    Sorry I didn't look at that. Perhaps, I will do better next time. I have been in Excel since it was created. I graduated to it from Lotus 123.

  13. #13
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Excel 2007 : Incorrect Circular Reference with TODAY function

    Not a problem, I have done the same thing myself
    (I went from Supercalc to 1-2-3 to excel)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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