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

Excel Rank based on criteria

I am trying to rank the ‘Max Reserve’ based on ‘Notification Month’. There are a number of I have tried various methods I’ve found online and none seem to work as they should. I’ve added some example data in an image.

Example data

The second image is the ranking which I’d like the formula to do, based on the value and month:

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

Data with Rank

Any help is greatly appreciated!

Thanks

>Solution :

Dependent on what rank you want to give if 2 or more values are identical, this might be one of possible solutions:

=MAP(A2:A16,B2:B16,LAMBDA(a,b,MATCH(a,SORT(FILTER(A2:A16,MONTH(B2:B16)=MONTH(b)),,-1),0)))

Result:

enter image description here

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