Index, Match with multiple criteria in an array

lejanco

New Member
Joined
Jun 16, 2014
Messages
4
skucouncategorycolorgpm
115basketred90
215basketblu91
320potterypurple95
418potteryblue91

<tbody>
</tbody>
Hello,

I need to select the top gpm sku, 2nd top sku, 3rd etc. per category. My result table is set up like this spread sheet is set up like this
1 2 3 4 5 (column headings)
Basket
Pottery
Tupperware
Etc.
(Row headings)
Thanks!
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
so on your small amount of data above

pottery would be 95 then 91
basket would be 91 then 90 ?
 
Upvote 0
Can you add a helper column to your data? If so, see if the example below is what you want.

The helper column is used to add a small amount to the gpm to keep from having duplicates (say if gpm in pottery were both 95).

Can cell references to match your data.
Copy the formula in F2 down.
Formula in B9 would be copied down and across.

NOTE: formula in B9 is an array formula and must be entered with
Excel Workbook
ABCDEFG
1skucouncategorycolorgpmHelper
2115basketred9090
3215basketblu9191
4320potterypurple9595
5418potteryblue9191
6
7
812345
9basket21
10pottery34
11
CTRL-SHIFT-ENTER.
 
Upvote 0
You're welcome. Thanks for the feedback and welcome to the forum.
 
Upvote 0

Forum statistics

Threads
1,216,126
Messages
6,129,005
Members
449,480
Latest member
yesitisasport

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