Forum Discussion
NeilRoback
Mar 27, 2023Copper Contributor
Adding up total years of expierence
I have used the DATEDIF formula to create a table with multiple employees years of expierence. Is is possible to now add all of those years of expierence (in Year, Month format) together for a group ...
HansVogelaar
Mar 27, 2023MVP
I'd add a separate column that returns the number of months using DATEDIF with "M" as third argument.
Let's say the results are in M2:M50.
Then use
=QUOTIENT(SUM(M2:M50), 12)& " Years, "&MOD(SUM(M2:M50),12)& " Months"
NeilRoback
Mar 27, 2023Copper Contributor
HansVogelaar just had to change the periods to commas to make 12 the dividing number and that worked perfectly, thank you!
- HansVogelaarMar 27, 2023MVP
Glad to see you were able to correct my stupid mistake! I have changed the periods to commas in my previous reply.