Ranking Absolute Deviation from Targeted Value

rkeen0822

New Member
Joined
Sep 12, 2010
Messages
11
Office Version
  1. 2021
  2. 2019
  3. 2016
Platform
  1. Windows
I am trying to build a ranking database based on percentage values where 100% is the target and would be ranked the further away from the goal the ranking ascends.

Example below is keyed in values as an example

Performance ValueRanked Value
86%5
91%3
101%1
74%6
110%4
95%2
59%7

Looking to do this in a singular row, without the need for additional columns. If possible, Grouped Rankins within 90%-100%, would like to group as "Target Met" so would be ranked as a 1.
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
How about:

Book1
ABCDE
1Performance ValuePerformance Value
286%586%5
391%391%1
4101%1101%1
574%674%6
6110%4110%1
795%295%1
859%759%7
Sheet8
Cell Formulas
RangeFormula
B2:B8B2=MATCH(ABS(1-A2:A8),SORT(ABS(1-A2:A8)))
E2:E8E2=IF(D2:D8>=0.9,1,MATCH(ABS(1-D2:D8),SORT(ABS(1-D2:D8))))
Dynamic array formulas.


Also, please update your profile to show what version of Excel you're using. It can affect what functions are available to solve your question. Also, do you have to worry about ties in your data?
 
Upvote 0
Solution

Forum statistics

Threads
1,215,068
Messages
6,122,950
Members
449,095
Latest member
nmaske

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