+ Reply to Thread
Results 1 to 3 of 3

Avoiding a Circular Reference

  1. #1
    Registered User
    Join Date
    05-04-2006
    MS-Off Ver
    Excel for Mac. 365. Version 16.98
    Posts
    61

    Avoiding a Circular Reference

    Hi,
    I often run a calculaton on a loan structure that calculates all the fees associated with the transaction. When we lend money we provide an Advance to somebody and then all the fees are capitalized into the Facility.
    The current process is: take a guess at the Facility, enter the fees, then go to the resultant Advance and goal seek that field to the $$ being advanced to the borrower. This is backwards.
    I want to enter the Advance, then the fees are worked out from there. The issue with this is that all the fees are calculated from the Facility.

    I've atttached a spreadsheet where it's pretty clear how I want to calculate it. Currently we're doing in the Backwards format and I want to reverse this.
    I dont know VBA, but from what I do know is that a forumla cannot handle this.
    Attached Files Attached Files

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

    Re: Avoiding a Circular Reference

    A formula will do this just fine, and VBA should not be necessary. Before this is a programming problem, it needs to be an algebra problem. If y is facility and x is advance, then it looks like the problem is to solve for y given:

    y=x+y*0.02+y*0.0175+y*0.0153+3300 -> combine all the y's together
    y-y*0.02-y*0.0175-y*0.0153=x+3300 -> solve for y

    Once you have solved for y, the desired Excel formula should be pretty simple. If you need an algebra refresher: https://www.purplemath.com/modules/solvelin3.htm
    Your algebra might be rusty, but let us know how you get on.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Registered User
    Join Date
    05-04-2006
    MS-Off Ver
    Excel for Mac. 365. Version 16.98
    Posts
    61

    Re: Avoiding a Circular Reference

    Thank you for that.
    I discovered something even simpler than algebra. I simply enabled Calculation Iterations to stop the circular reference.

+ 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. [SOLVED] Avoiding Circular Reference
    By GroupStats in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-03-2013, 03:41 PM
  2. avoiding circular reference
    By dockdude in forum Excel General
    Replies: 2
    Last Post: 02-25-2010, 11:07 AM
  3. Avoiding Circular Reference
    By ffffloyd in forum Excel General
    Replies: 3
    Last Post: 07-01-2009, 06:56 PM
  4. [SOLVED] Macro avoiding circular reference
    By R.VENKATARAMAN in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-06-2005, 04:05 AM
  5. Macro avoiding circular reference
    By Kanga 85 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM
  6. Macro avoiding circular reference
    By Kanga 85 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM
  7. Macro avoiding circular reference
    By Kanga 85 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM
  8. [SOLVED] Avoiding circular reference on formula
    By Chuck W in forum Excel General
    Replies: 5
    Last Post: 02-21-2005, 11:06 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