==RANK.AVG(number, ref, [order])
=RANK.AVG(94,B2:B8)
This returns 4 because the value 94 is the fourth highest temperature out of the temperatures listed in cell range B2:B8. The temperature reached 94 on day 7/5/11.
=RANK.AVG(80,B2:B8)
This returns 6 because the value 80 is the sixth highest temperature out of the temperatures listed in cell range B2:B8. The temperature reached 80 on day 7/10/11.
=RANK.AVG(87,B2:B8)
This returns 5 because the value 87 is the fifth highest temperature out of the temperatures listed in cell range B2:B8. The temperature reached 87 on day 7/8/11.
=RANK.AVG(92,B2:B8)
This returns 3 because the value 92 is the third highest temperature out of the temperatures listed in cell range B2:B8. The temperature reached 92 on day 7/4/11.
The RANK.AVG function is used to rank a number in a list of values, and returns the average rank if Order is 0 or omitted.