+ Reply to Thread
Results 1 to 9 of 9

Excel Circular Reference Problems

Hybrid View

dragon324 Excel Circular Reference... 03-18-2016, 01:15 PM
alansidman Re: Excel Circular Reference... 03-18-2016, 01:48 PM
dragon324 Re: Excel Circular Reference... 03-18-2016, 02:03 PM
Jack7774 Re: Excel Circular Reference... 03-18-2016, 01:50 PM
alansidman Re: Excel Circular Reference... 03-18-2016, 02:09 PM
MrShorty Re: Excel Circular Reference... 03-18-2016, 02:17 PM
dragon324 Re: Excel Circular Reference... 03-18-2016, 02:41 PM
alansidman Re: Excel Circular Reference... 03-18-2016, 02:45 PM
dragon324 Re: Excel Circular Reference... 03-18-2016, 02:49 PM
  1. #1
    Registered User
    Join Date
    03-01-2016
    Location
    -
    MS-Off Ver
    Mac Office
    Posts
    8

    Excel Circular Reference Problems

    Hi, I have two columns in excel like this:

    A B
    1 0.5
    1.5 0.5
    2 0.5
    2.5 0.25
    2.75 0.25
    3.00 0.25

    Basically the formula for A is the previous number in the A column + the previous number in the B column at the moment. So taking the first example, A1+B1 = A2 =>1 + 0.5 = 1.5 which is the next number in the A column. Now the values of B are controlled as follows: if 2.3<A, then B = 0.5, and if A>2.3 B = 0.25. The problem is that when the change happens, I want where A = 2.5 to actually be 2.25, not 2.5. How can I do this? If I do something like A2 = A1+B2 I get a circular reference... I don't mind adding other columns to do it, or anything that is required. Please let me know!

    Basically my problem is also complicated because there are further changes letter on as A grows, so everytime a change happens there's a problem
    Last edited by dragon324; 03-18-2016 at 01:20 PM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2505 Win 11
    Posts
    24,743

    Re: Excel Circular Reference Problems

    In B2, type =IF(A2<2.3,0.5,0.25) and copy down.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    03-01-2016
    Location
    -
    MS-Off Ver
    Mac Office
    Posts
    8

    Re: Excel Circular Reference Problems

    Quote Originally Posted by alansidman View Post
    In B2, type =IF(A2<2.3,0.5,0.25) and copy down.
    I've already typed that.

  4. #4
    Forum Contributor Jack7774's Avatar
    Join Date
    08-31-2012
    Location
    Georgia, US
    MS-Off Ver
    Excel 2010
    Posts
    576

    Re: Excel Circular Reference Problems

    I would think If column B is a variable that changes based on what you put into it and cell A2 is the first number you choose and then the following A3+ cells grow based on what is in column B next to the corresponding cell in A then in cell A2 you would put the formula and copy it down in column A to wherever you want it to stop at.

    =A1+B1
    This is cell A2
    Once you copy it down to A3
    The code in A3 should look like
    =A2+B2
    ....
    Oh I missed a part nvm.
    Thank those who have helped you by clicking the Star * below their name and please mark your post [SOLVED] if it has been answered satisfactorily.

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2505 Win 11
    Posts
    24,743

    Re: Excel Circular Reference Problems

    When I used the formula I provided, it returns the results you have shown in your first post with no circular error. What do you not like about it? Or what is missing? Please clarify your issue.

    I've already typed that.
    does not help me to help you. Please be more specific.

  6. #6
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,436

    Re: Excel Circular Reference Problems

    column A seems straightforward A2=A1+B1.
    column B seems to be where the real logic challenges are. Why is 2.3 the comparison? Based on the simple example you have presented, I used if(A2<2.0,0.5,0.25) and that changed B from 0.5 to 0.25 earlier in the sequence -- to where you say you want the change from 0.5 to 0.25 to occur. Or, perhaps, IF(A2+0.5<2.3,0.5,0.25). Where does the 2.3 come from? What kind of scenarios do you expect to need this to work for? I think the solution to the problem lies in carefully defining the "condition" going into the IF function in column B, and I cannot see from this side of the internet exactly what that condition needs to be.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  7. #7
    Registered User
    Join Date
    03-01-2016
    Location
    -
    MS-Off Ver
    Mac Office
    Posts
    8

    Re: Excel Circular Reference Problems

    Quote Originally Posted by MrShorty View Post
    column A seems straightforward A2=A1+B1.
    column B seems to be where the real logic challenges are. Why is 2.3 the comparison? Based on the simple example you have presented, I used if(A2<2.0,0.5,0.25) and that changed B from 0.5 to 0.25 earlier in the sequence -- to where you say you want the change from 0.5 to 0.25 to occur. Or, perhaps, IF(A2+0.5<2.3,0.5,0.25). Where does the 2.3 come from? What kind of scenarios do you expect to need this to work for? I think the solution to the problem lies in carefully defining the "condition" going into the IF function in column B, and I cannot see from this side of the internet exactly what that condition needs to be.
    Yes, you are right. I ended up doing something a lot more complicated in the meantime, but then I read your answer, and immediately saw a simpler way to do it this way. Thanks!

  8. #8
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2505 Win 11
    Posts
    24,743

    Re: Excel Circular Reference Problems

    In the interest of others who may have a similar issue, please explain your solution. Also, if this thread is solved, then please mark it as such by

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

  9. #9
    Registered User
    Join Date
    03-01-2016
    Location
    -
    MS-Off Ver
    Mac Office
    Posts
    8

    Re: Excel Circular Reference Problems

    B2 = IF(A2+B1>2.3, 0.25, 0.5) <- this is, roughly, my solution (my actual problem was a bit more complicated, but in terms of what I've posted here, this is the solution). This makes it change at 2 instead of 2.5, which is what I wanted .

+ 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. Excel Newbie - Circular Reference Troubles
    By southaja in forum Hello..Introduce yourself
    Replies: 3
    Last Post: 03-15-2016, 11:26 AM
  2. Replies: 2
    Last Post: 02-23-2014, 06:06 PM
  3. Replies: 1
    Last Post: 08-21-2007, 07:22 PM
  4. Validation & Circular Reference Problems
    By darqphire in forum Excel General
    Replies: 1
    Last Post: 08-18-2006, 05:30 AM
  5. Issues with my excel formula as it needs Circular reference - hlp
    By im_not_excelling in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-04-2006, 03:25 AM
  6. [SOLVED] circular reference (Excel 2000)
    By peaspud in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-21-2005, 02:20 PM
  7. [SOLVED] Having problems with a circular reference and the #VALUE! error
    By celicagt1993 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-27-2005, 03:10 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