We have a calibration sheet that has a column for MONTHS (FREQUENCY), a column for LAST CALIBRATION and a column for CALIBRATION EXPIRY which uses the following formula to display the calibration expiry date.
=IFERROR(DATE(YEAR([LAST CALIBRATION]@row) + ROUNDDOWN((MONTH([LAST CALIBRATION]@row) + [MONTHS (FREQUENCY)]@row) / 12, 0) + IF(IF(MOD(MONTH([LAST CALIBRATION]@row) + [MONTHS (FREQUENCY)]@row, 12) = 0, 12, MOD(MONTH([LAST CALIBRATION]@row) + [MONTHS (FREQUENCY)]@row, 12)) = 12, -1), IF(MOD(MONTH([LAST CALIBRATION]@row) + [MONTHS (FREQUENCY)]@row, 12) = 0, 12, MOD(MONTH([LAST
CALIBRATION]@row) + [MONTHS (FREQUENCY)]@row, 12)), DAY([LAST CALIBRATION]@row)), "N/A")
This formula is working well but i am now being asked if we can modify the formula to roll the date back to show the 1st of the month so that if a date from the current formula is 26-Aug-2022, it will display 1-Aug-2022 instead. This is so we can then group all items that are due for calibration in the month together.
Can anyone help with modifying the above formula to achieve this.
Regards