Spreading a given cost of X$'s over Z years Starting at year Y

STCrosstown

New Member
Joined
Aug 24, 2018
Messages
9
So I am trying to create a formula to equally spread a given cost X starting at year Y and spread over Z amount of years. Ex

[TABLE="class: grid, width: 100"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Cost
X[/TD]
[TD]Start Year
Y[/TD]
[TD]Spread over Z years[/TD]
[TD]2019[/TD]
[TD]2020[/TD]
[TD]2021[/TD]
[TD]2022[/TD]
[TD]2023[/TD]
[TD]2024[/TD]
[TD]2025[/TD]
[/TR]
[TR]
[TD]1000[/TD]
[TD]2020[/TD]
[TD]5[/TD]
[TD]0[/TD]
[TD]200[/TD]
[TD]200[/TD]
[TD]200[/TD]
[TD]200[/TD]
[TD]200[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

Any help is much appreciated
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Hi,

Change the 0 (zero) to "" if you want Blank rather than 0 to show:


Book1
ABCDEFGHIJ
1Cost XStart Year YSpread over Z years2019202020212022202320242025
210002020502002002002002000
Sheet509
Cell Formulas
RangeFormula
D2=IF(OR(D1<$B2,D1>=$B2+$C2),0,$A2/$C2)


Formula copied across.
 
Upvote 0
Then use D3 formula copied across:


Book1
ABCDEFGHIJKLMNOPQRSTUVWXY
1Cost XStart Year YSpread over Z years2019202020212022202320242025202620272028202920302031203220332034203520362037203820392040
210002020502002002002002000
302000000200000020000002000000200
Sheet509
Cell Formulas
RangeFormula
D2=IF(OR(D1<$B2,D1>=$B2+$C2),0,$A2/$C2)
D3=IF(OR(D1<$B2,D1<>MROUND(D1,$C2),D1>=$B2+$C2^2),0,$A2/$C2)
 
Last edited:
Upvote 0
Ignore my D3 formula above, use this one:


Book1
ABCDEFGHIJKLMNOPQRSTUVWXY
1Cost XStart Year YSpread over Z years2019202020212022202320242025202620272028202920302031203220332034203520362037203820392040
210002020502002002002002000
302000000200000020000002000000200
Sheet509
Cell Formulas
RangeFormula
D2=IF(OR(D1<$B2,D1>=$B2+$C2),0,$A2/$C2)
D3=IF(OR(D1<$B2,MOD(D1-$B2,$C2)<>0,D1>=$B2+$C2^2),0,$A2/$C2)
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,154
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