Help: Rank 1-100, then "penalize" for over 100 - i.e. a 99 would rank higher than 102

Maverick01b

New Member
Joined
Jun 25, 2013
Messages
3
Hello people who are smarter than I :)

I need a formula to rank a value 1-100, but then penalize any value that is above 100. Is is a "percent to budget" ranking, so going over budget can not help you rank the highest in the company. I would need the ranking to look something like this...

The 102 store would out-rank the 97 store because the 102 store is only 2 points away from the target goal number of 100%, where as the 97 store is 3 points away. Hopefully this makes sense.

Percent - Rank
100 - 1st
97 - 5th
99 - 2nd
101 - 2nd
102 - 4th

Help would be GREATLY appreciated!

-Mav
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
I would add a helper column and then rank that.

=ABS(A1-100)=RANK(B1,$B$1:$B$5,0)
1991
2982
3973
10554
10775

<tbody>
</tbody>
 
Upvote 0
Thank you for your suggestion! However, this would rank anything above 100 towards the bottom. I need a store at 101 to rank higher than a store at say 95, because even though the 101 store is 'above budget' they are closer to their budget goal than any store with a budget from 1-98. Any ideas on that?
 
Upvote 0
Code:
       --A-- -B-- ---------C----------
   1   Value Rank                     
   2      90   90 B2: =100-ABS(A2-100)
   3      91   91                     
   4      92   92                     
   5      93   93                     
   6      94   94                     
   7      95   95                     
   8      96   96                     
   9      97   97                     
  10      98   98                     
  11      99   99                     
  12     100  100                     
  13     101   99                     
  14     102   98                     
  15     103   97                     
  16     104   96                     
  17     105   95                     
  18     106   94                     
  19     107   93                     
  20     108   92
 
Upvote 0

Forum statistics

Threads
1,215,494
Messages
6,125,137
Members
449,207
Latest member
VictorSiwiide

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top