CALCULATE YEARS AND MONTHS

G

Guest

Dear All
I have a spreadsheet with employee start dates. I want to calculate how
long each employee has been with us, in years and months using:
Col A = start date
Col B = today's date
Col C = length of service.
I can do it using fractions, but would prefer if it calculated the actual
years/months ie 4.7 = 4 yrs, 7 mths.
Many thanks
 
J

John Mansfield

Hi,

Assuming your start date is in cell B1 and your end date
is in cell A1 enter the following formula:

=DATEDIF(B1,A1,"y") & " years, " & DATEDIF(B1,A1,"ym") & "
months"

John Mansfield
pdbook.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top