Hi
I am using the below formula to add 6 months to a date. It has been operating perfectly whilst the result falls into the same year as the original date. Now that the result falls into the next year, the formula returns #INVALID VALUE. Can anyone assist, please?
=IF([SUNSET EXTENSION]@row = "1st 6 Month", DATE(YEAR([ORIGINAL SUNSET DATE]@row), MONTH([ORIGINAL SUNSET DATE]@row) + 6, DAY([ORIGINAL SUNSET DATE]@row)), IF([SUNSET EXTENSION]@row = "2nd 6 Month", DATE(YEAR([ORIGINAL SUNSET DATE]@row) + 1, MONTH([ORIGINAL SUNSET DATE]@row), DAY([ORIGINAL SUNSET DATE]@row)), [ORIGINAL SUNSET DATE]@row))