Returns the number of whole working days between two dates using custom weekend parameters.
This function works the same in Google Sheets as it does in Excel — same syntax and arguments.
NETWORKDAYS.INTL(start_date, end_date, [weekend], [holidays])This function calculates the total number of workdays between a start date and an end date, excluding weekends and specified holidays. Unlike the standard NETWORKDAYS function, it allows you to define which days of the week are considered weekends.
=NETWORKDAYS.INTL("2023-01-01", "2023-01-31", 11)Result: 26
Calculates workdays in January 2023 where only Sunday is a weekend (represented by 11).
The value 11 indicates that only Sunday is considered a weekend.