IF AND OR Formula

BonW
BonW ✭✭✭

Hello, I'm want to add 6 months to "C Date" if "In Freq" value is "Semi-Annual" and add 1 year to the "C Date" if "In Freq" value is "Annual". I got an error "#Incorrect Argument Set", below is my formula. Please can you help? Thank you.

=IF(OR(AND([IN Freq]@row = "Semi-Annual"), IFERROR(DATE(YEAR([C Date]@row), MONTH([C Date]@row) + 6, DAY([C Date]@row)), DATE(YEAR([C Date]@row) + 1, MONTH([C Date]@row) - 6, DAY([C Date]@row), OR([IN Freq]@row = "Annual"), IFERROR(DATE(YEAR([C Date]@row), DATE(YEAR([C Date]@row) + 1, MONTH([C Date]@row), DAY([C Date]@row))))))))

Best Answer

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!