![]() |
Excel Formula - Compute Number of Years Worked
I am using Excel 2002. I have a simple spreadsheet that
shows; Employee Name Employee Hire Date Smith, Ann 08/14/2001 Is there a formula that I can write that will automatically compute how many years an employee has worked? I do not need it date specific as much as month specific. i.e. I would like to know all emloyees that have a hire date in August and how many years they have worked for our company through August. |
Hi,
=YEAR(TODAY())-YEAR(A1) Where A1 is the cell housing your Hire Date. HTH -- Regards, Zack Barresse, aka firefytr "Penny" wrote in message ... I am using Excel 2002. I have a simple spreadsheet that shows; Employee Name Employee Hire Date Smith, Ann 08/14/2001 Is there a formula that I can write that will automatically compute how many years an employee has worked? I do not need it date specific as much as month specific. i.e. I would like to know all emloyees that have a hire date in August and how many years they have worked for our company through August. |
Take a look at Chip Pearson's notes at:
http://www.cpearson.com/excel/datedif.htm Penny wrote: I am using Excel 2002. I have a simple spreadsheet that shows; Employee Name Employee Hire Date Smith, Ann 08/14/2001 Is there a formula that I can write that will automatically compute how many years an employee has worked? I do not need it date specific as much as month specific. i.e. I would like to know all emloyees that have a hire date in August and how many years they have worked for our company through August. -- Dave Peterson |
All times are GMT +1. The time now is 08:27 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com