Length of Service

D

Dom

I would like to create a formula that would calculate the length of a
person's employment, i.e. hired 8/14/94 till today, for example. Any Ideas
will be greatfully accepted.
 
M

Marcelo

hi Dom,

try to use =DATADIF

look the help!

hth
regards from Brazil
Marcelo

"Dom" escreveu:
 
V

VBA Noob

Try this

=DATEDIF(A1,TODAY(),"Y") & " Years, " & DATEDIF(A1,TODAY(),"YM") &
Months, " & DATEDIF(A1,TODAY(),"MD") & " Days
 
V

VBA Noob

This gets you the year if that helps

=IF(MONTH(TODAY())>MONTH(A1),YEAR(TODAY())-YEAR(A1),IF(AND(MONTH(TODAY())=MONTH(A1),DAY(TODAY())>=DAY(A1)),A1YEAR(TODAY())-YEAR(A1),(YEAR(TODAY())-YEAR(A1))-1)
 

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