Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,069
Default Recalculating in a circular reference

I have a circular reference designed to iterate and recalculate when I
change an input cell. When the input cell causes the calculation to result
in a ##NULL value I have to click on one of the cells in the circular
reference, then click on the formula bar and then press enter before it will
recalculate even if the input cell is a safe value. Does anyone know a way
to reset or refresh the cells in the circular reference other than the
onerous one that I have discovered?

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 740
Default Recalculating in a circular reference

Hi John,

ive been doing such *re-ite-itera-iterarion* past 7 years ago, but i feel a
little bit shaking while having a starting suggestions .....

for me, the input cell is a one precious cell acting as the xenter gateway
of the circular formulation of many cells, sheets, or even with other
worksheets.....at an instant or *open-close* anti-re-calculation process.

for me, the input cell must contain ready made formula!!!
for faster iteration, the input cell must be linked *not only* to one cell...
i make the input cell to function as the *heart of the multi-circular group
of formulation*...
In other words, in a 2D circle- it is located in the vertex and produce rays
of linkage towards the different cells acting as perimeter. For a 2 or 3
group of circles, i place it in the intersecting perimeter.

I often place the input cell in the left uppermost corner <sheetwise of the
group of circular formulation .

first is I type a starting desirable value in the input cell *not formula*.
then i paste the ready-made formula in the input cell *on the formula bar*
.....
*from left to right then down* ! error results are eliminated one-at-a-time
and towards a smooth logical pattern...

I had no experience working on a circular formulation wherein the perimeter
cells contains *error result* or an IF formula with a "" result.
I found it easier this way in order to be considered as reliable...

regards,
driller

--
*****
birds of the same feather flock together..



"John" wrote:

I have a circular reference designed to iterate and recalculate when I
change an input cell. When the input cell causes the calculation to result
in a ##NULL value I have to click on one of the cells in the circular
reference, then click on the formula bar and then press enter before it will
recalculate even if the input cell is a safe value. Does anyone know a way
to reset or refresh the cells in the circular reference other than the
onerous one that I have discovered?

Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,069
Default Recalculating in a circular reference

Can anyone else try to answer my question? I know how to set up the circular
reference, but I need to know how to automatically reset the iteration. For
a simple example, say I have a input ratio R and a formula x = SQRT(x) + R.
If you specify R as 10 in cell A1 and in B1 type the formula =SQRT(B1) + A1,
then you have a circular reference. If you allow Excel to iterate the anwer
it solves easily. Thereafter you can change R and it will automatically
recalculate a new answer. Now if you change R to a negative number it gives
a #NUM! error. Then if you change R back to a positive number it will not
recalculate until you click on B1, then click on the formula bar and then
press the Enter key. Because I want to be able to vary the value of R
frequently and I have numerous iterative calculations in my work I am looking
for a better way to handle this. Thanks!

"driller" wrote:

Hi John,

ive been doing such *re-ite-itera-iterarion* past 7 years ago, but i feel a
little bit shaking while having a starting suggestions .....

for me, the input cell is a one precious cell acting as the xenter gateway
of the circular formulation of many cells, sheets, or even with other
worksheets.....at an instant or *open-close* anti-re-calculation process.

for me, the input cell must contain ready made formula!!!
for faster iteration, the input cell must be linked *not only* to one cell...
i make the input cell to function as the *heart of the multi-circular group
of formulation*...
In other words, in a 2D circle- it is located in the vertex and produce rays
of linkage towards the different cells acting as perimeter. For a 2 or 3
group of circles, i place it in the intersecting perimeter.

I often place the input cell in the left uppermost corner <sheetwise of the
group of circular formulation .

first is I type a starting desirable value in the input cell *not formula*.
then i paste the ready-made formula in the input cell *on the formula bar*
....
*from left to right then down* ! error results are eliminated one-at-a-time
and towards a smooth logical pattern...

I had no experience working on a circular formulation wherein the perimeter
cells contains *error result* or an IF formula with a "" result.
I found it easier this way in order to be considered as reliable...

regards,
driller

--
*****
birds of the same feather flock together..



