Hello everyone,
I have a column formula that creates a date in the future based on [Start Date] while simultaneously avoiding child rows:
=IF(AND(Hierarchy@row = 0), IF(MONTH([Start Date]@row) >3, DATE(YEAR([Start Date]@row) +1, MONTH([Start Date]@row) -3, DAY([Start Date]@row)), DATE(YEAR([Start Date]@row), 12 + MONTH([Start Date]@row) -3, DAY([Start Date]@row))), IF(Hierarchy@row > 0, "", [StartDate]@row))
The purpose is to trigger an action due date 3 months before the [End Date]. Now the majority of these [Start Date] rows are for a single year. However, for those rows that have an [End Date] greater than one year, I would like to create a new column that would generate this same formula, but for that 2nd (or more) following year(s). The formula works when the portion "DATE(YEAR([Start Date]@row) +1," is replaced with "+2", but not for those [Start Date] rows that are Jan, Feb, Mar. Then the result is the exact date as the original formula.
Hoping to get that 2nd date to display as 10/16/25, and then a 3rd for 10/16/26. What is the method to get this formula to generate for 2 years, 3 years, 4 years, etc., from that [Start Date] when the Months are Jan, Feb, and Mar.?
Thank you in advance.
Patrice