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.5K Get Help
- 424 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 146 Just for fun
- 63 Community Job Board
- 465 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 39 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!