Calculating employee tenure in excel

Dees_Deli

New Member
Joined
Mar 19, 2021
Messages
6
Office Version
  1. 2010
Platform
  1. Windows
Hello

I have a spreadsheet that contains data for both active and inactive employees.

My column for "Termination date" has a mixture of leave dates for employees who have left and blank fields for active employees. Is there a way to calculate the tenure for all employees that have left and who are still current?

Thank you
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
What about some sample data and expected results with XL2BB so that we know exactly what you are expecting and have something to test with?
 
Upvote 0
Hi here is an example - blank fields in end date mean that the employee is still active.
Thank you in advance

1617816292153.png
 
Upvote 0
There are many ways to show this
Can you give us the expected output you expect to see?
That will show us the level of detail and format you would like.
 
Upvote 0
In column tenure I would expect to see the number of years and months that an employee has been with the company as at today's date eg "1 year 2 months" I am not bothered about the format but more about getting the correct calculation
 
Upvote 0
You could just subtract the Start Date from the larger of your End Date column and today.
So, maybe something like this:
=MAX(Today(),D2)-C2

When you subtract dates, usually it returns days, but you can change the formatting.

Have a look here for different ways of representing your results (and other functions you can use):
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,728
Members
448,987
Latest member
marion_davis

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.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

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

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

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
Back
Top