Ranking by multiple criterias

NabMo

New Member
Joined
Jul 21, 2017
Messages
5
Good day

i am administering a competition in excel. the participants are split per region and each one has a sales figure and sales target. basically if you make your target, you get a prize.

however the salesman with the highest value above target per region will get ad additional prize if they won the initial prize.

What i have currently:
  • i have identified all the initial prize winners based on the sales figure and target.
  • in a new column i inserted an IF statement so that it shows the difference between sales figure and target only if the target was met.

i am struggling to find a formula that only ranks the values displayed per region.

please help.

thanks
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Use SUMPRODUCT:


Book1
ABC
1REGIONVALUERANK IN REGION
2A101
3B91
4C82
5A73
6B63
7C101
8A92
9B82
10C73
Sheet1
Cell Formulas
RangeFormula
C2=1+SUMPRODUCT(($A$2:$A$10=$A2)*($B$2:$B$10>$B2))


WBD
 
Upvote 0
thanks for the response. i tried that but there is another criteria, only rank if the salesman qualified for the initial prize.

i did manage to get the result i want using the following: =IF(R4=3000,1+COUNTIFS(E$4:E$39,$E4,$Y$4:$Y$39,">"&$Y4),"")

column R being the prize money for making target
column E being the region
column Y being the variance of sales to target only if column R is populated.

thanks again.
 
Upvote 0

Forum statistics

Threads
1,214,911
Messages
6,122,192
Members
449,072
Latest member
DW Draft

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