Forum Discussion
Calculate "The Wednesday" two weeks before due date
- Mar 21, 2025
The WEEKDAY function can be used for this. Its first argument must be a date value, of course. It returns a number from 1 to 7 indicating the day of the week. It also allows for a second argument (useful in this calculation) where you can specify which day of the week is assigned 1 (the default is Sunday).
So the formula can be:
=A2 - WEEKDAY(A2,14) - 7where A2 is a due date. See the attached workbook for more info and sample calculations.
The WEEKDAY function can be used for this. Its first argument must be a date value, of course. It returns a number from 1 to 7 indicating the day of the week. It also allows for a second argument (useful in this calculation) where you can specify which day of the week is assigned 1 (the default is Sunday).
So the formula can be:
=A2 - WEEKDAY(A2,14) - 7where A2 is a due date. See the attached workbook for more info and sample calculations.