"John" wrote:

I have a circular reference designed to iterate and recalculate when I
change an input cell. When the input cell causes the calculation to result
in a ##NULL value I have to click on one of the cells in the circular
reference, then click on the formula bar and then press enter before it will
recalculate even if the input cell is a safe value. Does anyone know a way
to reset or refresh the cells in the circular reference other than the
onerous one that I have discovered?

Thanks.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 751
Default Recalculating in a circular reference

John,

Two things. First, I think the following formula greatly improves your
situation, but I don't know if it will handle all cases without you
needing to repeat the process you described.

=IF(ISERROR(B1)*(A10),A1,SQRT(B1)+A1)

Second, you might want to consider the recursive equivalent using one
cell per iteration, which does not need the Iteration flag checked at
Options. You set A1 to contain R, then A2 and down:

=SQRT(A1)+$A$1

From my tests 40 iterations are enough but to make sure you can

retrieve the last result with:

=IF(A40<A39,"Not resolved",A40)

HTH
Kostis Vezerides

On Jul 9, 7:34 pm, John wrote:
Can anyone else try to answer my question? I know how to set up the circular
reference, but I need to know how to automatically reset the iteration. For
a simple example, say I have a input ratio R and a formula x = SQRT(x) + R.
If you specify R as 10 in cell A1 and in B1 type the formula =SQRT(B1) + A1,
then you have a circular reference. If you allow Excel to iterate the anwer
it solves easily. Thereafter you can change R and it will automatically
recalculate a new answer. Now if you change R to a negative number it gives
a #NUM! error. Then if you change R back to a positive number it will not
recalculate until you click on B1, then click on the formula bar and then
press the Enter key. Because I want to be able to vary the value of R
frequently and I have numerous iterative calculations in my work I am looking
for a better way to handle this. Thanks!

"driller" wrote:
Hi John,


ive been doing such *re-ite-itera-iterarion* past 7 years ago, but i feel a
little bit shaking while having a starting suggestions .....


for me, the input cell is a one precious cell acting as the xenter gateway
of the circular formulation of many cells, sheets, or even with other
worksheets.....at an instant or *open-close* anti-re-calculation process.


for me, the input cell must contain ready made formula!!!
for faster iteration, the input cell must be linked *not only* to one cell...
i make the input cell to function as the *heart of the multi-circular group
of formulation*...
In other words, in a 2D circle- it is located in the vertex and produce rays
of linkage towards the different cells acting as perimeter. For a 2 or 3
group of circles, i place it in the intersecting perimeter.


I often place the input cell in the left uppermost corner <sheetwise of the
group of circular formulation .


first is I type a starting desirable value in the input cell *not formula*.
then i paste the ready-made formula in the input cell *on the formula bar*
....
*from left to right then down* ! error results are eliminated one-at-a-time
and towards a smooth logical pattern...


I had no experience working on a circular formulation wherein the perimeter
cells contains *error result* or an IF formula with a "" result.
I found it easier this way in order to be considered as reliable...


regards,
driller


--
*****
birds of the same feather flock together..


"John" wrote:


I have a circular reference designed to iterate and recalculate when I
change an input cell. When the input cell causes the calculation to result
in a ##NULL value I have to click on one of the cells in the circular
reference, then click on the formula bar and then press enter before it will
recalculate even if the input cell is a safe value. Does anyone know a way
to reset or refresh the cells in the circular reference other than the
onerous one that I have discovered?


Thanks.



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
Circular Reference Barb Reinhardt Excel Discussion (Misc queries) 0 January 8th 07 05:36 PM
Help on Circular Reference, MIVELD Excel Discussion (Misc queries) 1 July 28th 06 10:23 AM
circular reference when using a UDF Saira Excel Discussion (Misc queries) 1 September 21st 05 06:39 PM
Circular Reference??? bluenoser1946 New Users to Excel 2 September 19th 05 08:57 AM
Circular reference leon Excel Worksheet Functions 1 November 1st 04 12:45 PM


All times are GMT +1. The time now is 05:40 PM.

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"