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.
Syntax =NETWORKDAYS.INTL(start_date, end_date, [weekend], [holidays])
=NETWORKDAYS.INTL(DATE(2026,1,5),DATE(2026,1,30),"0000110",DATE(2026,1,19))Arguments
| Name | Required | What to pass |
|---|---|---|
| start_date | Required | The first date. It counts when it is a working day. |
| end_date | Required | The last date. It counts when it is a working day. |
| weekend | Optional | A 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. |
| holidays | Optional | Dates 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
| A | B | |
|---|---|---|
| 1 | Start | 1/5/2026 |
| 2 | End | 1/30/2026 |
| 3 | Weekend | 0000110 |
| 4 | Holiday | 1/19/2026 |
| 5 | Workdays | 18 |
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.