[TABLE="width: 620"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD="colspan: 2"]I need help on this problem which (unintentionally) involves a circular reference. Major issues: "DIV/0" and "#N/A" (of course due to the circular).
I'll prefer to eliminate the circular ref. but at the same time would prefer it to be solved by iterative formulas (if such exists) as much as possible before code routine.
In case a circular reference is allowed, I estimate max. of 5 iterations @ 1 as the max. change.
If code is the only solution then it is fine as well.[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]
[TABLE="width: 473"]
<tbody>[TR]
[TD="class: xl70, width: 473"]B1: FIX VALUE, INTEGER[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 147"]
<tbody>[TR]
[TD="class: xl70, width: 147"]100 [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 473"]
<tbody>[TR]
[TD="class: xl70, width: 473"]B2: FIX VALUE, DECIMAL[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 147"]
<tbody>[TR]
[TD="class: xl70, width: 147"] 37.30 [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 473"]
<tbody>[TR]
[TD="class: xl70, width: 473"] B3=2*INT(B2). SHALL INCREASE UNTIL B4<=1.25 [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 147"]
<tbody>[TR]
[TD="class: xl70, width: 147"]74 [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 473"]
<tbody>[TR]
[TD="class: xl70, width: 473"]B4=B1/B3.
- IF B4>1.25, THEN VALUE B3 HAS TO BE INCREASED IN 1 UNIT UNTIL THIS RATIO (THIS CELL B4) REACHES A VALUE <=1.25.
- INCREASED VALUE OF B3 SHALL BE PLACED IN CELL C3.
i.e. C3 = B3+1 ITERATIVELY[/TD]
[/TR]
[TR]
[TD="class: xl70, width: 473"][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 147"]
<tbody>[TR]
[TD="class: xl70, width: 147"]1.35[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
Thank you in advance.
AG
<colgroup><col><col></colgroup><tbody>[TR]
[TD="colspan: 2"]I need help on this problem which (unintentionally) involves a circular reference. Major issues: "DIV/0" and "#N/A" (of course due to the circular).
I'll prefer to eliminate the circular ref. but at the same time would prefer it to be solved by iterative formulas (if such exists) as much as possible before code routine.
In case a circular reference is allowed, I estimate max. of 5 iterations @ 1 as the max. change.
If code is the only solution then it is fine as well.[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]
[TABLE="width: 473"]
<tbody>[TR]
[TD="class: xl70, width: 473"]B1: FIX VALUE, INTEGER[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 147"]
<tbody>[TR]
[TD="class: xl70, width: 147"]100 [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 473"]
<tbody>[TR]
[TD="class: xl70, width: 473"]B2: FIX VALUE, DECIMAL[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 147"]
<tbody>[TR]
[TD="class: xl70, width: 147"] 37.30 [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 473"]
<tbody>[TR]
[TD="class: xl70, width: 473"] B3=2*INT(B2). SHALL INCREASE UNTIL B4<=1.25 [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 147"]
<tbody>[TR]
[TD="class: xl70, width: 147"]74 [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 473"]
<tbody>[TR]
[TD="class: xl70, width: 473"]B4=B1/B3.
- IF B4>1.25, THEN VALUE B3 HAS TO BE INCREASED IN 1 UNIT UNTIL THIS RATIO (THIS CELL B4) REACHES A VALUE <=1.25.
- INCREASED VALUE OF B3 SHALL BE PLACED IN CELL C3.
i.e. C3 = B3+1 ITERATIVELY[/TD]
[/TR]
[TR]
[TD="class: xl70, width: 473"][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 147"]
<tbody>[TR]
[TD="class: xl70, width: 147"]1.35[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
Thank you in advance.
AG