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

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying

steve the fish

Well-known Member
Joined
Oct 20, 2009
Messages
8,713
Office Version
  1. 365
Platform
  1. Windows
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))
 

Oeldere

Well-known Member
Joined
Dec 29, 2011
Messages
2,213
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.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,598
Messages
5,832,646
Members
430,150
Latest member
amitk1

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
Top