I have three columns. One with a date 7/1/2027 in date format. One with a number representing the number of months I wish to subtract from the date column. Third column is a date column with the following equation:
=DATE(YEAR([Column4]@row) - INT((MONTH([Column4]@row) - VALUE(Factor1)) / 12), MOD(MONTH([Column4]@row) - VALUE(Factor1) - 1, 12) + 1, DAY([Column4]@row))
The equation was also asked in Smartsheet AI assistant can gave this same equation. However, it works fine as long as I don't subtract so many months I end up in the previous year. Subtract 1-6 works. Subtract 7 or more get the error. How can I correct the equation so that it always works.