rockybell_77
New Member
- Joined
- Feb 14, 2012
- Messages
- 12
In below example, I want to define a formula in each cell of column ‘L’ (first in ‘P2’). I want to first search the products in (column A), which are having ‘Equipments’ populated in ‘column I’. For all products having equipments populated in column I, I want to find single maximum ‘weightage’ value in column G. The product which is having maximum ‘weightage’, I want to Multiply the ‘Dose’ value from ‘column C’; with B2 (Kg of first product) and divide by C2 (Dose of first product).
In case more then one product found having maximum weightage (Column G value) , then formula shall consider the product having ‘Solubility’ (Column D) having higher value among the identified multiple products having highest weightage value.
This formula will be defined for each cell in column L and corresponding product values will change (Column B ‘Kg’ for multiplication and Column C ‘Dose’ for division). Also similar search for other columns like M,N and so on s
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][TABLE="class: grid, width: 21"]
<colgroup><col><col span="2"><col span="2"><col><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Column-A
Product[/TD]
[TD]B
Kg[/TD]
[TD]C
Dose[/TD]
[TD]D
Soluility[/TD]
[TD]E
Toxicity[/TD]
[TD]F
potency[/TD]
[TD]G
weighatge[/TD]
[TD]H
Wt[/TD]
[TD]
I
[TABLE="class: grid, width: 21"]
<tbody>[TR]
[TD]Equipment-1
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]J
[TABLE="class: grid, width: 21"]
<tbody>[TR]
[TD]Equipment-2
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="class: grid, width: 21"]
<tbody>[TR]
[TD]K
Equipment-3
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]alpha[/TD]
[TD]163.8[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]5[/TD]
[TD]1[/TD]
[TD]41[/TD]
[TD]630[/TD]
[TD] [/TD]
[TD]RMG 250 L[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Beta[/TD]
[TD]125[/TD]
[TD]100[/TD]
[TD]2[/TD]
[TD]4[/TD]
[TD]1[/TD]
[T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]
[TR]
[TD]Chi[/TD]
[TD]840[/TD]
[TD]1[/TD]
[TD]3[/TD]
[TD]4[/TD]
[TD]1[/TD]
[TD]61[/TD]
[TD]525[/TD]
[TD]RMG 50L[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Ki[/TD]
[TD]456[/TD]
[TD]10[/TD]
[TD]2[/TD]
[TD]4[/TD]
[TD]1[/TD]
[TD]36[/TD]
[TD]380[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]RMG 1200L[/TD]
[/TR]
[TR]
[TD]Li[/TD]
[TD]37.5[/TD]
[TD]200[/TD]
[TD]4[/TD]
[TD]3[/TD]
[TD]4[/TD]
[TD]43[/TD]
[TD] [/TD]
[TD]RMG 50L[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]MY[/TD]
[TD]18.75[/TD]
[TD]2[/TD]
[TD]5[/TD]
[TD]3[/TD]
[TD]3[/TD]
[TD]39[/TD]
[TD]75[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]NY[/TD]
[TD]18.75[/TD]
[TD]5[/TD]
[TD]1[/TD]
[TD]3[/TD]
[TD]3[/TD]
[TD]39[/TD]
[TD]150[/TD]
[TD]RMG 50L[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
In case more then one product found having maximum weightage (Column G value) , then formula shall consider the product having ‘Solubility’ (Column D) having higher value among the identified multiple products having highest weightage value.
This formula will be defined for each cell in column L and corresponding product values will change (Column B ‘Kg’ for multiplication and Column C ‘Dose’ for division). Also similar search for other columns like M,N and so on s
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][TABLE="class: grid, width: 21"]
<colgroup><col><col span="2"><col span="2"><col><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Column-A
Product[/TD]
[TD]B
Kg[/TD]
[TD]C
Dose[/TD]
[TD]D
Soluility[/TD]
[TD]E
Toxicity[/TD]
[TD]F
potency[/TD]
[TD]G
weighatge[/TD]
[TD]H
Wt[/TD]
[TD]
I
[TABLE="class: grid, width: 21"]
<tbody>[TR]
[TD]Equipment-1
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]J
[TABLE="class: grid, width: 21"]
<tbody>[TR]
[TD]Equipment-2
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="class: grid, width: 21"]
<tbody>[TR]
[TD]K
Equipment-3
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]alpha[/TD]
[TD]163.8[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]5[/TD]
[TD]1[/TD]
[TD]41[/TD]
[TD]630[/TD]
[TD] [/TD]
[TD]RMG 250 L[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Beta[/TD]
[TD]125[/TD]
[TD]100[/TD]
[TD]2[/TD]
[TD]4[/TD]
[TD]1[/TD]
[TD]36[/TD]
[TD]500[/TD]
[TD] [/TD]
[TD]RMG 600L[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Gama[/TD]
[TD]250[/TD]
[TD]10[/TD]
[TD]2[/TD]
[TD]4[/TD]
[TD]1[/TD]
[TD]41[/TD]
[TD]500[/TD]
[TD] [/TD]
[TD]RMG 600L[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Delta[/TD]
[TD]265[/TD]
[TD]25[/TD]
[TD]2[/TD]
[TD]4[/TD]
[TD]1[/TD]
[TD]61[/TD]
[TD]530[/TD]
[TD] [/TD]
[TD]RMG 600L[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Theta[/TD]
[TD]265[/TD]
[TD]250[/TD]
[TD]2[/TD]
[TD]4[/TD]
[TD]1[/TD]
[TD]36[/TD]
[TD]530[/TD]
[TD] [/TD]
[TD]RMG 600L[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Sita[/TD]
[TD]132.5[/TD]
[TD]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