Exceljet

Quick, clean, and to the point

Get project end date

Excel formula: Get project end date
Generic formula 
=WORKDAY(start,days,holidays)
Explanation 

To calculate a project end date based on a start date and duration, you can use the WORKDAY function. In the example shown, the formula in E5 is:

=WORKDAY(C5,D5,holidays)

where "holidays" is the named range G5:G9.

How this formula works

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.  

Different workdays

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:

=WORKDAY.INTL(C5,D5,11,holidays)

There are other ways to configure WORKDAY.INTL.  This page provides details.

Author 
Dave Bruns

Excel Formula Training

Formulas are the key to getting things done in Excel. In this accelerated training, you'll learn how to use formulas to manipulate text, work with dates and times, lookup values with VLOOKUP and INDEX & MATCH, count and sum with criteria, dynamically rank values, and create dynamic ranges. You'll also learn how to troubleshoot, trace errors, and fix problems. Instant access. See details here.