This browser does not support basic Web standards, preventing the display of our site's intended design. May we suggest that you upgrade your browser?

Microsoft Excel 2008

Functions: Rank

The Rank function returns the rank of a value within a list. This function is useful when you need to determine a specific cell's numerical order out of a series of cells or columns. Rank can be determined in either ascending or descending order. For more information about functions, refer to Calculating with Functions.

This document will use the example of a gradebook, featuring six students' grades from a test of twenty points. In the example, we will find the ranking of Bernhardt, B.'s score.
Gradebook example

  1. Open the desired worksheet

  2. Select the cell where you would like the result of the Rank function to appear

  3. Click TOOLBOXToolbox button
    The Formula Builder appears.
    Formula Builder

  4. OPTIONAL: If the Formula Builder does not appear, click FORMULA BUILDERFormula Builder button

  5. In the Search for a function text box, type Rank
    OR
    Scroll to the Statistical section

  6. Double click Rank
    The Arguments section appears.
    Rank Function

  7. In the number text box, type the value of which you want to know the rank
    EXAMPLE: To find the rank of Bernhardt, B.'s Test 1 score, type 18.

  8. In the ref text box, type the cell range to be included
    EXAMPLE: To type the cell range of all the classmates, type B2:B6.
    OR
    Select the cells to be included
    NOTES:
    Cells containing characters other than numbers are not eligible for ranking.
    Numbers with decimal points are eligible for ranking.

  1. To obtain the rank of a value where the list of values is sorted in descending order, in the order text box, type 0 or leave the text box blank
    OR
    To obtain the rank of a value where the list of values is sorted in ascending order, in the order text box, type any nonzero value
    NOTE: This action does not sort the information in your worksheet; it is used only as a reference from which to perform the ranking.

  2. Press [return]
    The rank appears in the selected cell and the formula appears in the Formula Bar.
    EXAMPLES:
    Bernhardt, B.'s Test 1 rank in descending order (from 20 to 0) is 2.
    Bernhardt, B.'s Test 1 rank in ascending order (from 0 to 20) is 4.

Excellence. Our Measure. Our Motto. Our Goal.