anniversary

  • Thread starter Thread starter May Tan
  • Start date Start date
M

May Tan

is there a function in excel that can auto calculate the nos. of years the
staffs serving?

thanks
 
May Tan,

With the startdate in A1 and the "Calculationdate" in A2 try
=DATEDIF(A1,A2,"y")

--
Regards,
Auk Ales

* Please reply to this newsgroup only *
* I will not react on unsolicited e-mails *
 
If start date is in A1, then put the following into A2 and will sho
number of completed years.

=IF(TODAY()-DATE(YEAR(TODAY()),MONTH(A1),DAY(A1))<0,(YEAR(TODAY())-YEAR(A1))-1,YEAR(TODAY())-YEAR(A1))&
Yrs"

Hope this helps
 
thanks for all the helps.

Is there a function that show not only the years, but with months as well?
 
Hi
see the link I provided to you. You can also use DATEDIF for this
 

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

Back
Top