Depreciation Calculation Multi Year

ultracyclist

Active Member
Joined
Oct 6, 2010
Messages
271
Office Version
  1. 365
Platform
  1. Windows
Hi,

I’m using the following formulas to calculate depreciation costs over a 6 year period assuming the first year is 2020. Looking for help on how I adjust the formulas if the starting year is 2021 thru 2030 so it always maintains a 6 year rolling period based on the first year. In column V, I have a drop-down list that goes from 2020 through 2030

Depreciation Schedule.xlsx
MNOPQRSTUVWXYZAAABACADAEAFAG
1Hardware CostHardware Purchase YearCost Type20202021202220232024202520262027202820292030
2$197,7622020Hardware0000002020
32021
42022
52023
62024
72025
82026
92027
102028
112029
122030
Sheet1
Cell Formulas
RangeFormula
P2P2=IF($N2="2020",$M2*10%,0)
Q2Q2=IF($N2="2020",$M2*20%,IF($N2="2021",$M2*10%,0))
R2R2=IF($N2="2020",$M2*20%,IF($N2="2021",$M2*20%,IF($N2="2022",$M2*10%,0)))
S2:T2S2=IF($N2="2020",$M2*20%,IF($N2="2021",$M2*20%,IF($N2="2022",$M2*20%,0)))
U2U2=IF($N2="2020",$M2*10%,IF($N2="2021",$M2*20%,IF($N2="2022",$M2*20%,0)))
Cells with Data Validation
CellAllowCriteria
N2:N12List=$AG$2:$AG$12


Thansks,
Tom
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Glad it is working for you.
Why are you using Text for 2020 etc.
N.B. Your post is showing results of 0.
The post below is very much like post #2.

T202010b.xlsm
MNOPQRSTUV
1Hardware CostHardware Purchase YearCost TypeFY2020FY2021FY2022FY2023FY2024FY2025FY2026
2197,762.002020Hardware19,776.2039,552.4039,552.4039,552.4039,552.4019,776.200.00
1e
Cell Formulas
RangeFormula
P2:V2P2=IF($N2>P$1,"",IF($N2=P$1,$M2*0.1,MAX(0,MIN($M2-SUM($O2:O2),$M2*0.2))))
 
Upvote 0
Are you referring to formatting Column N or P as Text? One thing I have noticed with the formulas is if I change the column header in Column P to something other than what you provided in your example, it doubles the value in P2 and does the same for subsequent rows where the formula carries across the row? This is the first time I have run into this where a formulas function is dependent on the format of the column header or cell row. Is there a default format I should use which does not impact the output of the formula?

Here's an example from one of your posts where the cost was 50,000 and the column header is FY20. If I change Fy20 to something else it doubles the value from $8333 to $16667

=IF($N2>P$1,"",IF($N2=P$1,$M2*0.16667,MAX(0,MIN($M2-SUM($O2:O2),$M2*0.33333))))

Thanks,
Tom
 
Upvote 0
Hello Tom
1. Did you copy any of the posts and try them on a clean sheet?
You can use the icon just below the f(x) at the top of the post and then paste the information to M1 of a clean sheet.
2. Move to P2 and use Excel's Formula Evaluate to review the formula.
3. As stated previously, the numbers in N2 and P1 etc. preferably are consistent 2020 and 2020 or 20 and 20. You can custom format the numbers
to appear as you prefer. The formula uses real numbers not TEXT.
4. I did include a hybrid solution since you may try using 2020 and 20! P1 contains 20 and it is Custom Formatted to show FY20. "FY"#.
The formula is a little more complex but it works.
5. The number in P3 is 20. You can review the formula. You could Custom Format the 20 to appear as 2020 but that could be confusing in the future.

The next post puts the rate in O2.
I used numbers like 2020 in Q1:V1 and N2.

T202010b.xlsm
MNOPQRSTU
1Hardware CostHardware Purchase YearCost TypeCost FY20Cost FY21Cost FY22Cost FY23Cost FY24Cost FY25
250,000.002020Hardware6,250.0012,500.0012,500.0012,500.006,250.000.00
350,000.0020Hardware6,250.0012,500.0012,500.0012,500.006,250.000.00
1cc
Cell Formulas
RangeFormula
P2:U2P2=IF($N2>(20&P$1)+0,"",IF($N2=(20&P$1)+0,$M2*0.125,MAX(0,MIN($M2-SUM($O2:O2),$M2*0.25))))
P3:U3P3=IF($N3>P$1,"",IF($N3=P$1,$M3*0.125,MAX(0,MIN($M3-SUM($O3:O3),$M3*0.25))))
 
Upvote 0
Upvote 0
Hi Dave,

Thanks for sharing the tip about using the icon just below the f(x) formula bar to copy the content into my sheet. This is my first time working with the the XL2BB add-in, so I was copying the formulas you provided in your responses or just clicking on the individual cells and copying them to my sheet. Makes sense.

The only thing that does not carry over properly during the copy and paste process is the custom formatting for column headings Q1:U1. When I paste the content it shows the 4 digit year which is fine.

Thank you again for all your help.

Tom
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,750
Members
448,989
Latest member
mariah3

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