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))
Screenshot // Ranking Numbers in a Dynamic List

Users are saying about us...

1. I used "=RANK(F2,OFFSET(\$F\$2,0,0,COUNTA(F:F)+1,1))" to rank ages where column F held the DOB ("d") in a dynamic table.
Worked for me, hope this helps someone out ther?

Terms and Conditions of use

The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.