Hi Stellie
=DateDiff("yyyy",[StartDate],[EndDate]) & " total years " &
DateDiff("m",[StartDate],[EndDate])-(DateDiff("yyyy",[StartDate],[EndDate])+Int(Format([EndDate],"mmdd")<Format([StartDate],"mmdd")))*12 & ", months."
This will give you XX total years, XX months. (in words)
=DateDiff("yyyy",[StartDate],[EndDate]) &
DateDiff("m",[StartDate],[EndDate])-(DateDiff("yyyy",[StartDate],[EndDate])+Int(Format([EndDate],"mmdd")<Format([StartDate],"mmdd")))*12
This will give you XX XX
Hope this is helpful
--
Wayne
Manchester, England.
Not an expert.
Enjoy whatever it is you do.
stellie said:
Using a start and end date, how do you find the difference of years/months in
one cell. (ex. 3.2 years)