Formula Errors

Excel Formula to Return the Previous Friday for Weekend Dates

Maira MehtabMaira Mehtab Nov 14, 2026 870 views

Question details

Adjust calculated weekend dates to the immediately preceding Friday while leaving weekday dates unchanged.

Return the Previous Friday for Weekend Dates in Excel
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.
Before you start

Identify the cell or existing formula that returns the date. Make sure it produces an Excel date value rather than a text string.

Solution 1Recommended

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.

1
Reference the calculated date

If the calculated date is in B2, enter =WORKDAY(B2+1,-1) in another cell.

2
Wrap an existing formula

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).

3
Format and check the result

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.

Wrap the Date Formula in WORKDAY
Excluding holidays: To exclude holidays as well, add a holiday range as the third argument, for example =WORKDAY(B2+1,-1,$H$2:$H$10). If Friday is a listed holiday, the result can move back before Friday.
Work with dates in WPS Spreadsheets

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. 1. Open your spreadsheet: Open WPS Spreadsheets and use File > Open to select your workbook.
  2. 2. Enter the formula: In an empty cell, enter =WORKDAY(B2+1,-1), replacing B2 with the cell containing your calculated date.
  3. 3. Apply a date format: Select the result cell and choose a date format from the Home tab's number-format options.
  4. 4. Apply the formula to other rows: Drag the result cell's fill handle down to adjust dates in the remaining rows.
Move Saturday and Sunday dates back to Friday with a formulaOptionally exclude a list of holidaysOpen and edit Microsoft Excel XLSX filesUse a familiar spreadsheet interface
microsoft office alternative - wps office

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.