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

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
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,215,343
Messages
6,124,400
Members
449,156
Latest member
LSchleppi

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