Spread cost with skewed normal distribution

JontyO

New Member
Joined
Mar 27, 2023
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi all.

Using Office 365
I have a formula to apply a normal distribution to costs over time, but I have two problems.
1. I would like to skew the distribution either to the left or to the right by specifying a value other than the mean, by placing a variable percentage of the duration (K4) so the peak is for example at 65% of the duration, rather than 50%. (Less than 50% is skewed to the left, and greater than 50% is to the right, but happy to use any alternative equivalent). I tried this using the product of the duration and the %, but then the total distributed costs did not match the total to be distributed.
2. This formula also requires the start and finish dates have to be on the first of the month. (Cells G4 and H4, with columns R to BQ including all days of that month) I would like to be able to start the item on any day, and then apply part of the costs for that month.

ABCDEFGHIJKLMNOPQRSTUVWX
Row 2OWNERPACKAGEDESCRIPTIONCURRBUDGETSTARTFINISHREM DURATIONDIST' CURVEPEAK
(AT % DUR)
STD DEVCHECK SUMCOMMITTEDACTUALESTIMATE AT COMPLETIONESTIMATE TO COMPLETE
Mar-23​
Apr-23​
May-23​
Jun-23​
Jul-23​
Aug-23​
Sep-23​
Row 3
Row 4Company911100Item DescriptionAUD23,233,287Apr-23May-27
50.0​
Normal65%
16​
Ok--23,233,28723,233,287-203,451223,441244,438266,365289,129312,615



S4 Formula=+IF(AND($J4="Linear",S$2>=$G4,S$2<=$H4),$Q4/$I4,0)+IF(AND($J4="Normal",S$2>=$G4,S$2<=$H4),(NORM.DIST((YEAR(S$2)-YEAR($G4))*12+MONTH(S$2)-MONTH($G4)+1,$I4/2,$L4,TRUE)-NORM.DIST((YEAR(S$2)-YEAR($G4))*12+MONTH(S$2)-MONTH($G4),$I4/2,$L4,TRUE))/(1-2*NORM.DIST(0,$I4/2,$L4,TRUE))*$Q4,0)

Thanks in advance.
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

Forum statistics

Threads
1,224,810
Messages
6,181,079
Members
453,021
Latest member
Justyna P

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