Hi,
I have a formula that can calculate the difference between two dates & give me a result like:
# Years(s), # Month(s)
# = Number or result difference between dates.
Here's the formula I'm using to get above results:
=IF(S11="","0 Years(s), 0 Month(s), 0 Day(s)",IF(S14="TBD",DATEDIF(S11,TODAY(),"y")&" year(s), "&DATEDIF(S11,TODAY(),"ym")&" month(s)",IF(S14>1,DATEDIF(S11,S14,"y")&" year(s), "&DATEDIF(S11,S14,"ym")&" month(s) ")))
Now, I would like to add in Weeks, but not certain what the "week" code is to give:
# Years(s), # Month(s), # Week(s)
=IF(S11="","0 Years(s), 0 Month(s), 0 Day(s)",IF(S14="TBD",DATEDIF(S11,TODAY(),"y")&" year(s), "&DATEDIF(S11,TODAY(),"ym")&" month(s)",IF(S14>1,DATEDIF(S11,S14,"y")&" year(s), "&DATEDIF(S11,S14,"ym")&" month(s) "&DATEDIF(S11,S14,"mw")&" Week(s) ")))
This, "mw" is wrong n my formula to find or calculate weeks. What should be here or is there a better way to calculate the difference between two dates & still get:
# Years(s), # Month(s), # Week(s)
Thanks
Bookmarks