Excel Formula to Return the Previous Monday or Same-Week Friday
Question details
The user needs an Excel formula to adjust daily dates so that Tuesdays, Wednesdays, and Thursdays return the previous Monday, while Mondays and Fridays remain unchanged.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Normalizing a list of arbitrary dates to align with specific business days (Monday or Friday) for reporting or payroll processing.
- Observed behavior
- When given a date like July 13, 2022 (Wednesday), the expected goal state is for the formula to automatically calculate and output July 11, 2022 (Monday).
Ensure that the cells where you are entering your formulas are formatted as 'Date' rather than 'General', otherwise Excel will display the result as a 5-digit serial number instead of a readable date.
Use a Combination of CHOOSE and WEEKDAY Functions
This is the most readable method. It uses the WEEKDAY function to identify the day of the week and the CHOOSE function to subtract the appropriate number of days.
The WEEKDAY function returns a number from 1 (Sunday) to 7 (Saturday). The CHOOSE function then looks at that number and selects the corresponding day offset from a list you provide.
For example, if the date is Wednesday (day 4), the CHOOSE function picks the 4th offset in the sequence (-2), moving the date back to Monday.
Click on the empty cell where you want the adjusted date to appear.
Type the formula =A1+CHOOSE(WEEKDAY(A1),1,0,-1,-2,-3,0,-1) into the formula bar. Replace 'A1' with the cell reference containing your original date.
Press Enter to calculate the result. If the cell displays a standard number, right-click the cell, select 'Format Cells', and choose 'Date'.

Use Mathematical Logic with WEEKDAY
A more compact alternative that uses mathematical operators and boolean logic to calculate the date offset without using the CHOOSE function.
Calculate Custom Dates Easily in WPS Office
WPS Spreadsheet fully supports Excel's advanced date and time functions, including WEEKDAY, CHOOSE, and WORKDAY. You can seamlessly manage complex business logic and date tracking without any formula modification.
- 1. Open WPS Spreadsheet: Launch WPS Office and create a new Spreadsheet or open your existing workbook.
- 2. Input the date formula: Click the cell next to your date and enter =A1+CHOOSE(WEEKDAY(A1),1,0,-1,-2,-3,0,-1).
- 3. Format and drag: Use the Home tab to format the cell as a Date, then double-click the fill handle to apply the calculation to all rows.

Frequently Asked Questions
How can I adjust this formula to handle public holidays?
To handle holidays, you can combine your formula with the WORKDAY function or use an IF statement pointing to a custom range of holiday dates. For example, check if the calculated date exists in your holiday list; if true, subtract an additional 1 or 3 days depending on the day of the week.
Why does my date formula return a random number like 44754?
Spreadsheet software stores dates as sequential serial numbers for calculation purposes. To fix this, simply select the cell, right-click, choose 'Format Cells', and change the number format from 'General' to 'Date'.
How does the CHOOSE function work in this formula?
The CHOOSE function uses an index number to select a value from a list. Here, WEEKDAY provides an index number (1 for Sunday, 2 for Monday, etc.). If WEEKDAY returns 4 (Wednesday), CHOOSE picks the 4th item in the list (-2). The formula then adds -2 to Wednesday, effectively subtracting two days to return Monday.




