Formula for a simple S Curve

jerH

Board Regular
Joined
Dec 3, 2008
Messages
168
I need to be able to generate a simple S-shaped curve for x and y values that both range from 0 to 1.

The idea is that this is the graph of the "value" obtained (the y-axis) if you fund a project at various levels from 0 to 100% (the x-axis).

It should start by rising fairly slowly, then start to grow quickly through the middle part of the domain, then flatten out toward the end.

I suspect there will be one or more parameters that the formula requires to control the general shape. I need to be able to tune those parameters so that my customer agrees with the shape of the graph...then I'll have the formula so that I can plug in a funding level and get out a value score.

I know the general formula for an s curve is 1/(1+e^-x)...but this isn't bound to my domain or range, and my math isn't good enough to figure it out myself.

I'm perfectly happy to implement this as two exponential functions, one that covers the left portion of the domain, and one that covers the right.

I hope this is clear....please feel free to tell me if it isn't.
 
Last edited:

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Thanks for that...I found another example here that I've been able to massage until it's close...

It takes two sets of inputs, a point on the lower end of the domain and the corresponding y-value, and a point on the upper end of the domain and the corresponding y-value. However, it was meant for market penetration and so when x is 0, y is ~2.5% (instead of 0) and when x is 1, y is 97.5% (instead of 1)...

In excel the formula looks like this

1/(1+EXP(-((LN(1/Value1-1)-LN(1/Value2-1))/(Time2-Time1))*(XValue-(LN(1/Value1-1)/((LN(1/Value1-1)-LN(1/Value2-1))/(Time2-Time1))+Time1))))

where the two anchor points are (Time1, Value1) and (Time2, Value2) and XValue is the point on the X-axis being evaluated

If I knew enough to force this through the origin and (1,1) I'd be in business.....
 
Upvote 0

Forum statistics

Threads
1,216,136
Messages
6,129,080
Members
449,485
Latest member
greggy

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