Need assistance with IF then formula to return either biannual review date or annual date
I am working on a formula for our policy management system. If the Review Frequency is biannual, the Next Review Date will automatically generate a date two years from the Published Date. If the Review Frequency is annual, the Next Review Date will automatically generate a date one year from the Published Date. Can someone please assist with this formula?
Answers
-
Hi @RBenton,
Give this a try.
=IF([Review Frequency]@row = "annual", DATE(YEAR([Published Date]@row) + 1, MONTH([Published Date]@row), DAY([Published Date]@row)), DATE(YEAR([Published Date]@row) + 2, MONTH([Published Date]@row), DAY([Published Date]@row)))
Hope this helps,
Dave
-
Thank you for your response. This formula returned an error.
-
What error exactly are you getting?
This should also work:
=DATE(YEAR([Published Date]@row) + IF([Review Frequency]@row = "Annual", 1, 2), MONTH([Published Date]@row), DAY([Published Date]@row))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.5K Get Help
- 448 Global Discussions
- 145 Industry Talk
- 481 Announcements
- 5.1K Ideas & Feature Requests
- 85 Brandfolder
- 152 Just for fun
- 73 Community Job Board
- 492 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 304 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!