Depreciation over variable number of months

Arie Bos

Board Regular
Joined
Mar 25, 2016
Messages
224
Office Version
  1. 365
Platform
  1. Windows
Dear Excel world,
I have an amount to be depreciated over X month. X is a variable so the user can choose the number of months.
So, 1200 dollar in (X=12) months = 100/month, and the 13th cell should know the total has been absorbed bij the 12 months amount, so that cell should show zero, as there is nothingh more to depreciate from that month on. But if the user chooses X=24, the monthly amount is 50 dollars, and cell 25 should show the zero.

I think it is not difficult to make an IF formula in every cell in this row, but they would be all different, which is not elegant. So is there a function in Excel that can do this? or how should I compose this as a general formula, and not as a per-cell formula?

Many thanks in advance,
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
i'm sure better ways - BUT SLN() is a depreciation function in excel

so if you enter SLN($A2,0,$B2) in the first month and then =IF(SUM($C2:C2)=$A2,"",SLN($A2,0,$B2))
Where A2 is the amount and B2 the time

Book2
ABCDEFGHIJKLMNOPQRSTUVW
1amountmonthsMth1Mth2Mth3Mth4Mth5Mth6Mth7Mth8Mth9Mth10Mth11Mth12Mth13Mth14Mth15Mth16Mth17Mth18Mth19Mth20Mth21
2120012$100.00$100.00$100.00$100.00$100.00$100.00$100.00$100.00$100.00$100.00$100.00$100.00         
Sheet1
Cell Formulas
RangeFormula
C2C2=SLN($A2,0,$B2)
D2:W2D2=IF(SUM($C2:C2)=$A2,"",SLN($A2,0,$B2))


as i say maybe better ways - with VBA to actually write the first amount and use
With Excel - I get a cicular reference if i try and use SLN and SUM on first cell
 
Upvote 0
Hard to give you a specific solution without knowing how you have your data set up. But here is the idea:

12 periods:

$scratch.xlsm
ABCDE
1Amount: $1,200.00 PeriodDepreciation
2Number of Periods:121$100.00
32$100.00
43$100.00
54$100.00
65$100.00
76$100.00
87$100.00
98$100.00
109$100.00
1110$100.00
1211$100.00
1312$100.00
1413$0.00
1514$0.00
depreciation
Cell Formulas
RangeFormula
E2:E15E2=IF(D2<=$B$2,$B$1/$B$2,0)


24 periods:

$scratch.xlsm
ABCDE
1Amount: $1,200.00 PeriodDepreciation
2Number of Periods:241$50.00
32$50.00
43$50.00
54$50.00
65$50.00
76$50.00
87$50.00
98$50.00
109$50.00
1110$50.00
1211$50.00
1312$50.00
1413$50.00
1514$50.00
1615$50.00
1716$50.00
1817$50.00
1918$50.00
2019$50.00
2120$50.00
2221$50.00
2322$50.00
2423$50.00
2524$50.00
2625$0.00
2726$0.00
depreciation
Cell Formulas
RangeFormula
E2:E27E2=IF(D2<=$B$2,$B$1/$B$2,0)
 
Upvote 0
Wayne! You are a rocket!... Thank you for your super quick help on this. Much much much appreciated!.
Arie
 
Upvote 0
And Jeff, same to you... Many thanks for helping out so fast!
 
Upvote 0
you are welcome
hope it does answer your question, as was not sure

i think excel has 7 different built in depreciation functions - years since i have used in a work environment
 
Upvote 0
Wow... time for me to get better educated... thanks again.
 
Upvote 0

Forum statistics

Threads
1,214,926
Messages
6,122,305
Members
449,079
Latest member
juggernaut24

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