8 years, 2 months, 3 days Format

myletterboxnp

New Member
Joined
May 20, 2022
Messages
28
Office Version
  1. 365
F2 has employee's hire date. 08/02/2017
F2 has employee's re-hire date. 04/01/2019
In H2 it should show employee's tenure (length of service) in the format : x years, y months, z days

Thank you!
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Use below formula to calculate time between two dates, with F2 being start date and G2 being the end date:

Rich (BB code):
=DATEDIF(F2, G2, "y")&" years, "&DATEDIF(F2, G2, "ym")&" months, "&DATEDIF(F2, G2, "md")&" days"
 
Upvote 0
can you show the actual data? In the sample data you have posted above you have typed hire date and re-hire date in same cell i.e. "F2"
 
Upvote 0

Forum statistics

Threads
1,213,521
Messages
6,114,104
Members
448,548
Latest member
harryls

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