I've been trying to figure how to format cells to indicate duration of time in a Years, Months, Days format (as in col. G of my exported sheet), but am getting nowhere. Is this really as hard as I'm trying to make it?
I've been trying to figure how to format cells to indicate duration of time in a Years, Months, Days format (as in col. G of my exported sheet), but am getting nowhere. Is this really as hard as I'm trying to make it?
Have a look here: https://support.office.com/en-gb/art...5-46100a162f38
There have been discussions about this before on the forum and you should be aware that leap years can slightly skew results.
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
In G2, copied down:
=DATEDIF(F2,TODAY(),"y")&" Years, "&DATEDIF(F2,TODAY(),"ym")&" Months, "&DATEDIF(F2,TODAY(),"md")&" Days"
Glenn
None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.
Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh
Hi all- This removes zeroed periods:PS forgot to mention, I put TODAY() in $L$1. It's a volatile function, not a great idea to be re-calcing a hundred instances.Please Login or Register to view this content.
Last edited by leelnich; 11-17-2017 at 03:37 PM.
Clicking the Add Reputation star below helpful posts is a great way to show your appreciation.
Please mark your threads as SOLVED upon conclusion (Thread Tools above Post # 1). - Lee
I think this one will close to what OP shows as a results
Formula:Please Login or Register to view this content.
If you like my answer please click on * Add Reputation
Don't forget to mark threads as "Solved" if your problem has been resolved
"Nothing is so firmly believed as what we least know."
--Michel de Montaigne
Another formula :
Please Login or Register to view this content.
Last edited by popipipo; 11-17-2017 at 02:21 PM.
Willem
English is not my native language sorry for errors
Please correct me if I'm completely wrong
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks