Years of Service Formula Help
Hello Awesome Community,
I have watched videos and searched the threads but I have hit a block and cannot figure out how to calculated the number of years my employees have worked.
I have the Column setup as "Date of Hire" with the date in this format MM/DD/YY and I am trying to figure out the "Years of Service" to today's date so I always have their exact time working for the company.
Please any help would be amazing. Thank you all for your time.
Best Answers
-
Hello @Sara.Planchon
Give this formula a shot and let me know if it works for you:
=IF([Date of Hire]@row <> "", YEAR(TODAY()) - YEAR([Date of Hire]@row) - IF(TODAY() < DATE(YEAR(TODAY()), MONTH([Date of Hire]@row), DAY([Date of Hire]@row)), 1, 0), "")
-
THAT WORKED! You sir are amazing! Thank you!
Answers
-
Hello @Sara.Planchon
Give this formula a shot and let me know if it works for you:
=IF([Date of Hire]@row <> "", YEAR(TODAY()) - YEAR([Date of Hire]@row) - IF(TODAY() < DATE(YEAR(TODAY()), MONTH([Date of Hire]@row), DAY([Date of Hire]@row)), 1, 0), "")
-
THAT WORKED! You sir are amazing! Thank you!
-
Excellent!
I appreciate the feedback.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63K Get Help
- 379 Global Discussions
- 213 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 305 Events
- 34 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!