Continuous Rank by Designation and without ties

hitgad

New Member
Joined
Oct 20, 2022
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Hi Team,

I have the below table (Column A to C). I want the outcome as per last column. Any formula where for below criteria-
1) It should first Rank all MDs (without ties).
2) After finishing ranking for MDs, it should then continue Rank for DIRs (again without ties)

Column AColumn BColumn CI want ranking as per below
NameTitleCallsRank
PeterMD2001
JohnDIR1904
BillDIR1705
JakeMD1802
ChristinaDIR1706
BobMD1803

Thanks
HG
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Welcome to the MrExcel board!

See if this works for you.

22 10 20.xlsm
ABCD
1NameTitleCallsRank
2PeterMD2001
3JohnDIR1904
4BillDIR1705
5JakeMD1802
6ChristinaDIR1706
7BobMD1803
Rank
Cell Formulas
RangeFormula
D2:D7D2=COUNTIFS(B$2:B$7,B2,C$2:C$7,">"&C2)+COUNTIFS(B$1:B1,B2,C$1:C1,C2)+1+IF(B2="MD",0,COUNTIF(B$2:B$7,"MD"))
 
Upvote 0
Welcome to the MrExcel board!

See if this works for you.

22 10 20.xlsm
ABCD
1NameTitleCallsRank
2PeterMD2001
3JohnDIR1904
4BillDIR1705
5JakeMD1802
6ChristinaDIR1706
7BobMD1803
Rank
Cell Formulas
RangeFormula
D2:D7D2=COUNTIFS(B$2:B$7,B2,C$2:C$7,">"&C2)+COUNTIFS(B$1:B1,B2,C$1:C1,C2)+1+IF(B2="MD",0,COUNTIF(B$2:B$7,"MD"))
Thanks Peter. This works. But need to refine this more. I have some MD who have "0" calls is there anyway i can skip them and move to DIR?
 
Upvote 0
I have some MD who have "0" calls is there anyway i can skip them and move to DIR?
Like this?

22 10 20.xlsm
ABCD
1NameTitleCallsRank
2PeterMD2001
3JohnDIR1904
4BillDIR1705
5TomMD0 
6JakeMD1802
7AnnDIR07
8ChristinaDIR1706
9BobMD1803
Rank
Cell Formulas
RangeFormula
D2:D9D2=IF(B2&C2="MD0","",COUNTIFS(B$2:B$9,B2,C$2:C$9,">"&C2)+COUNTIFS(B$1:B1,B2,C$1:C1,C2)+1+IF(B2="MD",0,COUNTIFS(B$2:B$9,"MD",C$2:C$9,">0")))
 
Upvote 0
Solution
Like this?

22 10 20.xlsm
ABCD
1NameTitleCallsRank
2PeterMD2001
3JohnDIR1904
4BillDIR1705
5TomMD0 
6JakeMD1802
7AnnDIR07
8ChristinaDIR1706
9BobMD1803
Rank
Cell Formulas
RangeFormula
D2:D9D2=IF(B2&C2="MD0","",COUNTIFS(B$2:B$9,B2,C$2:C$9,">"&C2)+COUNTIFS(B$1:B1,B2,C$1:C1,C2)+1+IF(B2="MD",0,COUNTIFS(B$2:B$9,"MD",C$2:C$9,">0")))
Thanks Peter. This is Perfect !!. Appreciate the Help
 
Upvote 0
You're welcome. Thanks for the follow-up. :)
 
Upvote 0

Forum statistics

Threads
1,214,583
Messages
6,120,378
Members
448,955
Latest member
BatCoder

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