Advanced Excel for Data AnalystsLesson 20 of 49
Lesson 20 of 49

Working Days, SLA Calculations & Custom Holidays: NETWORKDAYS.INTL

Overview & Learning Objectives

Business turnaround times (SLAs) count only working business days—ignoring weekends and public holidays. NETWORKDAYS and NETWORKDAYS.INTL calculate working day durations and project target dates with precision.

  • Calculate turnaround times excluding weekends using NETWORKDAYS.
  • Configure custom weekend schedules (e.g. Sunday-only, Friday/Saturday) using NETWORKDAYS.INTL.
  • Incorporate public and company holiday exclusion lists.
  • Predict project completion dates using WORKDAY.INTL.

Industry Standard

Standard: ITIL incident management systems at Infosys and Wipro benchmark P1 ticket resolution times using working day SLA formulas.

Real-World Example: IT Service Desk & HR Working Day SLA Engine

At TechCare IT Helpdesk, client contracts specify a 5-working-day resolution SLA. If a ticket is logged on Thursday evening with Sunday-only weekend in Dubai, the completion target must be computed accurately.

Ticket IDLogged DateResolved DateStandard Working Days (M-F)Dubai Working Days (Sun-Thu)
TC-10108-Jan-2026 (Thu)15-Jan-2026 (Thu)=NETWORKDAYS(B2, C2, Holidays) -> 6=NETWORKDAYS.INTL(B2, C2, "0000110", Holidays) -> 6
TC-10216-Jan-2026 (Fri)19-Jan-2026 (Mon)2 days (Sat/Sun skipped)1 day (Fri/Sat skipped in Gulf)

Functions Covered in this Chapter

Here is the definition, exact syntax, parameter breakdown, and real-world business example for each function covered in this chapter:

Function 1

NETWORKDAYS Function

Definition: Returns the number of whole working days between a start date and an end date, automatically excluding Saturday and Sunday weekends and optional holidays.

Syntax:
=NETWORKDAYS(start_date, end_date, [holidays])
Parameters Breakdown:
  • start_date: Initial ticket or project date.
  • end_date: Resolution or closing date.
  • [holidays]: Optional cell range containing public holiday dates to exclude.
Real-World Example (Ticket Resolution Days):
Problem / Scenario: How many working days between Friday 09-Jan and Tuesday 13-Jan (no holidays)?
Formula: =NETWORKDAYS("2026-01-09", "2026-01-13")
Result: 3 working days (Fri, Mon, Tue)
Why it works: Saturday and Sunday are automatically excluded from the count.
Function 2

NETWORKDAYS.INTL Function

Definition: Calculates net working days with custom weekend parameters (e.g. Sunday-only, Friday-Saturday) and holiday lists.

Syntax:
=NETWORKDAYS.INTL(start_date, end_date, [weekend], [holidays])
Parameters Breakdown:
  • start_date: Starting date.
  • end_date: Ending date.
  • [weekend]: Weekend code: 1=Sat/Sun, 2=Sun/Mon, 7=Fri/Sat, 11=Sunday only, or a 7-character binary string like "0000001" (Sunday off).
  • [holidays]: Optional range of holiday dates.
Real-World Example (6-Day Work Week Calculation (India Retail)):
Problem / Scenario: Calculate working days for a retail store where only Sunday is a weekly off (code 11).
Formula: =NETWORKDAYS.INTL(A2, B2, 11, HolidayRange)
Result: Exact working days excluding Sundays and holidays
Why it works: Code 11 sets Sunday as the sole weekend day.
Function 3

WORKDAY Function

Definition: Returns the date before or after a specified number of workdays, automatically skipping Saturday and Sunday.

Syntax:
=WORKDAY(start_date, days, [holidays])
Parameters Breakdown:
  • start_date: Project start date.
  • days: Number of working days required.
  • [holidays]: Optional list of holiday dates.
Real-World Example (SLA Delivery Due Date):
Problem / Scenario: If a project starts on Wednesday 07-Jan-2026 and takes 5 working days, what is the delivery date?
Formula: =WORKDAY(DATE(2026, 1, 7), 5)
Result: 14-Jan-2026 (Wednesday)
Why it works: Skips Saturday and Sunday, landing on the following Wednesday.
Function 4

WORKDAY.INTL Function

Definition: Calculates the future or past completion date after N workdays using custom weekend rules and holidays.

Syntax:
=WORKDAY.INTL(start_date, days, [weekend], [holidays])
Parameters Breakdown:
  • start_date: Start date.
  • days: Working days needed.
  • [weekend]: Custom weekend code (e.g. 11 for Sunday only).
  • [holidays]: Optional holiday calendar range.
Real-World Example (Factory Order Completion):
Problem / Scenario: A manufacturing order starts on Monday and takes 10 working days on a 6-day work week (Sunday off).
Formula: =WORKDAY.INTL(A2, 10, 11, Holidays)
Result: Exact completion calendar date
Why it works: Only excludes Sundays and specified holidays.

Common Mistakes & Limitations

  • Both start date and end date are counted as working days if they are business days. For example, Monday to Monday is 6 working days, not 5.
  • Not locking the Holiday cell range with `$F$4`, causing holiday references to drift down when formulas are copied.

Keyboard Shortcuts

ActionWindowsMac
Insert Today's DateCtrl + ;Cmd + ;
Format as DateCtrl + Shift + #Ctrl + Shift + #

Pro Tips & Modern Alternatives

  • Use 7-character string syntax for custom shift rosters (e.g. `"0000011"` = Mon-Fri work, Sat-Sun off; `"1000001"` = Mon & Sun off).
  • Use Power Query date tables to flag working days at scale.