Help with Ranking?

MichaelRSnow

Active Member
Joined
Aug 3, 2010
Messages
391
Is it possible to rank based on 2 criteria, TEXT and VALUE. i.e. the table list as illustrated below, rank based on columns B and C. So rank any with a value of X only against X's, rank any with a value of Y only against Y's and so?</SPAN>
ABCD- RANK (COLUMNS B&C)
AX0.52
AY11
AZ1.52
BX0.251
BY22
BZ1.52
CX0.853
CY2.253
CZ1.251

<TBODY>
</TBODY>
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

FormR

MrExcel MVP
Joined
Aug 18, 2011
Messages
6,905
Office Version
  1. 365
Platform
  1. Windows
Hi, try:

Excel Workbook
ABCD
1ABCD- RANK (COLUMNS B&C)
2AX0.52
3AY11
4AZ1.52
5BX0.251
6BY22
7BZ1.52
8CX0.853
9CY2.253
10CZ1.251
Sheet1
 
Upvote 0

snb_

Well-known Member
Joined
Nov 9, 2009
Messages
567
Maybe the array formula:

Code:
=RANK.EQ($C$2,($B$2:$B$10=$B$2)*$C$2:$C$10)
 
Upvote 0

MichaelRSnow

Active Member
Joined
Aug 3, 2010
Messages
391
Hi, try:

Sheet1

*ABCD
1ABCD- RANK (COLUMNS B&C)
2AX0.52
3AY11
4AZ1.52
5BX0.251
6BY22
7BZ1.52
8CX0.853
9CY2.253
10CZ1.251

<COLGROUP><COL style="WIDTH: 30px; FONT-WEIGHT: bold"><COL style="WIDTH: 64px"><COL style="WIDTH: 64px"><COL style="WIDTH: 64px"><COL style="WIDTH: 64px"></COLGROUP><TBODY>
</TBODY>

Spreadsheet Formulas
CellFormula
D2=COUNTIFS($B$2:$B$10,B2,$C$2:$C$10,"<"&C2)+1

<TBODY>
</TBODY>

<TBODY>
</TBODY>


Excel tables to the web >> Excel Jeanie HTML 4


Thanks, works perfectly
 
Upvote 0

Forum statistics

Threads
1,191,187
Messages
5,985,194
Members
439,947
Latest member
fabiannic

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