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?
The Rank function returns the rank of a value within a list. This function is useful when you need to maintain a sort based on another column and/or when you want to determine the rank of items in more than one column.
This document will use the example of a gradebook, sorted alphabetically by student last name. In the example, we want to find the rank of the Quiz 1 score of 47 for Chris Student. Scores on Quiz 1 ranged from 60 to 23.
Open the desired worksheet
Select the cell where you would like the result of the function to appear
From the Insert menu, select Function...
OR
Windows: On the Formula Bar, click INSERT FUNCTION![]()
The Insert Function dialog box appears.
Macintosh: On the Standard toolbar, click PASTE FUNCTION![]()
The Paste Function dialog box appears.
Windows: From the Or select a category pull-down list, select All or Statistical
Macintosh: From the Function category scroll box, select All or Statistical
Windows: From the Select a function scroll box, select RANK
Macintosh: From the Function name scroll box, select RANK
Click OK
The Function Arguments dialog box appears.

In the Number text box, type the value of which you want to know the rank
EXAMPLE: Type 47
Click RESTORE DIALOG
or![]()
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
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.
EXAMPLE: To find the rank of 47 when the Quiz 1 scores are sorted from high to low, type 0
Click OK
The rank appears in the selected cell and the formula appears in the Formula Bar.
EXAMPLE: Chris Student's score ranks 4th when the scores are sorted high to low (60, 54, 50, 47, 23).