How to rank on multiple columns and on different orders?

JenniferMurphy

Well-known Member
Joined
Jul 23, 2011
Messages
2,525
Office Version
  1. 365
Platform
  1. Windows
I did a search for ranking on multiple columns. There were several solutions. This one seems like the best for 2 columns, Points & Assists, both high-to-low.

Ranking.xlsx
BCDEF
2PointsAssistsRank↓↓FoulsRank↓↑
3122143
4121221
5121232
6105455
7104534
8103655
9810707
1087807
1187829
Rank on 2 Columns
Cell Formulas
RangeFormula
D3:D11D3=RANK.EQ([@Points],[Points]) + COUNTIFS([Points],[@Points],[Assists],">" & [@Assists])
F3:F11F3=RANK.EQ([@Points],[Points]) + COUNTIFS([Points],[@Points],[Fouls],"<" & [@Fouls])


I then modified it for the case where the first column is high-to-low (Points) and the second is low-to-high (Fouls).

Ranking.xlsx
BCDEF
2PointsAssistsRank↓↓FoulsRank↓↑
3121221
4121232
5122143
6104534
7105455
8103655
9810707
1087807
1187829
Rank on 2 Columns
Cell Formulas
RangeFormula
D3:D11D3=RANK.EQ([@Points],[Points]) + COUNTIFS([Points],[@Points],[Assists],">" & [@Assists])
F3:F11F3=RANK.EQ([@Points],[Points]) + COUNTIFS([Points],[@Points],[Fouls],"<" & [@Fouls])


Is there a better way?

Next I want to generalize it so that the first column can also be low-to-high.
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).

Forum statistics

Threads
1,214,593
Messages
6,120,435
Members
448,961
Latest member
nzskater

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