Lookup and Ranking Based on Multiple Criteria

Lindsey85

New Member
Joined
Mar 4, 2011
Messages
1
Is there a way to use the lookup function to retrieve ranked data based on multiple criteria?

For example, I am trying to lookup the name of a customer that has the largest volume of sales in a specific month,region, and type of business.

I have tried using a pivot table, but this only returns the region with the greatest amount of sales, not the customer with that region and since there are many regions I do not want to create a specific pivot table for each region.

The formula I am looking for would be something like:

'=INDEX(DATA!$A:$BF,MATCH(LARGE(DATA!$Z:$Z,1),IF(DATA!$H:$H=Region!$C$2,IF(DATA!$F:$F=Region!$C$4,IF(DATA!$M:$M="201101",))),0),5)

If all of my data is located on the DATA tab:
Z = Sales
H = Region
F = Type of business
M = Month
E = Customer Name

Please let me know if this is possible.

Thanks!
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest

Forum statistics

Threads
1,224,522
Messages
6,179,292
Members
452,902
Latest member
Knuddeluff

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