In the example shown, the formula in C4 is: In this case, holidays are supplied as the named range holidays (E4:E8), so holidays are taken into account as well. Notice that Excel only cares about holiday dates, not holiday names.

Flexible weekends

WORKDAY defines a weekend as Saturday and Sunday. If you need more flexibility, use the WORKDAY.INTL function instead.

Dave Bruns

Hi - I’m Dave Bruns, and I run Exceljet with my wife, Lisa. Our goal is to help you work faster in Excel. We create short videos, and clear examples of formulas, functions, pivot tables, conditional formatting, and charts.