How to Backdate Excel Tasks Excluding Weekends and Holidays
Question details
The user needs to calculate previous task dates by working backward from a final deadline, ensuring weekends and specific holidays are not counted in the calculation.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Project management or scheduling where task start or intermediate dates must be mathematically backdated from a fixed final deadline.
- Observed behavior
- A formula is required to automate the backward calculation of working days, automatically skipping non-working days like weekends and user-defined holidays.
Ensure you have a specific cell containing your final deadline date, a list of required days to subtract for each task, and an optional range of cells containing your custom holiday dates.
Calculate Backdated Tasks Using the WORKDAY.INTL Function
This is the most flexible method, allowing you to subtract days while skipping standard weekends, custom weekends, and a specific list of holidays.
The WORKDAY.INTL function is highly recommended for scheduling because it offers complete control over what days are considered weekends. By passing a negative number as the days argument, you can easily calculate past dates.
Place your final end date in a cell (e.g., C12), the required number of days to subtract in another cell (e.g., B11), and list your holiday dates in a separate column. Name this holiday range 'Holidays'.
Select the cell where you want the backdated result (e.g., C11) and input the formula: =WORKDAY.INTL($C$12, -B11, , Holidays).
Press Enter to calculate the date. Click on the cell, grab the fill handle at the bottom right corner, and drag it upward or downward to copy the formula for the remaining tasks.

Use the Standard WORKDAY Function for Basic Weekends
If your work schedule strictly follows standard Saturday-Sunday weekends and you don't need custom weekend parameters, the basic WORKDAY function is a simpler alternative.
Easily Manage Project Schedules with WPS Spreadsheet
WPS Spreadsheet fully supports advanced date and time functions, including WORKDAY and WORKDAY.INTL. You can seamlessly calculate project timelines, backdate tasks, and manage holiday schedules just as you would in Microsoft Excel.
- 1. Open WPS Spreadsheet: Launch WPS Office and create a new spreadsheet or open your existing project schedule file.
- 2. Input your timeline data: Set up your deadline dates, task durations, and holiday lists in the worksheet.
- 3. Apply the WORKDAY function: Use =WORKDAY.INTL() exactly as you would in Excel to calculate your backdated task deadlines.

Frequently Asked Questions
Why is my WORKDAY.INTL formula returning an error?
Common errors (#VALUE!) occur if the date format is not recognized by the software, or if the 'Holidays' named range contains text instead of valid date values. Ensure all referenced cells are correctly formatted as Dates.
How do I exclude different days of the week, like Sunday and Monday?
You can change the third argument in the WORKDAY.INTL function. For example, using a value of 2 sets Sunday and Monday as the weekend. Alternatively, use a 7-character string like '0000011' where 1 represents a non-working day.
Can I calculate forward dates instead of backdating?
Yes. To calculate future dates, simply use a positive number for the days argument instead of a negative one (e.g., =WORKDAY.INTL(C12, B11, , Holidays)).
What happens if I omit the holidays parameter?
If the holidays parameter is left out of the formula, the function will only skip the specified weekend days and will treat all public holidays as regular working days.




