Urutkan suatu angka berdasarkan rentang angka
=RANK.AVG(number, ref, [order])
| Parameter | Deskripsi |
|---|---|
number |
The number to rank. |
ref |
A range that contains the numbers to rank against. |
order |
[optional] Rank ascending or descending. Default is zero. |
The basic syntax for RANK.AVG looks like this:
=RANK.AVG(number,ref,[order])
The RANK.AVG function has two modes of operation, descending and ascending, which are controlled by the order argument. To rank values where the large
=RANK.AVG(A1,range) // rank descending (default)
=RANK.AVG(A1,range,0) // rank descending
To rank values where the smallest value should be 1, set order to 1:
=RANK.AVG(A1,range,1) // rank ascending
In the worksheet below, the goal is to rank test scores. For test scores, the highest score should be assigned a rank of 1, so the RANK.AVG function i
=RANK.AVG(C5,$C$5:$C$12)
In the example below, the goal is to rank race times. This is an example of where we want to assign a rank of 1 to the fastest time, which will be the
=RANK.AVG(C5,$C$5:$C$12,1)