My data are like This [TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]TotalFeed[/TD]
[TD]Col1[/TD]
[TD]Col2[/TD]
[TD]Col3[/TD]
[TD]Factor1[/TD]
[TD]Factor2[/TD]
[TD]Factor3[/TD]
[/TR]
[TR]
[TD]100 (sc-1)[/TD]
[TD]50[/TD]
[TD]25[/TD]
[TD]25[/TD]
[TD]=50/100[/TD]
[TD]=25/100[/TD]
[TD]=25/100[/TD]
[/TR]
[TR]
[TD]100 (sc 2)[/TD]
[TD]70[/TD]
[TD][/TD]
[TD][/TD]
[TD]=70/100[/TD]
[TD="align: center"]?[/TD]
[TD="align: center"]?[/TD]
[/TR]
[TR]
[TD]100 (sc-3)[/TD]
[TD]70[/TD]
[TD]15[/TD]
[TD][/TD]
[TD]=70/100[/TD]
[TD]=15/100[/TD]
[TD="align: center"]?[/TD]
[/TR]
</tbody>[/TABLE]
As a matter of math its easy the 30 % remaining will be allocated as 15% and 15 % ...
What i need is when i change Col1 value ,factor2 and factor3 auto-renormalize eg.(15-15) so that sum=100 for all 3 columns
and the same happens when i change Col2 value , factor1 and factor3 changes accordingly
same for col 3. factor 1,2 change
for all of the above scenarios ( Scenario 1 = direct manual input so total = 100 )
Scenario 2 ( 1 manual and 2 auto calculated )
Scenarios 3 ( 2 manual and 1 auto calculated)
I need a unified Column Formula or a VB code to do the above Scenarios depending if the offset cell (Col1,2,3) empty or not
<tbody>[TR]
[TD]TotalFeed[/TD]
[TD]Col1[/TD]
[TD]Col2[/TD]
[TD]Col3[/TD]
[TD]Factor1[/TD]
[TD]Factor2[/TD]
[TD]Factor3[/TD]
[/TR]
[TR]
[TD]100 (sc-1)[/TD]
[TD]50[/TD]
[TD]25[/TD]
[TD]25[/TD]
[TD]=50/100[/TD]
[TD]=25/100[/TD]
[TD]=25/100[/TD]
[/TR]
[TR]
[TD]100 (sc 2)[/TD]
[TD]70[/TD]
[TD][/TD]
[TD][/TD]
[TD]=70/100[/TD]
[TD="align: center"]?[/TD]
[TD="align: center"]?[/TD]
[/TR]
[TR]
[TD]100 (sc-3)[/TD]
[TD]70[/TD]
[TD]15[/TD]
[TD][/TD]
[TD]=70/100[/TD]
[TD]=15/100[/TD]
[TD="align: center"]?[/TD]
[/TR]
</tbody>[/TABLE]
As a matter of math its easy the 30 % remaining will be allocated as 15% and 15 % ...
What i need is when i change Col1 value ,factor2 and factor3 auto-renormalize eg.(15-15) so that sum=100 for all 3 columns
and the same happens when i change Col2 value , factor1 and factor3 changes accordingly
same for col 3. factor 1,2 change
for all of the above scenarios ( Scenario 1 = direct manual input so total = 100 )
Scenario 2 ( 1 manual and 2 auto calculated )
Scenarios 3 ( 2 manual and 1 auto calculated)
I need a unified Column Formula or a VB code to do the above Scenarios depending if the offset cell (Col1,2,3) empty or not