Get workdays between dates

Get workdays between dates
Example

Related Functions

=NETWORKDAYS(start_date,end_date,holidays)

To calculate the number of workdays between two dates, you can use the NETWORKDAYS function. NETWORKDAYS automatically excludes weekends, and it can optionally exclude a custom list of holidays as well.

For example, if you have the date November 23, 2018 (a Friday) in cell B6, and November 27, 2018 (a Tuesday) in cell C6, this formula will return 3:

=NETWORKDAYS(B6,C6)

Note that NETWORKDAYS includes both the start and end dates in the calculation if they are workdays.

NETWORKDAYS can also exclude a custom list of holidays. For example, if you have holiday dates in B10:B11, you can tell NETWORKDAYS not to include these dates as workdays by adding that range as a third argument in the formula:

=NETWORKDAYS(B6,C6,B10:B11)

Custom weekends

If you need take into account custom weekends (i.e. weekends are Saturday only, Sunday and Monday, etc.) you’ll need to switch to the more robust NETWORKDAYS.INTL function, which allows you to set what days of the week are considered are considered weekends, by supplying a weekend argument in the form of a numeric code. See NETWORKDAYS.INTL for more information.

Need a date?

If you need a date n workdays in the past or future, see the WORKDAY function.

0 votes. 0 / 5

Excel - Excel Functions - Excel Formulas
Logo