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), "")
https://www.linkedin.com/in/zchrispalmer/
-
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), "")
https://www.linkedin.com/in/zchrispalmer/
-
THAT WORKED! You sir are amazing! Thank you!
-
Excellent!
I appreciate the feedback.
https://www.linkedin.com/in/zchrispalmer/
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!