How to Calculate Monday and Wednesday Deadlines Before a Sale in Excel
Question details
The user needs to calculate the Monday and Wednesday before a given sale date, as well as the first business day after the sale, while optionally excluding public holidays.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Setting up automated deadlines for pre-sale and post-sale events in a spreadsheet without scheduling tasks on weekends or holidays.
- Observed behavior
- Requires a specialized formula combination that targets specific days of the week prior to a reference date and automatically shifts to the nearest business day if the calculated day falls on a holiday.
Prepare a list of your local public holiday dates in an empty column and define it as a named range called 'Holidays' to ensure accurate business day calculations.
Use WORKDAY and WEEKDAY Functions to Calculate Deadlines
Combine the WORKDAY and WEEKDAY functions to offset days backward to a specific weekday (Monday or Wednesday) and dynamically skip non-working days or holidays.
The WORKDAY function calculates business days, automatically excluding weekends and optional holidays. By nesting the WEEKDAY function inside it with specific return types (like 12 for Monday and 14 for Wednesday offsets), you can force Excel to step back to the exact previous weekday you need.
Type your public holiday dates in a column. Select the cells containing the dates, click into the Name Box (to the left of the formula bar), type 'Holidays', and press Enter.
Assuming your sale date is located in cell A2, select the cell where you want the Monday deadline to appear and enter the formula: =WORKDAY(A2-WEEKDAY(A2,12)+1,-1,Holidays). Press Enter.
Select the cell for the Wednesday deadline and enter the formula: =WORKDAY(A2-WEEKDAY(A2,14)+1,-1,Holidays). Press Enter.
To find the first available business day immediately following the sale date, select a cell and enter the formula: =WORKDAY(A2,1,Holidays).

Calculate Dynamic Deadlines Easily with WPS Spreadsheet
WPS Spreadsheet fully supports advanced date and time functions, allowing you to calculate complex pre-sale deadlines, offset specific weekdays, and manage schedules seamlessly.
- 1. Input Your Data: Launch WPS Spreadsheet, enter your sale dates in column A, and list your holidays in an empty column.
- 2. Define the Holiday Range: Highlight your holiday dates, click the Name Box, type 'Holidays', and hit Enter.
- 3. Apply the Formula: Use =WORKDAY(A2-WEEKDAY(A2,12)+1,-1,Holidays) in your target cell to instantly generate your dynamic Monday deadline.

Frequently Asked Questions
What do the return types '12' and '14' in the WEEKDAY function mean?
The second argument in the WEEKDAY function specifies how the days of the week are numbered. Using '12' sets Tuesday as day 1 (making Monday the 7th day), and '14' sets Thursday as day 1 (making Wednesday the 7th day). This helps the formula accurately calculate the offset needed to find the preceding Monday and Wednesday.
What happens to the deadline if the calculated Monday is a public holiday?
Because the WORKDAY function is set to step back by one workday (-1) from the offset date and references your 'Holidays' list, it will skip the holiday and return the immediately preceding business day. For a Monday holiday, this is usually the preceding Friday.
Why does my deadline formula return a strange 5-digit number?
Spreadsheet programs store dates as sequential serial numbers. If you see a 5-digit number (like 45450), the calculation is correct, but the cell formatting is wrong. Right-click the cell, select 'Format Cells', choose 'Date', and pick your preferred date format.




