Time with Company Formula

Lester601

Board Regular
I know the date of hire for an employee.
Is there a formula that would tell me how long the employee was with the company?

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Are you wanting the number of days, months or years, or fractions of? Are you considering only workdays? What about holidays?

Years with months as a decimal place eg: 10.6

so if the date hired is in D10 and the current date is in D11
=DATEDIF(D10,D11,"y")&" years"

HTH
texasalynn

Thanks but it s not giving me the months as a decimal place. Any suggestions?

Try this:

=(DATEDIF(\$D\$10,\$D\$11,"ym"))/12+DATEDIF(\$D\$10,\$D\$11,"y")&" years"

=(YEAR(E7)-YEAR(hiredate))-(((DATE(YEAR(E7),MONTH(hiredate),DAY(hiredate)))-E7)/365)

Not sure if this will help, but it is what I use to tall years of employment.

HIREDATE equals the cell with the hire date. Example (1/4/1985)

E7 in my formula is actually date of end of our payweek. Which you could make current date. Hope this helps

Thanks for all other input too.

Replies
6
Views
239
Replies
4
Views
1K
Replies
1
Views
614
Replies
2
Views
106
Replies
5
Views
197

1,202,976
Messages
6,052,882
Members
444,607
Latest member
RalphJean

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back