KimboSlice
New Member
- Joined
- Feb 1, 2017
- Messages
- 1
Hi all,
Long time lurker, first time poster. I have the following table:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Product[/TD]
[TD]Category[/TD]
[TD]Sales[/TD]
[TD][/TD]
[TD]Fruit[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Carrot[/TD]
[TD]Vegetable[/TD]
[TD]10[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Squash[/TD]
[TD]Vegetable[/TD]
[TD]40[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Pineapple[/TD]
[TD]Fruit[/TD]
[TD]90[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Blueberries[/TD]
[TD]Fruit[/TD]
[TD]20[/TD]
[TD][/TD]
[TD]Correct[/TD]
[TD]Apple[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]Onion[/TD]
[TD]Vegetable[/TD]
[TD]60[/TD]
[TD][/TD]
[TD]Answer[/TD]
[TD]Pineapple[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]Apple[/TD]
[TD]Fruit[/TD]
[TD]100[/TD]
[TD][/TD]
[TD][/TD]
[TD]Orange[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]Banana[/TD]
[TD]Fruit[/TD]
[TD]30[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]Lettuce[/TD]
[TD]Vegetable[/TD]
[TD]80[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]Peas[/TD]
[TD]Vegetable[/TD]
[TD]70[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD]Orange[/TD]
[TD]Fruit[/TD]
[TD]50[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
In cells F1, F2, and F3, I want to create a list of the 3 Products with the most sales, from most to least sales, that also match the criteria in cell E1, "Fruit". So in this instance, I would see F1 = Apple, F2 = Pineapple, and F3 = Orange.
The data dump is "redumped" quite frequently, so I would prefer to not use helper columns.
My apologies in advance if this formula question has already been discussed. I've been able to find solutions to parts of it on the internet, but not one that puts it all together.
Any help is greatly appreciated!
Thanks!
Long time lurker, first time poster. I have the following table:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Product[/TD]
[TD]Category[/TD]
[TD]Sales[/TD]
[TD][/TD]
[TD]Fruit[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Carrot[/TD]
[TD]Vegetable[/TD]
[TD]10[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Squash[/TD]
[TD]Vegetable[/TD]
[TD]40[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Pineapple[/TD]
[TD]Fruit[/TD]
[TD]90[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Blueberries[/TD]
[TD]Fruit[/TD]
[TD]20[/TD]
[TD][/TD]
[TD]Correct[/TD]
[TD]Apple[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]Onion[/TD]
[TD]Vegetable[/TD]
[TD]60[/TD]
[TD][/TD]
[TD]Answer[/TD]
[TD]Pineapple[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]Apple[/TD]
[TD]Fruit[/TD]
[TD]100[/TD]
[TD][/TD]
[TD][/TD]
[TD]Orange[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]Banana[/TD]
[TD]Fruit[/TD]
[TD]30[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]Lettuce[/TD]
[TD]Vegetable[/TD]
[TD]80[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]Peas[/TD]
[TD]Vegetable[/TD]
[TD]70[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD]Orange[/TD]
[TD]Fruit[/TD]
[TD]50[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
In cells F1, F2, and F3, I want to create a list of the 3 Products with the most sales, from most to least sales, that also match the criteria in cell E1, "Fruit". So in this instance, I would see F1 = Apple, F2 = Pineapple, and F3 = Orange.
The data dump is "redumped" quite frequently, so I would prefer to not use helper columns.
My apologies in advance if this formula question has already been discussed. I've been able to find solutions to parts of it on the internet, but not one that puts it all together.
Any help is greatly appreciated!
Thanks!