Help setting a value if another value falls within a % of a range

rharper

New Member
Joined
Jul 11, 2005
Messages
6
Thanks in advance for any pointers!

I have a list of Percentages like this:

102.60%
101.90%
101.80%
101.20%
101.00%
100.80%
100.60%
100.50%
99.90%
99.80%
99.80%
99.80%
99.40%
99.10%
98.70%

I need a formula that looks at this range and ranks the results 1-5 based on what percentage those numbers fall in. For example the top 15% of those results should be rated a "1" in the resulting column the next 20% a 2, etc... I can get ranks of these numbers easily enough, but setting another value based on what percentage in the range that number falls into is eluding me.

Thanks!
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

Forum statistics

Threads
1,216,108
Messages
6,128,872
Members
449,475
Latest member
Parik11

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