Prevent bookings 6 months or more away (in the editor, not the sheet)

Sheet refresh shouldn’t come into play because you already have the today+180 part calculated and accessible in the app for the compare. The rest of your if statement is in the app. Not the sheet.