formula to display a score for a value within a stepped range

deirdreob

New Member
Joined
Sep 15, 2013
Messages
12
Having trouble with this one - Pls Help me display the appropriate point, when the value falls within the following ranges. Have not been able to find the right vlookup combo.
Note: As I will reuse the basic formula for different upper & lower data range values, I would like avoid hard-coding an If, index and match, or similar formula.

Date Ranges Points Awarded
< 1.0 5 points
1.1 to 1.5 4 points
1.6 to 2.0 3 points
2.1 to 3.0 1 point
> 3.0 0 points

Many thanks in advance!
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Having trouble with this one - Pls Help me display the appropriate point, when the value falls within the following ranges. Have not been able to find the right vlookup combo.
Note: As I will reuse the basic formula for different upper & lower data range values, I would like avoid hard-coding an If, index and match, or similar formula.

Date Ranges Points Awarded
< 1.0 5 points
1.1 to 1.5 4 points
1.6 to 2.0 3 points
2.1 to 3.0 1 point
> 3.0 0 points

Many thanks in advance!

The header speaks of date ranges, but the values seem to be decimals. If latter:

Create a 2-column table like below:

0, 5
1.1, 4
1.6, 3
2.1, 1
3.1, 0

Name this range as Table. Now you can invoke:

=VLOOKUP(X2,Table,2,1)

to assign points to a score in X2.
 
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,176
Members
451,543
Latest member
cesymcox

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