Get project end date
This formula uses the WORKDAY function to calculate an end date. WORKDAY can calculate dates in the future or past, and automatically excludes weekends and holidays (if provided).
In the example shown, we have the project start date in column C, and days in column D. Days represents the duration of he project in work days. In column E, the WORKDAY function is used to calculate an end date. Holidays are provided as the named range "holidays", G5:G9.
With these inputs, WORKDAY add days to the start date, taking into account weekends and holidays, and returns January 7, 2019 as the calculated end date. Holidays are optional. If holidays are not provided, the same formula returns a end date of January 2.
Note the WORKDAY function does not count the start date as a work day.
The WORKDAY function has a hardcoded notion of weekends, always treating Saturday and Sunday as non-working days. If your schedule has different requirements, you can substitute the WORKDAY.INTL function for WORKDAY. For example, if workdays are Monday through Saturday, you can specify this by providing 11 as the third argument in WORKDAY.INTL like this:
There are other ways to configure WORKDAY.INTL. This page provides details.