Length of Employment

B

Blessedx3

I am trying to calculate service time of our employees for our annual awards
dinner. One thing we do is give service pins for every 5 years of service.
Any employee whose 5 years (10yrs, 15yrs, etc.) falls between June 1, 2008
and May 31, 2009 is eligible. I would like to have a formula that calculates
if the employee is eligible for a service pin.

I only know excel basics, not visual basic, etc.

Thanks in advance for your help!
 
F

francis

try

=DATEDIF(A2,B2,"Y")

where A2 is the start date and B2 is the end date which is June 1, 2008
to May 31, 2009

--
Hope this is helpful

Pls click the Yes button below if this post provide answer you have asked


Thank You

cheers, francis
 
B

Bob Phillips

=AND(DATEDIF(start_date,DATE(2009,5,31),"Y")>=5,DATEDIF(start_date,DATE(2009,5,31),"Y")<10)

and so on
 

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