Calculating number of years between dates
Tina Rustvold
✭✭✭✭✭
I have tried a few of the formulas I found in the community to calculate the number of years of service for our team members, but I keep getting an Invalid Operation message.
Here is the formula I tired and a shot of the columns I am working with. What am I missing?
=IF(Date@row > [Count Date]@row, YEAR(Date@row) - YEAR([Count Date]@row), "")
Answers
-
Make sure that the Count Date column is in fact set as a date type column.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!