1. Home
  2. Functions
  3. Date and time
  4. NETWORKDAYS.INTL

NETWORKDAYS.INTL function

Counts the working days between two dates, both included, with a choice of weekend days and holidays.

Syntax

=NETWORKDAYS.INTL(start_date, end_date, [weekend], [holidays])

Arguments

ArgumentRequiredDescription
start_dateRequiredThe first date
end_dateRequiredThe last date
weekendOptionalA weekend number (1 to 7, 11 to 17) or a 7 character mask like "0000011" starting on Monday
holidaysOptionalOptional dates to leave out

How to use NETWORKDAYS.INTL

NETWORKDAYS.INTL takes 2 required arguments and 2 optional arguments. Type =NETWORKDAYS.INTL( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.

Examples

Each result below was calculated by the SheetsBat formula engine.

=NETWORKDAYS.INTL(DATE(2006,1,1), DATE(2006,1,31))Result 22
=NETWORKDAYS.INTL(DATE(2006,1,1), DATE(2006,2,1), 7, A1:A2)Result 22
Data in the sheet
A
138719
238733
=NETWORKDAYS.INTL(DATE(2006,2,28), DATE(2006,1,31))Result -21

Every formula, right in your browser

SheetsBat calculates 536 functions, with charts, pivot tables and live collaboration. Free to start.