I have a formula that will give me a date. However, when the date is < then today, I want to add lets say 80 days or reference another cell. My formula keeps giving me an error and I tried chat GPT, but no dice. Any help would be appreciated 💖🥹 This is my base formula to give me the initial date:
This formula is located in the Auto Renewal End Date (H)
=IF(OR(NOT(ISDATE([Contract End Date]@row )), NOT(ISNUMBER([Contract: Auto Renewal Period]@row ))), "", IF([Contract End Date]@row < TODAY(), DATE(YEAR(TODAY()), MONTH([Contract End Date]@row ), DAY([Contract End Date]@row )) + [Contract: Auto Renewal Period]@row * IF(TODAY() > DATE(YEAR(TODAY()), MONTH([Contract End Date]@row ), DAY([Contract End Date]@row )), 1, 0), DATE(YEAR([Contract End Date]@row ), MONTH([Contract End Date]@row ), DAY([Contract End Date]@row )) + [Contract: Auto Renewal Period]@row ))
I want to add to the formula if the date from the formula above , Auto Renewal End date (H), < today then + Contract: Auto Renewal Period