RANK()

Note

In Excel 2010, the RANK() function was replaced with the RANK.EQ() and RANK.AVG() functions to increase the accuracy of the results. To ensure the backward compatibility of RANK.EQ() and RANK.AVG(), the RANK() function is still available.

Syntax. RANK(number,ref,order)

Definition. This function returns the rank of a number within a list of numbers.

The rank of a number is its size relative to other values in a list. If you were to sort the list, the rank of the number would be its position.

Arguments

  • number (required). The value for which you want to know the rank.

  • ref (required). An array of or a reference to a list of numbers. Nonnumeric values in ref are ignored.

  • order (optional). A number specifying how to rank numbers. If order is 0 or ...

Get Microsoft® Excel® 2010 Formulas & Functions Inside Out now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.