ClimoC
Well-known Member
- Joined
- Aug 21, 2009
- Messages
- 584
Hi again all
Not sure where to start with this one, so I'll try to keep it brief.
We have two sets of cells on separate rows that contain lookups to a separate table for each row. These return some decimal values.
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]Name1[/TD]
[TD]Name2[/TD]
[TD]Name3[/TD]
[TD]Name4[/TD]
[TD]Name5[/TD]
[/TR]
[TR]
[TD]Table1 Lookup[/TD]
[TD]1.02[/TD]
[TD]1.12[/TD]
[TD]1.3[/TD]
[TD]0.89[/TD]
[TD]0.91[/TD]
[/TR]
[TR]
[TD]Table2 Lookup[/TD]
[TD]1.07[/TD]
[TD]1.14[/TD]
[TD]1.2[/TD]
[TD]0.99[/TD]
[TD]0.95[/TD]
[/TR]
</tbody>[/TABLE]
These are then multiplied by a percentage, using the same 'name' for a lookup; these are hard-written into the cells
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]Name1[/TD]
[TD]Name2[/TD]
[TD]Name3[/TD]
[TD]Name4[/TD]
[TD]Name5[/TD]
[/TR]
[TR]
[TD](Total 100%)[/TD]
[TD]27%[/TD]
[TD]34%[/TD]
[TD]3%[/TD]
[TD]4%[/TD]
[TD]32%[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Giving us 2 Product Rows. We then sum each row and pick the one that is the largest sum
[TABLE="width: 500"]
<tbody>[TR]
[TD]Name1[/TD]
[TD]Name2[/TD]
[TD]Name3[/TD]
[TD]Name4[/TD]
[TD]Name5[/TD]
[TD]Sum of Row[/TD]
[/TR]
[TR]
[TD]0.2754[/TD]
[TD]0.3808[/TD]
[TD]etc[/TD]
[TD]etc[/TD]
[TD]etc[/TD]
[TD]1.19[/TD]
[/TR]
[TR]
[TD]0.2889[/TD]
[TD]0.3876[/TD]
[TD]etc[/TD]
[TD]etc[/TD]
[TD]etc[/TD]
[TD]1.17[/TD]
[/TR]
</tbody>[/TABLE]
Including the lookups by the name, is there a way to put this in a single array formula (even if it's wrapped in an If statement to pick the biggest one?)
Thanks
C
Not sure where to start with this one, so I'll try to keep it brief.
We have two sets of cells on separate rows that contain lookups to a separate table for each row. These return some decimal values.
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]Name1[/TD]
[TD]Name2[/TD]
[TD]Name3[/TD]
[TD]Name4[/TD]
[TD]Name5[/TD]
[/TR]
[TR]
[TD]Table1 Lookup[/TD]
[TD]1.02[/TD]
[TD]1.12[/TD]
[TD]1.3[/TD]
[TD]0.89[/TD]
[TD]0.91[/TD]
[/TR]
[TR]
[TD]Table2 Lookup[/TD]
[TD]1.07[/TD]
[TD]1.14[/TD]
[TD]1.2[/TD]
[TD]0.99[/TD]
[TD]0.95[/TD]
[/TR]
</tbody>[/TABLE]
These are then multiplied by a percentage, using the same 'name' for a lookup; these are hard-written into the cells
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]Name1[/TD]
[TD]Name2[/TD]
[TD]Name3[/TD]
[TD]Name4[/TD]
[TD]Name5[/TD]
[/TR]
[TR]
[TD](Total 100%)[/TD]
[TD]27%[/TD]
[TD]34%[/TD]
[TD]3%[/TD]
[TD]4%[/TD]
[TD]32%[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Giving us 2 Product Rows. We then sum each row and pick the one that is the largest sum
[TABLE="width: 500"]
<tbody>[TR]
[TD]Name1[/TD]
[TD]Name2[/TD]
[TD]Name3[/TD]
[TD]Name4[/TD]
[TD]Name5[/TD]
[TD]Sum of Row[/TD]
[/TR]
[TR]
[TD]0.2754[/TD]
[TD]0.3808[/TD]
[TD]etc[/TD]
[TD]etc[/TD]
[TD]etc[/TD]
[TD]1.19[/TD]
[/TR]
[TR]
[TD]0.2889[/TD]
[TD]0.3876[/TD]
[TD]etc[/TD]
[TD]etc[/TD]
[TD]etc[/TD]
[TD]1.17[/TD]
[/TR]
</tbody>[/TABLE]
Including the lookups by the name, is there a way to put this in a single array formula (even if it's wrapped in an If statement to pick the biggest one?)
Thanks
C