# Modify Ranking Formula

=RANK.AVG(D7,D\$7:D\$31,1)

I am using the above ranking formula.  My data is shown below.  This returns the highest value as rank 25 and smallest as rank 1. I would like to return the highest value of rank 1 and my smallest value as rank 25.  How should the formula be modified to return this???

Value                    Rank
\$450,766       25
\$322,606       24
\$214,725       21
\$238,334       22
\$302,320       23
\$151,416       20
\$115,541       16
\$151,007       19
\$96,550                       11
\$134,077       18
\$109,442       14
\$17,559                       1
\$118,554       17
\$110,613       15
\$104,348       12
\$77,383                        6
\$62,749       3
\$92,103       9
\$96,527       10
\$86,255       7
\$90,501       8
\$67,824       4
\$57,892       2
\$105,880 13
\$73,820       5
###### Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Database DeveloperCommented:
=RANK.AVG(D7,D\$7:D\$31,0)
0

Experts Exchange Solution brought to you by

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Commented:
``````=IF(ROUNDUP(PERCENTRANK.INC(\$A\$1:\$A\$24,A1,2)/4*100,0)=0,1,ROUNDUP(PERCENTRANK.INC(\$A\$1:\$A\$24,A1,2)/4*100,0))
``````
when you data is in column A

see attached file.
0
Author Commented:
Thanks
0
###### It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.