=DATE(YEAR(day13), MONTH(day13) - 1, DAY(day13))
I am using the above formula to subtract one month from today's date for a rolling 12 month report. However, the formula errors above 15/01/22 (I expected it to revert to 15/12/21) is there a way I can build the formula so it does not error and continues into the previous year?