I am completely stuck with this problem I’m having with excel.
Basically I am creating an computer inventory.
I have the date purchased (ex 10/5/06), and I need to know the amount of time since then (updating with todays date)
For example 10/26/06 was 5 years ago.
Is there a way to do that with the TODAY() function?
Sorry if this doesn’t make any sense, and thanks in advance for the help! 🙂
If your purchase date was in A1 then in B1 you could try
=DATEDIF(A1,TODAY(),”y”)&” years “&DATEDIF(A1,TODAY(),”ym”)&” months & DATEDIF(A1,TODAY(),”md”) & ” days”
which gives “4 years 11 months 29 days”
For a useful reference on the undocumented DATEDIF see http://www.cpearson.com/excel/datedif.aspx