Excel Formula to Return the Previous Friday for Weekend Dates
Question details
Adjust calculated weekend dates to the immediately preceding Friday while leaving weekday dates unchanged.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Formulas calculate the first and third days of upcoming months, and weekend results need to be moved back to Friday.
- Observed behavior
- Some calculated dates fall on Saturday or Sunday instead of the preceding Friday.
Identify the cell or existing formula that returns the date. Make sure it produces an Excel date value rather than a text string.
Wrap the Date Formula in WORKDAY
Use WORKDAY to move weekend dates back to Friday while retaining weekday dates.
Adding one day and then moving back one working day returns the original date if it is a weekday, or the preceding Friday if it is a Saturday or Sunday.
If the calculated date is in B2, enter =WORKDAY(B2+1,-1) in another cell.
To adjust the date within its original formula, replace the existing formula with =WORKDAY((your_date_formula)+1,-1), inserting your date formula without its opening equals sign. For example, use =WORKDAY(DATE(2026,8,1)+1,-1).
Select the result cell and choose a date format from Home > Number Format. Check a Saturday, a Sunday, and a weekday to confirm the results.

Adjust Weekend Dates with WPS Spreadsheets
Use the WORKDAY function in WPS Spreadsheets to return the preceding Friday for weekend dates and keep weekday dates unchanged.
- 1. Open your spreadsheet: Open WPS Spreadsheets and use File > Open to select your workbook.
- 2. Enter the formula: In an empty cell, enter =WORKDAY(B2+1,-1), replacing B2 with the cell containing your calculated date.
- 3. Apply a date format: Select the result cell and choose a date format from the Home tab's number-format options.
- 4. Apply the formula to other rows: Drag the result cell's fill handle down to adjust dates in the remaining rows.

Frequently Asked Questions
Does the formula change dates that already fall on a weekday?
No. Without a holiday list, =WORKDAY(B2+1,-1) returns the original date when B2 is Monday through Friday.
How can I exclude holidays as well as weekends?
List holiday dates in a range such as H2:H10, then use =WORKDAY(B2+1,-1,$H$2:$H$10). A listed Friday holiday may cause the result to move back to an earlier working day.
Why does my result appear as a number instead of a date?
Excel stores dates as serial numbers. Select the result cell and choose a date format from Home > Number Format.
Can I use WORKDAY directly around my existing date formula?
Yes. Replace your existing formula with =WORKDAY((your_date_formula)+1,-1), inserting the original formula without its opening equals sign.




