Skip to playerSkip to main content
Learn how to calculate tenure for employee in year for employee in months and years in Excel. Or calculate employment duration in Excel.

To calculate employment duration in Excel, you can subtract the start date from the end date using the formula =end_date - start_date. To calculate average employee tenure, sum up all the individual tenures and divide by the total number of employees. For calculating longevity in Excel, you can use the same method as employment duration. The formula for tenure rate is the number of employees who have worked for a certain period divided by the total number of employees, multiplied by 100 to get a percentage. So, to calculate longevity in Excel, subtract the start date from the current date for each employee.

Here's the formula featured in my video.

=LET(a, DATEDIF(B3, TODAY(), "Y"),
b, DATEDIF(B3, TODAY(), "YM"),
IF(a> 0, a & " year, ", "") & b & " month")

Let's break down this formula step by step:

1) =LET(: This function is used to define variables within a formula.
2) a, DATEDIF(B3, TODAY(), "Y"),: This line defines the variable a and calculates the difference in years between the date in cell B3 and the current date (TODAY() function).
3) b, DATEDIF(B3, TODAY(), "YM"),: This line defines the variable b and calculates the difference in months between the date in cell B3 and the current date.
4) IF(a> 0, a & " year, ", ""): This part of the formula checks if the variable a (the difference in years) is greater than 0. If it is, it concatenates the value of a with the text " year, ". If a is not greater than 0, it returns an empty string ("").
5) & b & " month": Finally, regardless of the result of the previous IF statement, this part of the formula concatenates the value of b (the difference in months) with the text " month".


🔗🔗 LINKS TO SIMILIAR VIDEOS 🔗🔗
Calculate the Tenure for Employee in Months or Years in Excel - Excel Tips and Tricks
https://youtube.com/shorts/iKebJXSB1pI?feature=share

Employee training tracker template in Months or days in Excel - Excel Tips and Tricks
https://youtube.com/shorts/19uIJbEpMUw?feature=share


How do I calculate employment duration in Excel?,How do you calculate average employee tenure?,How do you calculate longevity in Excel?,What is the formula for tenure rate?,How do you calculate longevity in Excel?,

Check out my complete suite of Microsoft Excel Tips and Tricks.
https://www.youtube.com/@jjnet247/shorts
https://www.tiktok.com/@exceltips247
https://www.instagram.com/exceltips247/
https://www.dailymotion.com/ExcelTips247
https://www.pinterest.com/ExcelTips247/excel-tips-and-tricks/
https://x.com/ExcelTips247/media
https://www.reddit.com/r/Excel247/
https://www.facebook.com/XyberneticsInc/reels/

#microsoft #excel #tips #tipsandtricks #microsoftexcel #accounting #fyp #fypã‚· #exceltips #exceltricks
Transcript
00:00If you have been given a task to calculate the employee tenure, you can use one simple formula
00:04to do it. I'm going to use a formula called let, which allows me to store the date difference
00:08between today and the date in cell B3 and store it as year in variable A. The next variable I'll
00:14be using will be B, and basically do the date div again between today and cell B3, and present it
00:20as month using YM formatting. And then as a final argument on my let function, I'm going to use an
00:26if statement saying that if your variable value A is greater than 0, which means you have a couple
00:32of years, you're going to present the year value followed by the year, comma. If it's just zero
00:38years, we're going to basically insert blank. And after that, I'm going to concatenate the value in
00:42B, and after that, put a month at the back. And if you hit enter, this is what it looks
00:46like. And
00:47after that, you can apply the same formula to the rest of rows. And note, anybody who have less than
00:51a year is only presented with a month value.
Comments

Recommended