Calculate Tenure of an employee in the orgnanisation

sssanmeet

New Member
Joined
Jun 27, 2017
Messages
2
Hi,

I need to calculate the tenure of employees in my org, i wrote this code however I keep getting an #value error, can someone help me?

=DATEDIF(C2,TODAY(),"y") & " years, " & DATEDIF(C2,TODAY(),"ym") & " months "

C2 is the cell where I have the employees joining date.
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
joinedtenure daysyearsremdaysremmonthsremdaysstated in plain englishtoday=27/06/2017
03/02/20083432.009144.754239 years 4 months 23 days
04/09/20131392.003296.259223 years 9 months 22 days

<colgroup><col span="2"><col span="2"><col><col><col><col><col></colgroup><tbody>
</tbody>
 
Upvote 0
.
Code:
=DATEDIF(C2,TODAY(),"y")&" years, "& DATEDIF(C2,TODAY(),"ym") &" month(s), "& DATEDIF(C2,TODAY(),"md")&" Days"
 
Upvote 0

Forum statistics

Threads
1,215,584
Messages
6,125,677
Members
449,248
Latest member
wayneho98

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