Assigning a Value Based on a Range

suertetres

New Member
Joined
Nov 8, 2023
Messages
14
Office Version
  1. 365
Platform
  1. Windows
Hi Everyone, I've searched, but may be calling it the wrong thing...I'm trying to assign a point range for a specific set of numbers and need help with the formula. The number after the = sign is the point i want to assign. Is there an if/then statement that could accomodate this large of a range?

The ranges are as follows:
>= 120% = 4
110.00%-119.99% = 3.5
90.00%-109.99%= 3
84%-89.99%= 2.5
75%-83.99%=2
67%-74.99%= 1.5
60%-66.99%= 1
55%-59.99%= .5
<54.99% = 0
 
You could make a lookup table like the following, and use the formula to reference the table. You can also do this just in a formula without the lookup table, but then you would have to update the formula anytime a range/score changes instead of just changing it in the table.

Book1
ABCDE
1RangePoints
20%095.00%3
355%0.584.00%2.5
460%1113.00%3.5
567%1.572.00%1.5
675%259.99%0.5
784%2.5135.00%4
890%374.99%1.5
9110%3.554.99%0
10120%4119.99%3.5
Sheet1
Cell Formulas
RangeFormula
E2:E10E2=LOOKUP(D2,$A$2:$A$10,$B$2:$B$10)

I think this is 100% user error on my part. I may not have fully asked my question correctly.

If i have a cell with 85%, based on the range I listed, it would assign a point value, with the ranges I have listed, 85% would be equal to 2.5 points. I would want the cell next to the 85% to reflect 2.5. I hope tihs makes sense. Again, appreciate your help!
 
Upvote 0

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
I think this is 100% user error on my part. I may not have fully asked my question correctly.

If i have a cell with 85%, based on the range I listed, it would assign a point value, with the ranges I have listed, 85% would be equal to 2.5 points. I would want the cell next to the 85% to reflect 2.5. I hope tihs makes sense. Again, appreciate your help!
Right, so with the lookup table, you need to use the formula I had in column E to pull the point value from the table. If you use the formula only option in post #6, you can just use the formula in the cell next to your %'s.
 
Upvote 0
Right, so with the lookup table, you need to use the formula I had in column E to pull the point value from the table. If you use the formula only option in post #6, you can just use the formula in the cell next to your %'s.
Thank you, it worked!!!! I have been searching high and low and have tried so many things. It's been years since I used the old school forums for an answer and low and behold, bam- it worked. thank you again!
 
Upvote 0
You're welcome, however, I would ask that you mark the post with the formulas as the solution if you could please. That way others can find it quicker in the future.
 
Upvote 0

Forum statistics

Threads
1,215,149
Messages
6,123,311
Members
449,095
Latest member
Chestertim

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