Excel: Ranking with another Criteria

BlazFilip

New Member
Joined
Dec 14, 2013
Messages
1
ABCD
1NameBonusYears of WorkRank Per Bonus
2John5035
3Mary5015
4Tommy6020
5Jack5016
6George7016

<tbody>
</tbody>


So I know how to rank normally, in D2 I would type =RANK(B2;$B$2:$B$6;0) and then just drag it down how much I need, but here I want the following: If the bonus is the same, then use Years of work to rank the ones where the bonus is the same, basically getting the following:

Rank Per Bonus
3
5
2
4
1

<tbody>
</tbody>

Is there any way to do this using the =RANK function + some others?
Thanks in advance!
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Hello BlazFilip, welcome to MrExcel

If you are using Excel 2007 or later you can add a COUNTIFS function to RANK like this:

=RANK(B2;$B$2:$B$6;0)+COUNTIFS($B$2:$B$6;$B2;$C$2:$C$6;">"&$C2)
 
Upvote 0

Forum statistics

Threads
1,216,167
Messages
6,129,263
Members
449,497
Latest member
The Wamp

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