Need formula to indicate fiscal year impact based on dates
I need a column that will determine what Fiscal Year the request applies to based on the date value in one of 2 fields: Created Date OR Date Submitted to Billing.
It is possible that the Created Date could be in the previous Fiscal Year, but the Date Submitted to Billing is in the following Fiscal Year - the column should then display the later of the 2. Help!
Ex:
Created Date of 2/25/23 - FY24
Date Submitted to Billing 6/10/24 - FY25
Would want the result of the formula to be FY25.
If Date Submitted to Billing > 4/1/23 OR Created date > 4/1/23, display “FY24”
If Date Submitted to Billing > 4/1/24 OR Created date > 4/1/24, display “FY25”
If Date Submitted to Billing > 4/1/25 OR Created date > 4/1/25, display “FY26”
Best Answer
-
Try this:
="FY" + RIGHT(MAX(IFERROR(YEAR([Date Submitted To Billing]@row) + IF(MONTH([Date Submitted To Billing]@row) >= 4, 1, 0), 0), YEAR([Created Date]@row) + IF(MONTH([Created Date]@row) >= 4, 1, 0)), 2)
Answers
-
Try this:
="FY" + RIGHT(MAX(IFERROR(YEAR([Date Submitted To Billing]@row) + IF(MONTH([Date Submitted To Billing]@row) >= 4, 1, 0), 0), YEAR([Created Date]@row) + IF(MONTH([Created Date]@row) >= 4, 1, 0)), 2)
-
BLESS YOU! This worked perfectly! THANK YOU!!!! 😁
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.1K Get Help
- 429 Global Discussions
- 149 Industry Talk
- 488 Announcements
- 5.2K Ideas & Feature Requests
- 85 Brandfolder
- 153 Just for fun
- 74 Community Job Board
- 499 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 305 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!