/
NETWORKDAYS

NETWORKDAYS

Syntax

NETWORKDAYS(<date>;<date>;[holidays])

Description

Using the ‘NETWORKDAYS’ function returns the number of whole working days between a start date and an end date. Working days exclude weekends and any dates that are identified as holidays.

‘NETWORKDAYS’:

  • returns null in case a date is missing

  • does not include weekend days

  • displays a negative amount if the end date is before the start date

  • subtracts all holidays when they are marked with the holiday variable in a single column

  • does not subtract holidays when they are on a weekend

Example Without Holidays

Given the following date:

  • August 23rd in 2021 to August 24th in 2021 = 2 days, thereof 0 days weekend, thereof 0 days holidays

Formula applied:

NETWORKDAYS(#Start_Date;#End_Date)

Start_Date

End_Date

NETWORKDAYS

Start_Date

End_Date

NETWORKDAYS

Aug 23, 2021

Aug 24, 2021

2

Example With Holidays

Given the following date:

  • August 23rd in 2021 to August 29th in 2021 = 7 days, thereof 2 days weekend, thereof 2 days holidays on Aug, 24th and Aug, 29th

Formula applied:

NETWORKDAYS(#Start_Date;#End_Date;[#Holiday_1,#Holiday_2])

Start_Date

End_Date

Holiday_1

Holiday_2

NETWORKDAYS

Start_Date

End_Date

Holiday_1

Holiday_2

NETWORKDAYS

Aug 23, 2021

Aug 29, 2021

Aug 24, 2021

Aug 29, 2021

4

 

Related content

WEEKDAY
More like this
WEEKDAY
More like this
WEEKDAY
More like this
STARTOFWEEK
STARTOFWEEK
More like this
STARTOFWEEK
STARTOFWEEK
More like this
EXPAND_DATE_RANGE
EXPAND_DATE_RANGE
More like this