Function Problems

How to Backdate Excel Tasks Excluding Weekends and Holidays

Huda QurayshiHuda Qurayshi Nov 10, 2026 869 views

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.

How to Backdate Excel Tasks Excluding Weekends and Holidays
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.
Before you start

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.

Solution 1Recommended

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.

1
Prepare your data

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

2
Enter the WORKDAY.INTL formula

Select the cell where you want the backdated result (e.g., C11) and input the formula: =WORKDAY.INTL($C$12, -B11, , Holidays).

3
Apply formula to other tasks

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.

Calculate Backdated Tasks Using the WORKDAY.INTL Function
Weekend Parameters: If you leave the third parameter blank as shown in the formula above, Excel automatically defaults to treating Saturday and Sunday as the weekend.
Manage Projects Efficiently

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. 1. Open WPS Spreadsheet: Launch WPS Office and create a new spreadsheet or open your existing project schedule file.
  2. 2. Input your timeline data: Set up your deadline dates, task durations, and holiday lists in the worksheet.
  3. 3. Apply the WORKDAY function: Use =WORKDAY.INTL() exactly as you would in Excel to calculate your backdated task deadlines.
100% compatibility with Microsoft Excel formulas (.xlsx files).Built-in date and time functions for effortless project scheduling.Free, lightweight, and fast-loading spreadsheet application.Cross-platform support for Windows, Mac, Linux, iOS, and Android.
microsoft office alternative - wps office

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.