Spread.NET 17 Formula Reference
Formula Functions / Functions M to Q / NETWORKDAYS.INTL
In This Topic
    In This Topic

    This function returns the total number of complete working days between the start and end dates.




    This function has these arguments:

    Argument Description
    startdate Date that is the starting date; a number (as in 37806.5), or a DateTime object, as in DATE(2003,7,4)
    enddate Date that is the ending date; a number (as in 37806.5), or a DateTime object, as in DATE(2003,7,4)
    weekend [Optional] A number or string that specifies when weekends occur. Weekend days are days of the week that are not included in the number of whole working days between startdate and enddate
    holidays [Optional] Range of dates to exclude from the calculation. Holidays can be a range of cells that contain the dates, or an array constant of the serial values that represent those dates

    The following table lists the weekend number values:

    Number Day
    1 or omitted Saturday, Sunday
    2 Sunday, Monday
    3 Monday, Tuesday
    4 Tuesday, Wednesday
    5 Wednesday, Thursday
    6 Thursday, Friday
    7 Friday, Saturday
    11 Sunday only
    12 Monday only
    13 Tuesday only
    14 Wednesday only
    15 Thursday only
    16 Friday only
    17 Saturday only


    Weekend string values are seven characters long and each character in the string represents a day of the week, starting with Monday. A non-workday is 1 and a workday is 0. Only characters 1 and 0 are allowed in the string. The string 1111111 always returns 0.

    Weekend days and holidays are not considered to be workdays.

    Data Types

    Accepts numeric, string, or DateTime object data. Returns numeric data.




    NETWORKDAYS.INTL(DATE(2014,9,1),DATE(2014,9,30), "0000111",{"2014/9/2","2014/9/3"}) gives the result 16

    Version Available

    This function is available in Spread for Windows Forms 11.0 or later.

    See Also