# Interactive s-Curve

#### RESAT1992

##### New Member
I have the following formula spreading cost of each line item across the column of months.

where:

AT32 = choice between "Lump" - do nothing, "Flat" - linear distribution or "S-Curve" - spread as an s-curve (this is a drop down box)
AX14 is the months Jan-17 for money to be spread. (A row of project dates)
AR32 = A Line item start date
AS32 = Line item finish date
AV13 = standard deviation of 6
AU32 = No of Months (AS32 - AR32)
AV32 = Average Cost per month
V32 = total Line Item Cost

=IF(\$AT32="Lump",0,IF(AND(\$AT32="Flat",AX\$14>=\$AR32,AX\$14<=\$AS32),\$V32/\$AU32,0)+IF(AND(\$AT32="S-Curve",AX\$14>=\$AR32,AX\$14<=\$AS32),(NORM.DIST((YEAR(AX\$14)-YEAR(\$AR32))*12+MONTH(AX\$14)-MONTH(\$AR32)+1,\$AU32/2,\$AV\$13,TRUE)-NORM.DIST((YEAR(AX\$14)-YEAR(\$AR32))*12+MONTH(AX\$14)-MONTH(\$AR32),\$AU32/2,\$AV\$13,TRUE))/(1-2*NORM.DIST(0,\$AU32/2,\$AV\$13,TRUE))*\$V32,0))

I would like this formula to spread the costs better in that the example below shows £16,519 for Feb-17 but the start date only allows 4 days in Feb. and July 17 there is nothing. It would be good to spread based on days and allocate cost in part months.

Is there a way to refine this to better spread the costs, especially for mid-month starts and finishes.

Thanks

 S-Curve St Dev 6 Activity START Activity FINISH Lump "Manually Populate date for Lump Sum Payments" Check Sum Jan-17 Feb-17 Mar-17 Apr-17 May-17 Jun-17 Jul-17 Flat Months Cost per Month 25-Feb-17 21-Jul-17 S-Curve 5.00 16,987 OK ! - 16,519 17,220 17,460 17,220 16,519 -
<colgroup><col width="115" style="width: 86pt; mso-width-source: userset; mso-width-alt: 3680;" span="2"> <col width="73" style="width: 55pt;"> <col width="87" style="width: 65pt; mso-width-source: userset; mso-width-alt: 2784;"> <col width="87" style="width: 65pt; mso-width-source: userset; mso-width-alt: 2784;"> <col width="127" style="width: 95pt; mso-width-source: userset; mso-width-alt: 4064;"> <col width="101" style="width: 76pt; mso-width-source: userset; mso-width-alt: 3232;"> <col width="119" style="width: 89pt; mso-width-source: userset; mso-width-alt: 3808;" span="6"> <tbody> </tbody>

### Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

Replies
2
Views
206
Replies
0
Views
1K
Replies
3
Views
144
Replies
1
Views
81
Replies
1
Views
2K

1,195,952
Messages
6,012,500
Members
441,702
Latest member
chacham

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