G
Graham Mandeno
You could use the Choose function to decide how many days to subtract:
Date()-Choose(WeekDay(Date()), 2, 3, 1, 1, 1, 1, 1)
In other words, subtract two days if today is Sunday, three for Monday,
otherwise one.
Date()-Choose(WeekDay(Date()), 2, 3, 1, 1, 1, 1, 1)
In other words, subtract two days if today is Sunday, three for Monday,
otherwise one.