+ Reply to Thread
Results 1 to 5 of 5

Threshold formula creates circular error

  1. #1
    Registered User
    Join Date
    06-06-2012
    Location
    Columbia, MO
    MS-Off Ver
    Excel 2010
    Posts
    3

    Threshold formula creates circular error

    The columns are
    -Date
    -Daily ROI
    -Balance
    -Draw Amount


    I have a formula that returns the date a threshold in the Balance is reached. Another formula uses that date as a flag to begin computation of another formula to calculate the Draw Amount. The balance amount is then the previous Balance Amount+Daily ROI-DrawAmount. This last action creates a circular reference. I'm probably overlooking somethig obvious, but need this to work.

    Formulas

    =OFFSET(A1,MATCH(P14,G:G,1),0,1,1) 'where A1 is the beginning of the Date column; P14 is the Threshold Amount and G:G is the Balance column - returns date
    =IF(G2>=$P$14,(1-$O$14)*E2,"") 'IF Balance Amount(G2) reaches Threshold(P14), multiply draw rate(1-$O$14) by the ROI
    =G2+E3-I2 'Old Balance + New ROI - Draw Amount....this creates circular reference

    How do I calculate the new balance?

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

    Re: Threshold formula creates circular error

    Hi jmow,

    welcome to the forum.

    It would be easy to drill down if you could upload a sample file. thanks.

    Regards,
    DILIPandey

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

  3. #3
    Registered User
    Join Date
    06-06-2012
    Location
    Columbia, MO
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Threshold formula creates circular error

    I assume the file was uploaded.

    The Sheet "Alt" is contains the formulas in question

    I figured it out. Thanks
    Last edited by jmow; 06-18-2012 at 10:53 AM.

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

    Re: Threshold formula creates circular error

    Hi jmow,

    which cell / range has the formula in question...? thanks.


    Regards,
    DILIPandey

    <click on below 'star' if this helps>

  5. #5
    Registered User
    Join Date
    06-06-2012
    Location
    Columbia, MO
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Threshold formula creates circular error

    Sheet "Alt"

    I want column G to be equal to column G(row-1)+ column E - column F - column K

    The problem is the formula in column K uses the value in column G.

    I don't want column K to have a value until column G reaches a threshold. Once that threshold is reached the value in K is subtracted from G. I've been racking my brain to make this happen, but I keep getting a circular reference. I could probably do more with VBA, but I'd rather not.

    THanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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