=DateDif(StartDate,EndDate,"M")&"."&DateDif(StartDate,EndDate,"M")
I'd be surprised if I were right about this, but it looks to me like the first "M" should be a "Y".try:
Excel Formula:=DateDif(StartDate,EndDate,"M")&"."&DateDif(StartDate,EndDate,"M")
This function has limitations and you should review the conditions where it may provide incorrect results.
Please look at this link:
DATEDIF function - Microsoft Support
Calculates the number of days, months, or years between two dates.support.microsoft.com
=DateDif(StartDate,EndDate,"Y")&"."&DateDif(StartDate,EndDate,"M")
why would you be surprised? people make typos, my bad.I'd be surprised if I were right about this, but it looks to me like the first "M" should be a "Y".
Excel Formula:=DateDif(StartDate,EndDate,"Y")&"."&DateDif(StartDate,EndDate,"M")
Was that a typo, or am I misunderstanding how that formula works?
Because usually I'm the one making typos and missing edge cases! You're one of the people on here typically nailing it the first time.why would you be surprised? people make typos, my bad.
Thanks for the catch!
Thanks, but, i'm not an A lister here. Folks chime in with better, more efficient, and shorter solutions very frequently with me.Because usually I'm the one making typos and missing edge cases! You're one of the people on here typically nailing it the first time.