Unique Rankif

stroffso

Board Regular
Joined
Jul 12, 2016
Messages
160
Office Version
  1. 365
Platform
  1. Windows
Hi, I have had a search through previous posts and none come out with what i need for this one.

I need to rank some items based off what Area it is in (Column A) and its relevant score (Column H), I need to rank the top 5 items by each area. I can get the base ranking fine but the problem is there are hundreds of rows for each area so lots of Items have the same score. I need to have the ranking unique, this is the formula I have as it stands, what do i need to add to this to make them unique? Thanks in advance

=COUNTIFS($A$2:$A$11261,A2,$H$2:$H$11261,">"&H2)+1
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Apologies I have worked out a workaround and didnt know how to delete my initial question. I added a helper column =H2+(COUNTIF($H$2:H2,H2)-1)*0.01 and then moved the initial references to H above to this column and it all worked

=IF(OR(J2=0,J2=""),"",COUNTIFS($A$2:$A$11261,A2,$J$2:$J$11261,">"&J2)+1)
 
Upvote 0

Forum statistics

Threads
1,224,817
Messages
6,181,149
Members
453,021
Latest member
Justyna P

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