NETWORKDAYS.INTL function
Count workdays excluding weekends.
Date and time
Where can you use it?
Planning and operations teams. Use this group to work with dates and times in calendars, delivery schedules, shifts and period reporting.
Scenario in the workbook
Count weekdays using weekend code 1 for Saturday and Sunday.
A worked example from the workbook
| Row | A | B |
|---|---|---|
| 6 | Input | Comparison |
| 7 | 46023 | 46023 |
| 8 | 46023 | 46024 |
| 9 | 46023 | 46026 |
Record 1
=NETWORKDAYS.INTL(A7,B7,1)Expected result1
See the inputs and instructions for all 3 examplesCopyable formulas
English Excel · en-US
=NETWORKDAYS.INTL(DATE(2026,11,23),DATE(2026,11,29),1)Turkish Excel · tr-TR
=TAMİŞGÜNÜ.ULUSL(TARİH(2026;11;23);TARİH(2026;11;29);1)Example and expected result
Weekend code 1 excludes Saturday and Sunday. An optional holiday range excludes additional dates.
Expected result 5.
Worked examples
Count weekdays using weekend code 1 for Saturday and Sunday.
Open the English sheet. Inputs begin at A6. F7:F9 show the live results and G7:G9 show the original results for comparison.
| Row | A | B |
|---|---|---|
| 6 | Input | Comparison |
| 7 | 46023 | 46023 |
| 8 | 46023 | 46024 |
| 9 | 46023 | 46026 |
| Case | Formula | Expected result |
|---|---|---|
| Record 1 | =NETWORKDAYS.INTL(A7,B7,1) |
1 |
| Record 2 | =NETWORKDAYS.INTL(A8,B8,1) |
2 |
| Record 3 | =NETWORKDAYS.INTL(A9,B9,1) |
2 |