+ Reply to Thread
Results 1 to 2 of 2

Circular Reference

  1. #1
    Registered User
    Join Date
    08-28-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    15

    Circular Reference

    Is there any way to tackle the circular reference problem through macros. I have attached one example in which cell D9 should be eaqual to D8 and D8 is dependent of D7 which is the dependent of D10. Again D10 is the dependent of D9.

    For avoiding the circular reference what im doing now is past special the value of Cell D8 in to cell D9 to multiple times to get Circular Reference.xlsxthe value of cell D9=D8.

    Kindly help if any body have a solution to this through Macro/VBA.

    Thanks

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

    Re: Circular Reference

    The 2 easiest approaches I see (and neither of them really involves Macros/VBA):

    1) It seems that in a previous thread of yours, I suggested that you first find an algebraic solution to the problem, and you didn't seem to like that suggestion. However, I'm going to suggest it again. Many problems like this can be readily solved if you will examine the equation you are using to see if it can be rearranged to eliminate the circular reference. I haven't looked at it in great detail. If you spend enough time with the algebra, I expect you can come up with rearranged formulas that will allow you to calculate D8/D9 without the circular reference.

    2)
    For avoiding the circular reference what im doing now is past special the value of Cell D8 in to cell D9 to multiple times to get the value of cell D9=D8.
    If you are at all familiar with numerical algorithms, this is one that is often called the method of "successive approximations." If you are willing to turn iteration on (In the Excel options dialog https://support.office.com/en-US/Art...rs=en-US&ad=US ), then you may be able to solve the problem as is with the formula in D9 =D8 (it seems to work just fine for me, since I routinely have iteration enabled). Iterative calculations with circular references require a little extra care when programming them into the spreadsheet, but, with that extra care and thought, they can be quite useful.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ 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: 2
    Last Post: 02-23-2014, 06:06 PM
  2. why is this a circular reference??
    By brucey2343 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-03-2013, 10:34 AM
  3. Circular Reference
    By josros6074 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-14-2013, 11:56 AM
  4. Circular Reference when formulas reference end of row formula!
    By Spellbound in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-29-2009, 08:26 AM
  5. Replies: 1
    Last Post: 08-21-2007, 07:22 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