Equation: equals number if another number is between a certain range

njsutorius

New Member
Joined
Apr 6, 2014
Messages
43
I would like to have a grade scale so that where c3 = wherever b3 falls in the range in column A.

Thus if B3 is 10 then C3 would equal 4.5 on the scale range.

We can breakout the range in A if needed into multiple columns if necessary.

a
b
c
1
1-5 = 0
CPH
Score
3
6-8 = 3.5
10
4
9-11 = 4.5
5
12+ = 5
6
7

<tbody>
</tbody>


Thanks for any assistance.
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
A​
B​
C​
D​
E​
1​
CPH​
Score​
CPH​
Score​
2​
0​
0.0​
10​
4.5​
D2: =LOOKUP(C2, $A$2:$B$5)
3​
6​
3.5​
4​
9​
4.5​
5​
12​
5.0​
 
Upvote 0
Ya that vlookup is pretty much right up my ally on this question. I am going to read your article in detail as I think vlookup may be useful for some of my other ideas as well.
 
Upvote 0

Forum statistics

Threads
1,213,543
Messages
6,114,243
Members
448,555
Latest member
RobertJones1986

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