LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 29
Default Help avoiding a circular reference

Worked like a charm Harlan. Well played sir!

"Harlan Grove" wrote:

"Ted Metro" wrote...
....
I have a source of funds list in columns A & B

State Funds 1,000
Tax Credits 5,000
Cash 8,000
Financing sum(d1:d4)-sum(b1:b4)
Total sum(b1:b4)


So B4 contains a formula that refers to itself?

and a use of funds list in columns C & D

construction 2,000
Fixed Assets 12,000
Soft Costs 2,000
Financing Costs .02*b4
Total sum(d1:d4)

....
The problem is that d4 (the financing costs) is dependent upon the amount
needed, which is dependent upon d4.

....

Time for a little algebra.

B4 = SUM(D1:D4) - SUM(B1:B4)
= SUM(D1:D3) + D4 - SUM(B1:B3) - B4
= SUM(D1:D3) + 0.02 * B4 - SUM(B1:B3) - B4
= SUM(D1:D3) - SUM(B1:B3) - 0.98 * B4
1.98 * B4 = SUM(D1:D3) - SUM(B1:B3)

B4: =(SUM(D1:D3)-SUM(B1:B3))/1.98

or if the name Rate referred to 0.02,

B4: =(SUM(D1:D3)-SUM(B1:B3))/(2-Rate)

You can then check this in another cell using the formula

=ABS(D5-B5-B4)<1E-6

which ignores rounding error with magnitude less than 0.000001.



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
adding on to an existing total & avoiding a circular reference blo bukti Excel Discussion (Misc queries) 1 April 22nd 07 10:26 AM
Ho do I do this without a circular reference? mmednick Excel Discussion (Misc queries) 6 February 2nd 06 07:42 PM
Circular Reference??? bluenoser1946 New Users to Excel 2 September 19th 05 08:57 AM
Macro avoiding circular reference Kanga 85 Excel Worksheet Functions 3 June 15th 05 03:04 AM
Avoiding circular reference on formula Chuck W Excel Discussion (Misc queries) 4 February 22nd 05 02:52 AM


All times are GMT +1. The time now is 09:37 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"