Reverse Date Calculation
Hi,
I have a formula which uses criteria from a drop-down (Program) and the date in another column (Drop) to populate a secondary date field (Brief) automatically. The issue is when Drop is a different year than the current, I get INVALID DATA ENTRY errors. Here is the formula and screenshots:
=IF(Program@row = "Cultivation", DATE(YEAR(Drop@row) - INT((12 - MONTH(Drop@row) + 6) / 12), MOD(MONTH(Drop@row) - 6 - 1, 12) + 1, DAY(Drop@row)), IF(Program@row = "Acquisition", DATE(YEAR(Drop@row) - INT((12 - MONTH(Drop@row) + 7) / 12), MOD(MONTH(Drop@row) - 7 - 1, 12) + 1, DAY(Drop@row)), IF(OR(Program@row = "Engagement", Program@row = "Stewardship"), DATE(YEAR(Drop@row) - INT((12 - MONTH(Drop@row) + 3.5) / 12), MOD(MONTH(Drop@row) - 3.5 - 1, 12) + 1, DAY(Drop@row)), "")))
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
Check out the Formula Handbook template!