Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How to rank employees by department wise

Actually i am not getting the proper rank which i am looking for in column F while using SUMPRODUCT formula, how can I get rank like i have shown in column F for different departments?

I have used this formula =SUMPRODUCT(($D$2:$D$100=D2)($E$2:$E$100>E2))+1 and its showing me
1,2,3,3,5,5,5,8,8 for the Finance & Audit instead it should be 1,2,3,3,4,4,4,5,5
can someone tell me where i am going wrong or what should be right formula to use*

Rank Needed

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

Try this in cell F2

=SUMPRODUCT((E2<E$2:E$17)*($D$2:$D$17=D2)/COUNTIFS($D$2:$D$17,$D$2:$D$17,E$2:E$17,E$2:E$17))+1

And Fill Down!

RANK EMPLOYEE

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading