Excel 2007: Applying a value to a rating scale number

cassique

New Member
Can I do this in Excel?

What I want to do is take a rating value I have in row "D" (0-5) and convert each number to a specific value (0=1290, 1=1550, etc). I have these values stored in cells "I9-I14". Then in Column "L" I want to have a formula that uses the value (ex. "(c1-D1)/3500"). In that example D1 has the rating of 2, but in the formula I want that to mean 1550. Is this possible?

The values of the rating scale might change over time as I collect more data to make it more accurate to my specific need. So I would rather use a rating scale number in the formula so if I have to change the value it will adjust without me having to go into each cell to change it.

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Not 100% sure I follow but...
If you have a value in C1 and your 0-5 in D1
use the numbers from I9 - I14 in this formula...you'll need to replace the numbers I put in

Code:
``=(C1-LOOKUP(D1,{0,1,2,3,4,5},{1290,1550,1875,2000,2100,2250})/3500)``

If you want the values in the LOOKUP range in I9-I14 to be changeable....create a Named Range out of those cells....let's call the Named Range "jim"
Then change the formula to
Code:
``=(C1-LOOKUP(D1,{0,1,2,3,4,5},jim))/3500)``

Not 100% sure I follow but...
If you have a value in C1 and your 0-5 in D1
use the numbers from I9 - I14 in this formula...you'll need to replace the numbers I put in

Code:
``=(C1-LOOKUP(D1,{0,1,2,3,4,5},{1290,1550,1875,2000,2100,2250})/3500)``

Thanks. That sort of helped. For some reason I didn't get the right answer but I am playing around with it now and found out about using arrays and LOOKUP functions. Lot's to learn.

Ok, are your D1 values ranging from zero to 5
Thes 2 ranges inside the curly brackets have to be the same length, ie, 5 in one and 5 in the other
AND
they have to exactly match the LOOKUP array, eg, the value in D1 must be exactly 1 or exactly 5.......not 1.3 or 1.5 or 5.2....etc !

Replies
1
Views
154
Replies
0
Views
296
Replies
3
Views
302
Replies
9
Views
347
Replies
0
Views
148

Threads
1,203,105
Messages
6,053,544
Members
444,670
Latest member
laurenmjones1111

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

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