Rank Formula Help

klatlap

Well-known Member
Joined
Sep 1, 2004
Messages
607
Office Version
  1. 2013
Platform
  1. Windows
Hi, i am using this formula to rank a list of ratings and it works good because it avoids equal rankings but it ranks from lowest to highest how can i reverse that so it ranks highest to lowest.

=IF(C9="","",IF(N9="","",COUNT($N$9:$N$33)-(RANK(N9,$N$9:$N$33)+COUNTIF($N$9:N33,N33)-1)+1))
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Hello,

Try adding a 3rd argument to the RANK(ref,range,1)

Like:


=RANK(B1,B1:B6,1)


Not sure if this will cause the tie breaker to need reversing...


-Jeff
 
Upvote 0
It sort of works but dual ranked 2 ratings that were different to each other.
 
Upvote 0
I could add another column to rank the results but wanted to add it to this formula if possible.
 
Upvote 0
I do think it is possible.

Looking at it it is hard to tell without any data such as what you are using.

Would you post what is in the range("N9:N33")

also maybe the OR() could help simplify a bit:

=IF(OR(C9="",N9=""),"",COUNT($N$9:$N......
 
Upvote 0
Never mind, i just added another column, thanks for the help any ways.
 
Upvote 0
I used my original formula.

=IF(C9="","",IF(O9="","",COUNT($O$9:$O$33)-(RANK(O9,$O$9:$O$33)+COUNTIF($O$9:O10,O10)-1)+1))

This ranked lowest to highest, then in the the next column i put.

=IF(M9="","",RANK(M9,$M$9:$M$33))
This ranks highest to lowest and basically reverses the rank order so the top rated becomes the No 1 selection and so on,
 
Upvote 0
I think that first formula was incorrect as it didn't work, here is correct formula.

=IF(C9="","",IF(O9="","",COUNT($O$9:$O$33)-(RANK(O9,$O$9:$O$33)+COUNTIF($O$9:O9,O9)-1)+1))
 
Upvote 0

Forum statistics

Threads
1,224,566
Messages
6,179,555
Members
452,928
Latest member
101blockchains

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