Cashflow Spread

mashburn

New Member
Joined
Jan 10, 2011
Messages
3
I am trying to spread a budget over a “normal” distribution. After some research, I found the normal distribution functions and formulas that will do this, but I can not figure out why the distributed amount does not match the original amount to be spread. I can get pretty close if I “tweak” the SD and average, but I need to set this up so users only need to put in the start/end dates and the amount to spread.
Cashflow Spread.xlsx
ABCD
1
2Start date5/1/2023 <=Input start date here
3End Date8/21/2024 <=Input endate date here
4Month Periods17
5Amount to spread$1,341,740
6
7Average8.50
8Standard Deviation2.83
91.000%5,8985,898
102.001%13,81019,708
113.002%28,92348,631
124.004%53,735102,366
135.007%88,303190,669
146.0010%128,216318,885
157.0012%164,431483,316
168.0014%186,215669,531
179.0014%186,215855,747
1810.0012%164,4311,020,177
1911.0010%128,2161,148,394
2012.007%88,3031,236,696
2113.004%53,7351,290,431
2214.002%28,9231,319,354
2315.001%13,8101,333,164
2416.000%5,8981,339,062
2517.000%2,3121,341,374
261.001,341,374
27
Example
Cell Formulas
RangeFormula
B4B4=DATEDIF(B2,B3+15,"M")+1
B7B7=B4/2
B8B8=B7/3
A9:A25A9=SEQUENCE(B4,1,1,1)
B9:B25B9=NORM.DIST(A9#,$B$7,$B$8,FALSE)+(1-NORM.DIST(COUNT(A9#),$B$7,$B$8,TRUE))*2/$B$4
C9:C25C9=B9#*$B$5
D9D9=C9
D10:D25D10=C10+D9
B26:C26B26=SUM(B9#)
Dynamic array formulas.
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B9:B25Other TypeDataBarNO
B5Expression=MOD(ROW(),4)=0textNO
D9:D25Other TypeDataBarNO
C9:C25Other TypeDataBarNO
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
I think there are two mathematical issues, normal functions are continuous, but in excel they are discrete by necessity. So, some inaccuracies are going to creep in - taking finer steps may help.

Second, real normal functions are infinite, but you are chopping them off where they are lower than 1 or greater than 17. Chopping them off where they are small is a fine approximation, but error creeps in.

A solution might be to stick with the calculated average and SD, make a simple normal distribution. Then get that area (sum) and divide the total to distribute by that number, to get the $ distribution to add up to the original amount.

MrExcelPlayground19.xlsx
ABCDE
2Start date5/1/2023 <=Input start date here
3End Date8/21/2024 <=Input endate date here
4Month Periods17
5Amount to spread$1,341,740.00
6
7Average9.00000000000.917802458
8Standard Deviation4.8989794861$1,341,740.00
910.021465704$31,380.82
1020.02934013942892.495
1130.03846658156234.487
1240.04837371170717.769
1350.05834983385301.913
1460.06751095298694.598
1570.074922669109529.82
1680.079754766116593.89
1790.081433752119048.41
18100.079754766116593.89
19110.074922669109529.82
20120.06751095298694.598
21130.05834983385301.913
22140.04837371170717.769
23150.03846658156234.487
24160.02934013942892.495
25170.02146570431380.82
Sheet4
Cell Formulas
RangeFormula
B4B4=DATEDIF(B2,B3+15,"M")+1
B7B7=AVERAGE(SEQUENCE(B4))
B8B8=STDEV.P(SEQUENCE(B4))
E7E7=SUM(B9#)/D8
E8E8=SUM(C9#)
A9:A25A9=SEQUENCE((B4)*D8,1,1,1/D8)
B9:B25B9=NORM.DIST(A9#,$B$7,$B$8,FALSE)
C9:C25C9=B9#*$B$5/D8/E7
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,198
Members
452,617
Latest member
Narendra Babu D

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