Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
mmednick
 
Posts: n/a
Default Ho do I do this without a circular reference?


I start with a collumn of financial data. The value of the last row is
the sum of all the other rows. If this number is negative however, I
want the value of the number in the first row to update by adding the
absolute value of the last row figure to itself.

A 100 <-- I want this number to recalculate with the absolute value of
E
B 50
C 50
D-250
E -50 <-- sum of rows A through D

I know this is troublesome but I think I saw somewhere a colleague used
a function to copy out values to other cells in order to break the
circular refernce in a problem like this.

Anyone have any suggestions?
the n00bish


--
mmednick
------------------------------------------------------------------------
mmednick's Profile: http://www.excelforum.com/member.php...o&userid=29404
View this thread: http://www.excelforum.com/showthread...hreadid=507728

  #2   Report Post  
Posted to microsoft.public.excel.misc
mmednick
 
Posts: n/a
Default Ho do I do this without a circular reference?


bump

please


--
mmednick
------------------------------------------------------------------------
mmednick's Profile: http://www.excelforum.com/member.php...o&userid=29404
View this thread: http://www.excelforum.com/showthread...hreadid=507728

  #3   Report Post  
Posted to microsoft.public.excel.misc
mmednick
 
Posts: n/a
Default Ho do I do this without a circular reference?


Help me im sinking, they've sunk my battleship


--
mmednick
------------------------------------------------------------------------
mmednick's Profile: http://www.excelforum.com/member.php...o&userid=29404
View this thread: http://www.excelforum.com/showthread...hreadid=507728

  #4   Report Post  
Posted to microsoft.public.excel.misc
poloboyUK
 
Posts: n/a
Default Ho do I do this without a circular reference?


You can't get round the circular ref. Sorry


--
poloboyUK
------------------------------------------------------------------------
poloboyUK's Profile: http://www.excelforum.com/member.php...o&userid=31097
View this thread: http://www.excelforum.com/showthread...hreadid=507728

  #5   Report Post  
Posted to microsoft.public.excel.misc
Herbert Seidenberg
 
Posts: n/a
Default Ho do I do this without a circular reference?

If what you want to do is prevent the sum from going negative
by adding to A1, you can do this:
Select the negative sum.
Tools Goal Seek
To Value: 0
By changing cell: A1



  #6   Report Post  
Posted to microsoft.public.excel.misc
Bill Martin
 
Posts: n/a
Default Ho do I do this without a circular reference?

You can sort of do it with a second column:

[A1]=10 [A2]=if(a5=0,a1,a1-a5)
[B1]=50 [B2]=b1
[C1]=50 [C2]=c1
[D1]=-250 [D2]=d1
[E1]=sum(a1:d1) [E2]=sum(a2:d2)

Not precisely what you want, but perhaps close enough to be made to work.

Bill
--------------------------
mmednick wrote:
I start with a collumn of financial data. The value of the last row is
the sum of all the other rows. If this number is negative however, I
want the value of the number in the first row to update by adding the
absolute value of the last row figure to itself.

A 100 <-- I want this number to recalculate with the absolute value of
E
B 50
C 50
D-250
E -50 <-- sum of rows A through D

I know this is troublesome but I think I saw somewhere a colleague used
a function to copy out values to other cells in order to break the
circular refernce in a problem like this.

Anyone have any suggestions?
the n00bish


  #7   Report Post  
Posted to microsoft.public.excel.misc
vezerid
 
Posts: n/a
Default Ho do I do this without a circular reference?

mmednick

I am not sure if this is what you want exactly, but the following might
be close.

Use an additional cell (say C1) to store the original value that you
want for A. (this is probably the copy you heard about). In your
example set it to 100.

Use yet another cell (say E1) to enter 0.

Input all other values (B-D).

Enter as formula in A5: =SUM(A1:A4)

Tools | Options | Calculation. Check the Iterations checkbox (this now
allows self reference). Set Number of Iterations to 1.

In A1 enter:
=IF(E1=0,C1,IF(A5<0,C1+ABS(A4),C1))

Now you are ready to go to cell E1 and enter the value 1. This will
activate the nested IF() in the above formula, which will either add or
leave the number as it is entered in the copy cell C1.

Does this help?
Kostis Vezerides

Reply
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
Create dictionary of terms, create first time user site Solitaire Jane Austin New Users to Excel 1 January 19th 06 09:47 PM
Circular Reference... Help! Bhupinder Rayat Excel Worksheet Functions 3 January 13th 06 05:10 PM
Highest Value / Circular Reference Help Josh M Excel Discussion (Misc queries) 1 May 23rd 05 07:33 PM
Help solve a Circular Reference brupub Excel Worksheet Functions 6 February 14th 05 07:11 AM
Circular reference Pat Excel Discussion (Misc queries) 2 January 19th 05 05:52 AM


All times are GMT +1. The time now is 10:56 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"