By: Lutfor Rahman Shimanto

In reply to John.

Hello John

Thanks for your compliments! Your appreciation means a lot to us.

I have reviewed your requirements. To do so, first, you must create helper cells to store the dates associated with each checkbox when marked TRUE. Next, use the MAX function to find the latest date from these helper cells. Finally, the latest date calculates the new expiration date in A27. Please check the following:

Follow these steps:

Create helper cells to store the dates when checkboxes are TRUE.

Use a formula to capture these dates:
B38: =IF($B$38=TRUE, DATE(2024, 2, 2), "")
B42: =IF($B$42=TRUE, DATE(2024, 2, 10), "")
//Continue for other checkboxes.

Use the MAX function to find the latest date from these helper cells. In cell B26, apply: =MAX($C$38,$C$42)

Calculate the new expiry date in A27: =IF($B$26<>0, $B$26 + 180, DATE(2024, 7, 13))

Hopefully, these ideas will help you reach your goal. I have attached the solution workbook as well. Good luck.

DOWNLOAD SOLUTION WORKBOOK

Regards
Lutfor Rahman Shimanto
ExcelDemy