Dear fellow airtable wizards,
Today my quest has put me up to a challenge I hope you guys can help me with.
Short backstory: We offer courses which people can subscribe to (their record enters the base using forms) The first course starts the 3rd of January. Whenever they register we send them an email (using automations). In this email we confirm that the first course is on the 3rd of January.
I came up with the following formula:
IF(IS_BEFORE({Created time},{Start date}), DATETIME_FORMAT({Start date},‘DD MMMM’))
Now comes the tricky part… If a person registers a day after the 3rd of January, I want my formula to let them know their first course starts a week later (the 10th of January). If they register after the 10th, they start on the 17th… and so on.
I’m looking for a formula that knows how far apart the {Created time} and the {Start date} is, so it can add 7 (or 14 or 21…etc.) days to the {Start date}.
I know there’s an easy way of doing this by simply making a formula that tells me the date of the upcoming monday… But I need the starting date for my administration later on. That’s why it shouldn’t update itself every week.
Thank you guys in advance!
Gr. Max
PS: First one to answer gets a bonus question : I also want to make exceptions during holidays… So I’m adding a new field: {Holiday date} If the outcome of the original formula is {Holiday date} I want it to add another 7 days to the {Start date}. I don’t know if this can be added to the original formula. If not, I don’t mind this being a separate formula.