logo
search
Function Problems

How to Calculate Monday and Wednesday Deadlines Before a Sale in Excel

WPS Content ManagerWPS Content Manager Sep 28, 2026 869 views

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.

How to Calculate Monday and Wednesday Deadlines Before a Sale in Excel
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.
Before you start

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.

Solution 1Recommended

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.

1
Create the Holidays Range

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.

2
Calculate the Monday Deadline

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.

3
Calculate the Wednesday Deadline

Select the cell for the Wednesday deadline and enter the formula: =WORKDAY(A2-WEEKDAY(A2,14)+1,-1,Holidays). Press Enter.

4
Calculate the Next Business Day After Sale

To find the first available business day immediately following the sale date, select a cell and enter the formula: =WORKDAY(A2,1,Holidays).

Use WORKDAY and WEEKDAY Functions to Calculate Deadlines
Holiday Adjustment Behavior: If the calculated Monday or Wednesday lands on a date listed in your 'Holidays' range, the WORKDAY function's -1 argument will automatically return the previous available business day (e.g., the preceding Friday).
Advanced Spreadsheet Management

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. 1. Input Your Data: Launch WPS Spreadsheet, enter your sale dates in column A, and list your holidays in an empty column.
  2. 2. Define the Holiday Range: Highlight your holiday dates, click the Name Box, type 'Holidays', and hit Enter.
  3. 3. Apply the Formula: Use =WORKDAY(A2-WEEKDAY(A2,12)+1,-1,Holidays) in your target cell to instantly generate your dynamic Monday deadline.
100% compatibility with Microsoft Excel formulas like WORKDAY and WEEKDAY.Free and lightweight alternative for professional data and schedule management.Clean, user-friendly interface that makes defining named ranges and applying complex formulas straightforward.
microsoft office alternative - wps office

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.