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
- Smartsheet Customer Resources
- 63.4K Get Help
- 394 Global Discussions
- 213 Industry Talk
- 449 Announcements
- 4.6K Ideas & Feature Requests
- 141 Brandfolder
- 132 Just for fun
- 131 Community Job Board
- 453 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 293 Events
- 35 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!