Extract top and bottom 3 values from a list with multiple products

Reyn0170

New Member
Joined
Nov 2, 2016
Messages
1
Greetings!

Stumped on something I'm sure there is an easy solution to and hoping you all can help! I am dealing with a (much larger in reality) list somewhat similar to the below where I have a set of stores, a product and a data point. I would like to, from this refreshable data pull, extract the top and bottom 3 drivers of growth based on % volume change and display for Candy and Soda separately in a formula that will autopopulate when new data is extracted to Excel each month in this file.

Data Pull extracting from:
CustomerProduct% Volume Change
Store 1Candy-1
Store 2Candy-2
Store 3Candy-3
Store 4Candy4
Store 5Candy5
Store 6Candy6
Store 1Soda-1
Store 2Soda-2
Store 3Soda-3
Store 4Soda4
Store 5Soda5
Store 6Soda6

<colgroup><col style="mso-width-source:userset;mso-width-alt:2194;width:45pt" width="60"> <col style="width:48pt" width="64"> <col style="mso-width-source:userset;mso-width-alt:1792;width:37pt" width="49"> </colgroup><tbody>
</tbody>


I would like it to look somewhat like the below.
Top 3 Growth Drivers
Candy
1Store 66
2Store 55
3Store 44
Soda
1Store 66
2Store 55
3Store 44
Top 3 Decline Drivers
Candy
1Store 3-3
2Store 2-2
3Store 1-1
Soda
1Store 3-3
2Store 2-2
3Store 1-1

<colgroup><col><col><col></colgroup><tbody>
</tbody>

I can do this easily if only pulling one product line and using a VLookup/Large formula, but the tricky part is sifting through multiple product lines and only extracting the top and bottom values from those product lines without micro-managing the lookup ranges. I will need to return adjacent values for multiple data points.

Happy to provide more insight into the question!! Thanks!!!!
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.

Forum statistics

Threads
1,215,375
Messages
6,124,578
Members
449,174
Latest member
chandan4057

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top