Function · Date and time

Excel NETWORKDAYS.INTL function

The Excel NETWORKDAYS.INTL function counts working days with a weekend you define. From January 5, 2026 through January 30, 2026, with Friday and Saturday off and MLK Day skipped, the count is 18.

Excel 2010 and later, including Microsoft 365 and Excel for the web. Also in Google Sheets.

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

NETWORKDAYS.INTL
=NETWORKDAYS.INTL(DATE(2026,1,5),DATE(2026,1,30),"0000110",DATE(2026,1,19))

Arguments

NameRequiredWhat to pass
start_dateRequiredThe first date. It counts when it is a working day.
end_dateRequiredThe last date. It counts when it is a working day.
weekendOptionalA 7-character string of 0 and 1, Monday through Sunday. 1 means that day is off. "0000110" is Friday and Saturday off. "0000011" is the ordinary Saturday and Sunday. A number from 1 to 7, or 11 to 17, is the older weekend code.
holidaysOptionalDates to skip besides the weekend. Excel does not supply US holidays.

Examples

A Friday-Saturday weekend, plus MLK Day, in the January 2026 span

=NETWORKDAYS.INTL(DATE(2026,1,5),DATE(2026,1,30),"0000110",DATE(2026,1,19))

Result 18

=NETWORKDAYS.INTL(B1,B2,B3,B4)B5
January 2026
AB
1Start1/5/2026
2End1/30/2026
3Weekend0000110
4Holiday1/19/2026
5Workdays18
A picture of the sheet, not a live calculator. The weekend string starts on Monday. The two 1s in 0000110 are Friday and Saturday.

NETWORKDAYS.INTL is NETWORKDAYS with a weekend you choose. From Monday, January 5, 2026 through Friday, January 30, 2026, skipping Martin Luther King Jr. Day, a Saturday-Sunday weekend has 19 working days. Close the shop on Friday and Saturday instead, with the string 0000110, and the count is 18. The string is Monday through Sunday. A 1 is a day off.

Both ends count when they are workdays, same as NETWORKDAYS. The holiday list is still yours. Excel does not know the federal calendar. Excel 2007 has NETWORKDAYS and does not have this function. The weekend argument sits before the holidays, so a holiday range passed in the third position is read as a weekend code and the count goes wrong.