Hello,
So, I have a relatively simple request. I have the following table.
[TABLE="width: 555"]
<tbody>[TR]
[TD]Sizes:[/TD]
[TD]Red[/TD]
[TD]Blue[/TD]
[TD]Green[/TD]
[TD]Yellow[/TD]
[TD]Black[/TD]
[TD]White[/TD]
[TD]Purple[/TD]
[TD]Orange[/TD]
[TD]Brown[/TD]
[/TR]
[TR]
[TD]Total[/TD]
[TD]5[/TD]
[TD]1[/TD]
[TD]16[/TD]
[TD]15[/TD]
[TD]21[/TD]
[TD]12[/TD]
[TD]7[/TD]
[TD]9[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]Item 1[/TD]
[TD]2[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]8[/TD]
[TD]8[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]9[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]Item 2[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]Item 3[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]Item 4[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]14[/TD]
[TD]7[/TD]
[TD]12[/TD]
[TD]11[/TD]
[TD]6[/TD]
[TD]0[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]Item 5[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]Item 6[/TD]
[TD]2[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]Item 7[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]Other[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[/TR]
</tbody>[/TABLE]
How would I do a comparison of the following summations: B3:J3, B4:J4, B5:J5, etc and find the largest then tell which Item number that is? For example, Item 4 is the biggest here and that is what the formula should return.
Also, do the same thing consequentially for the vertical columns (which just uses the total row in theory) and which ever is the biggest return the color that corresponds. For example, Green in this case.
Both will be separate cell formulas (ie the vertical comparisons will have their own cell and the horizontal ones their own cell).
Sample Workbook: https://www.dropbox.com/s/8wispz7r6bl0178/Sample.xlsx?dl=0
Thanks
So, I have a relatively simple request. I have the following table.
[TABLE="width: 555"]
<tbody>[TR]
[TD]Sizes:[/TD]
[TD]Red[/TD]
[TD]Blue[/TD]
[TD]Green[/TD]
[TD]Yellow[/TD]
[TD]Black[/TD]
[TD]White[/TD]
[TD]Purple[/TD]
[TD]Orange[/TD]
[TD]Brown[/TD]
[/TR]
[TR]
[TD]Total[/TD]
[TD]5[/TD]
[TD]1[/TD]
[TD]16[/TD]
[TD]15[/TD]
[TD]21[/TD]
[TD]12[/TD]
[TD]7[/TD]
[TD]9[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]Item 1[/TD]
[TD]2[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]8[/TD]
[TD]8[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]9[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]Item 2[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]Item 3[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]Item 4[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]14[/TD]
[TD]7[/TD]
[TD]12[/TD]
[TD]11[/TD]
[TD]6[/TD]
[TD]0[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]Item 5[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]Item 6[/TD]
[TD]2[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]Item 7[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]Other[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[/TR]
</tbody>[/TABLE]
How would I do a comparison of the following summations: B3:J3, B4:J4, B5:J5, etc and find the largest then tell which Item number that is? For example, Item 4 is the biggest here and that is what the formula should return.
Also, do the same thing consequentially for the vertical columns (which just uses the total row in theory) and which ever is the biggest return the color that corresponds. For example, Green in this case.
Both will be separate cell formulas (ie the vertical comparisons will have their own cell and the horizontal ones their own cell).
Sample Workbook: https://www.dropbox.com/s/8wispz7r6bl0178/Sample.xlsx?dl=0
Thanks
Last edited: