I want to convert the number of days calculated into the number of months and days if this is possible.
For example:
Cell A1 = 1/1/2008
Cell A2 = 2/5/2008
Cell A3 = A2-A1
Currently I am getting a value of 35 days. I want the result to return a value of "1 month, 5 days"
Thanks.
Try:
=DATEDIF(A1,A2,"M")&" Months & "&DATEDIF(A1,A2,"md")&" days"
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
There are currently 2 users browsing this thread. (0 members and 2 guests)
Bookmarks