# Slopes and indices

#### steverpi75

##### New Member
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

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
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

That is what I needed. Thanks PGC.

Replies
7
Views
648
Replies
2
Views
600
Replies
0
Views
623
Replies
1
Views
1K
Replies
2
Views
337

1,217,347
Messages
6,136,046
Members
449,983
Latest member
mschaef6

### 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.

### Which adblocker are you using?

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

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