Years in Service Formula
Good Day,
We are struggling with getting a "Years in service" calculator to work, after having pulled all the formulas that could be found by previous posts, still no luck.
=IF(AND(MONTH([Start Date]1) >= MONTH(TODAY()), DAY([Start Date]1) > DAY(TODAY())), YEAR(TODAY()) - 1 - YEAR([Start Date]1), YEAR(TODAY()) - YEAR([Start Date]1))
This is a copy and paste from another post, which it appeared had worked for them.
Dates are formatted as 8/2/2017, have tried 08/02/2017
But I consistently get #INVALIDDATATYPE
Any suggestions would be greatly appreciated.
Robert
Comments
-
It sounds like your Start Date column might be set to Text/Number instead of Date.
-
Brian,
This was a "if it was a snake it would have bit me" sort of scenario.
Thank you for your help, it got where I needed to be. Very much appreciated.Robert
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- 10.7K Get Help
- 63 Global Discussions
- 69 Industry Talk
- 385 Announcements
- 3.5K Ideas & Feature Requests
- 55 Brandfolder
- 125 Just for fun
- 50 Community Job Board
- 464 Show & Tell
- 40 Member Spotlight
- 44 Power Your Process
- 28 Sponsor X
- 234 Events
- 7.3K Forum Archives
Check out the Formula Handbook template!