Slopes and indices

steverpi75

New Member
Joined
Mar 23, 2006
Messages
14
Hello,

I'm trying to build an "index" system. Basically, the indicator would get full points, 0.02 pts, for being greater than or equal to 95; max of 100. As you fall lower than 95 to a minimum of 85, 0.00 pts, you lose points linearly. I tried making a slope equation but I can't get past the 95-100 part.

This is what I made so far, but it isn't correct.:
y=(0.02-0.00/95-85)x + 0

where X is 0 - 100

Thanks for the help.
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.

pgc01

MrExcel MVP
Joined
Apr 25, 2006
Messages
19,884
Hi steverpi75

You say "where X is 0 - 100" but you don't talk about the range 0-85.

What I understood:

[95-100], y=0.02

[85-95[, y=(x-85)/500 (up linearly from x=85 to 95, y=0 to 0.02)

[0-85[, you forgot to specify

The formula is, assuming x in A1

=IF(A1>=95,0.02,IF(A1>=85,(A1-85)/500,"Not specified"))

Hope this helps
PGC
 

Forum statistics

Threads
1,137,063
Messages
5,679,399
Members
419,825
Latest member
MegastarMagus

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
Top