Ranking based on Two coloumns

lalro143

New Member
Joined
May 30, 2014
Messages
39
Hi,

I have two columns as mentioned below col A & col B.

Col ACol BCol C
SITESCOMPLIANCERANK
300090%2
400090%1
<colgroup><col width="64" style="width: 48pt;"> <col width="89" style="width: 67pt; mso-width-source: userset; mso-width-alt: 3254;"> <col width="64" style="width: 48pt;"> <tbody> </tbody>

Now I want formula which can determine ranking based first on Col B, In case % of cells in col B are same then it check col A's value and rank based site count as shown above.

Thanks in advance.
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Try this in C2, useful up to row 50 or you will need to amend.

=RANK(B2,$B$2:$B$50)+SUMPRODUCT(($B$2:$B$50=B2)*($A$2:$A$50>A2))
 
Upvote 0
SITES COMPLIANCE RANK helpcolumn rank
3000 90% 2 0,93000 2
2000 89% 2 0,89200 3
1400 89% 2 0,89140 4
4000 90% 1 0,94000 1


d2= =(B2&A2)*1 and drag down

e2 = =RANK($D2,$D$2:$D$5) and drag down

the result is showing above.
 
Upvote 0

Forum statistics

Threads
1,214,430
Messages
6,119,438
Members
448,897
Latest member
dukenia71

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