Adding months (stipulated in one cell) to a date (stipulated in another cell)

I have used this formula:
=DATE(IF(MOD(VALUE(MONTH([Date Approved]@row)) + MTE@row, 12) = 0, -1, 0) + YEAR([Date Approved]@row) + (MONTH([Date Approved]@row) + MTE@row - MOD(MONTH([Date Approved]@row) + MTE@row, 12)) / 12, IF(MOD(VALUE(MONTH([Date Approved]@row) + MTE@row), 12) = 0, 12, MOD(MONTH([Date Approved]@row) + MTE@row, 12)), DAY([Date Approved]@row))
But I get #INVALID COLUMN VALUE
The Date Approved is formatted as a Date Type but the Months cannot be a date value
Best Answer
-
You would take your existing formula and just subtract 1 from it.
=existing_formula - 1
Answers
-
-
No it wasn't!!! Thanks so much. Do you know if I could deduct 1 day from the answer. For instance I am getting the same day of the month but if it is valid for 24 months then it would be one day earlier - see below where the expiry should be 12 July 2025.
-
You would take your existing formula and just subtract 1 from it.
=existing_formula - 1
-
Done! Thanks a million!
Help Article Resources
Categories
Check out the Formula Handbook template!