I need to write a formula that will precisely tell me how many years an employee has been with the company using Today() and a Hire Date. I will need to use the Floor fuction so that the result will only increase in value only when a new whole number rolls over. The tricky part is of course taking leap year into consideration. I've playred around with the Edate function but I'm still having trouble putting it all together.
The anniversary date for the employee will increase when the month & day for Today() is equal to or greather than the hire date. Thanks!
Example:
Today Hire Date Yrs with Company Dec 27th, 2013 Dec 27th, 2012 1 Dec 27th, 2013 Dec 26th, 2012 0 Dec 27th, 2013 Dec 27th, 2011 2 Dec 27th, 2013 Dec 26th, 2011 1 Dec 27th, 2013 Dec 27th, 2010 3 Dec 27th, 2013 Dec 26th, 2010 2 Dec 27th, 2013 Dec 27th, 2009 4 Dec 27th, 2013 Dec 26th, 2009 3
Bookmarks