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!!!! π
Help Article Resources
Categories
Check out the Formula Handbook template!