ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How to create column of ranks. (https://www.excelbanter.com/excel-discussion-misc-queries/60926-how-create-column-ranks.html)

[email protected]

How to create column of ranks.
 
In one column, I have a list of 500 or so sorted prices:

A
5.30
5.30
4.50
4.49
4.49
2.00

I want to rank these prices, so in the above example, I want to create
a column B that would be:

1
1
2
3
3
4 (ranking the prices in column A).
How do I do this? Thanks, Nitin Batra (email: ,
cell: 714-488-9584)


Ron Coderre

How to create column of ranks.
 
Before we get fancy, is this something you can use?:

Using your list in Cells A1:A6
B1: =RANK(A1,$A$1:$A$6)
Copy that formula down.

The results will be this:
5.3 1
5.3 1
4.5 3
4.49 4
4.49 4
2 6

Note the lack of a 2nd and 5th rank....Excel grants ties the same rank and
reserves placeholders for the missing items.

Acceptable? Yes? No?

***********
Regards,
Ron

XL2002, WinXP-Pro


" wrote:

In one column, I have a list of 500 or so sorted prices:

A
5.30
5.30
4.50
4.49
4.49
2.00

I want to rank these prices, so in the above example, I want to create
a column B that would be:

1
1
2
3
3
4 (ranking the prices in column A).
How do I do this? Thanks, Nitin Batra (email: ,
cell: 714-488-9584)



[email protected]

How to create column of ranks.
 
Yes, thanks! Let me know if you ever need a job, man!



All times are GMT +1. The time now is 06:02 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com