Calculate remaining life span with irregular service dates

Alaska_A

New Member
Joined
Jul 21, 2015
Messages
5
Hello,

I am trying to track the remaining life span of a product (5 years), when the life span is only reduced when the item is in use, not when in storage. If the product has a 5 year life and Jane only used it for 10 months and 19 days, how much of the 5 years remains? Worth noting is I do have a "datedif" formula doing the calculation in D2.
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Issue Date[/TD]
[TD]Issued To[/TD]
[TD]Return Date[/TD]
[TD]In Service[/TD]
[TD]Life Remaining[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]8/1/16[/TD]
[TD]Jan Doe[/TD]
[TD]6/20/17[/TD]
[TD]0 years, 10 months, 19days[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Maybe

=DATEDIF(C2,EDATE(A2,12*5),"y")&" years, "&DATEDIF(C2,EDATE(A2,12*5),"ym")&" months, "&DATEDIF(C2,EDATE(A2,12*5),"md")&" days"
 
Upvote 0
Perfect, thank you Tetra201!!! Follow-up question, if I added to row 3, that Dan Smith used the vest for 2 months, how would I combine the data to show the full "12 months"?

[TABLE="class: cms_table, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[TD]E
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]Issue Date
[/TD]
[TD]Issued To
[/TD]
[TD]Return Date
[/TD]
[TD]In Service
[/TD]
[TD]Life Remaining
[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]8/1/16[/TD]
[TD]Jan Doe[/TD]
[TD]6/20/17[/TD]
[TD]0 years, 9 months, 19days[/TD]
[TD]4 years, 2 months, 12 days[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]6/26/17[/TD]
[TD]Dan Smith[/TD]
[TD]8/5/17[/TD]
[TD]0 years, 2 months, 4days[/TD]
[TD]**4 years, 8 days**[/TD]
[/TR]
</tbody>[/TABLE]


Or would there be a better way to track that?
 
Last edited:
Upvote 0
It is unclear to me how you arrived at "0 years, 9 months, 19days", and "0 years, 2 months, 4days".

Here is my suggestion for calculating the remaining life when you have multiple entries -- place the following formula in cell E2 and drag-copy down as needed:

=DATEDIF(SUM(C$2:C2)-SUM(A$2:A2)+A$2,EDATE(A$2,12*5),"y")&" years, "&DATEDIF(SUM(C$2:C2)-SUM(A$2:A2)+A$2,EDATE(A$2,12*5),"ym")&" months, "&DATEDIF(SUM(C$2:C2)-SUM(A$2:A2)+A$2,EDATE(A$2,12*5),"md")&" days"
 
Upvote 0

Forum statistics

Threads
1,223,231
Messages
6,170,884
Members
452,364
Latest member
springate

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