ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Excel Formula - Compute Number of Years Worked (https://www.excelbanter.com/excel-discussion-misc-queries/39938-excel-formula-compute-number-years-worked.html)

Penny

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.

Zack Barresse

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.




Dave Peterson

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