Solved

ranking a set of values in Excel

Posted on 2014-12-01
6
99 Views
Last Modified: 2014-12-01
I have a spreadsheet where cells, says A1 B1 C1 .....XX1 contains numerical values which are the result of some calculation
I want to have cells A2 B2 C2 ... XX2 containing the ranking (descending values) of corresponding values A1 B1 C1 ... XX1
For example with 5 cells A1 B1 C1 D1 E1 containing  12  23  98  33  10, cells A2 B2 C2 D2 D2 should contain 4  3  1  2  5
Is there a formula to calculate that ?
Thanks
0
Comment
Question by:LeTay
  • 3
  • 3
6 Comments
 

Author Comment

by:LeTay
ID: 40473385
I forgot to write that some of these A1 B1 ... cells are empty and so should not participate to the ranking at all
0
 
LVL 24

Expert Comment

by:Phillip Burton
ID: 40473397
=IFERROR(RANK(A1,$A$1:$A$5),"")
0
 
LVL 24

Accepted Solution

by:
Phillip Burton earned 500 total points
ID: 40473398
If you are using Excel 2003 or earlier:

=IF(A1="","",RANK(A1,$A$1:$A$5))
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:LeTay
ID: 40473402
Thanks...
I use a french version of Excel
Do you know what the equivalent is for "rank()"
0
 
LVL 24

Expert Comment

by:Phillip Burton
ID: 40473407
RANG
0
 

Author Comment

by:LeTay
ID: 40473410
Found it : rang !
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Note: This is the second blog post in a series on email clearinghouses (https://www.xmatters.com/alert-management/blog-email-has-failed-us?utm_campaign=70138000000ydLoAAI&utm_source=exex&utm_medium=article&utm_content=blog-post).   Every month t…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
Viewers will learn various types of data validation for different data types in Excel 2013.
Video by: Zack
Viewers will learn about using Excel in a browser with Excel Online.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now