Date Calculation with Year's decimals

mba_110

Board Regular
Joined
Nov 28, 2012
Messages
96
Office Version
  1. 365
Platform
  1. Windows
Hi everyone,

I hope all are fine.

I need your help in below sheet on formula cell I11 and J12, some formulas i have already completed but these two formulas are not giving me the desired results.

Cell Formulas
RangeFormula
E11E11=VLOOKUP(C11,'Asset List'!$C$11:$N$131,3,0)
I11I11=DATE(YEAR(D11)+G11,MONTH(D11),DAY(D11))
K11K11=E11
H12H12=D11
I12:I24I12=IF(H12+30<$I$11,EOMONTH(H12,0),$I$11)
J12:J24J12=IF(I12-H12>=30,($E$11/$G$11)/12,($E$11/$G$11)/12/30*(I12-H12))
K12:K24K12=K11-J12
H13:H24H13=IF($I$11>EOMONTH(I12,0),I12+1,"")
F11F11=VLOOKUP(C11,'Asset List'!$C$11:$N$131,4,0)
F12:F16F12=F11
E26,J26E26=SUBTOTAL(9,E11:E25)
K26K26=K11-J26


G11 is a manual entry cell where i want to put the year value in single or double decimals which will effect the calculation in above sheet for the End period at cell number I11, secondly i have formula in J12 which will calculate the amount of depreciation on each particular line (from start date to end date).

* I11 - i want the End date mentioned on I11 should calculate correctly when i use decimals in G11 for year(s).
** J12 - i want the formula in J12 should allocate the correct amount on each line with their respective period (days) from start to end, also when the period ends the total of J26 should match with E11, their should not be any difference or balance remain.

I really appreciate your help and support.
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
** J12 - i want the formula in J12 should allocate the correct amount on each line with their respective period (days) from start to end, also when the period ends the total of J26 should match with E11, their should not be any difference or balance remain.

1737800152449.png
 
Upvote 0
** J12 - i want the formula in J12 should allocate the correct amount on each line with their respective period (days) from start to end, also when the period ends the total of J26 should match with E11, their should not be any difference or balance remain.
It works for me in the way you describe.
Did you enter this in J12 : =$E$11/($G$11*365)*(I12-H12+1)
What result is J12 returning?
 
Upvote 0

Forum statistics

Threads
1,225,897
Messages
6,187,704
Members
453,435
Latest member
U4US

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