ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   formula to caluclate the # of years and months between two dates (https://www.excelbanter.com/excel-worksheet-functions/120968-re-formula-caluclate-years-months-between-two-dates.html)

John Bundy

formula to caluclate the # of years and months between two dates
 
This is a simple formula that gets years months and days, adjust as needed

=YEAR(B4)-YEAR(A4) & " years " & MONTH(B4)-MONTH(A4) & " months " &
DAY(B4)-DAY(A4) & " days"

A4 has the current date and A4 has begin date


"Christyepd" wrote:

I am setting up the employees lenths of service from the date hired until
present date.



All times are GMT +1. The time now is 06:42 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com