Most reoccurring value that matches a criteria

Mrbellav

New Member
Joined
Aug 29, 2018
Messages
2
I am trying to find the carriers used most for each specific customer.

I have data on two tabs.

Tab 1 (Sales Orders)

Order# Transport#DateCustomer nameCarrier Name
1T19/1/18AA
2T29/1/18BB
3T39/5/18AA
4T49/8/18AC
5T59/11/18CA
6T69/15/18BB
7T79/15/18AB
8T89/16/18AA
9T99/18/18AC

<tbody>
</tbody>



On tab two (Dash board page)

I have a drop down list of all customers

CustomerRankCarrier
A1A (Used 3 times)
2C (Used 2 times)
3B (Used 1 time)

<tbody>
</tbody>



So if I change the drop down to Customer B, my top carriers would be..

1 b
2
3

Let me know what I can try to do to figure this out.
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Follow below steps:
1. Use concatenate with customer name and carrier in column F
2. Use countif(F:F,F2) and drag it down in column G
3. Use Rank formula in column H with exact match
4. Now in dashboard use combination of Hlookup and Match as below:

Rank 1
Hlookup("Carrier",E:E,Match(1,H:H,0),0)
Rank 2
Hlookup("Carrier",E:E,Match(2,H:H,0),0)
Rank 3
Hlookup("Carrier",E:E,Match(3,H:H,0),0)
 
Upvote 0

Forum statistics

Threads
1,214,919
Messages
6,122,259
Members
449,075
Latest member
staticfluids

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