Tip Printed from ExcelTip.com
Ranking Numbers in a Dynamic List
Problem:
Range A4:A8 contains a list of numbers that is frequently changed by the addition or removal of numbers. Consequently, the current rank of each number is constantly changing.
We want to create a formula that will automatically update the rankings in column B upon the addition or removal of numbers in column A.
Solution:
Use the RANK, OFFSET, and COUNTA functions in the following formula:
=RANK(A4,OFFSET($A$4,0,0,COUNTA($A$4:$A$9),1))