The information in this article applies to:
SUMMARY
In Microsoft Excel, version 4.0, use the RANK function to rank a range of
numbers according to their numerical value. To rank the numbers from small
to large, where the small number is the first in rank, use the following
function:
To rank them from large to small, use the following function:
In Microsoft Excel versions prior to 4.0, to rank a range of numbers according to their numerical value from small to large or large to small, use one of the following array formulas, where "range" is the range of numbers to be ranked and "firstcell" is the first cell in "range":
To enter the formula, do the following:
MORE INFORMATION
The following formulas will return the correct ranking of the numbers in
cells $A$1:$A$5 (the braces {} indicate that the formula was entered as an
array by pressing COMMAND+ENTER in Microsoft Excel for the Macintosh or
CONTROL+SHIFT+ENTER in Microsoft Excel for Windows:
The values that are returned from the above formulas are as follows:
Additional query words: 1.0 1.00 1.03 1.04 1.06 1.5 1.50 2.0 2.00 2.01 2.20 2.21 3.0
Keywords : |
Last Reviewed: July 14, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |