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

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
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,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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