ranking a set of values in Excel

Posted on 2014-12-01
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 ?
Question by:LeTay
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3

Author Comment

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
LVL 24

Expert Comment

by:Phillip Burton
ID: 40473397
LVL 24

Accepted Solution

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.


Author Comment

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

Expert Comment

by:Phillip Burton
ID: 40473407

Author Comment

ID: 40473410
Found it : rang !

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Excel VBA: Nested Areas in a Range object ? 6 113
Excel - doing Sum inside Data Model 4 109
Button in Excel 5 100
Using EXCEL to count the number of Rows 4 83
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
Viewers will learn how to apply various conditional formatting in Excel 2013.
Viewers will learn how to share Excel data with others from desktop Excel, as well as Excel Online via OneDrive, and embed an Excel file on a website.

726 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