NETWORKDAYS.INTL

counts business days with custom weekend · from excel · excel: verified match · sheets: verified match

signature

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

returns: number

argumentrequired
start_date required
end_date required
weekend optional
holidays optional

examples

formula and result, taken from the engine's own test suite — every result below is asserted in CI, not written by hand.

fx =NETWORKDAYS.INTL(DATE(2006,1,1), DATE(2006,1,31)) 22
ABCDEFGH
1 1022
2 4
fx =NETWORKDAYS.INTL(A1, B1, 7, H1:H10) -5

errors

error values observed from the engine — each with a call that produces it.

errorproduced by
#ERROR! =NETWORKDAYS.INTL(1,2,3,4,5)
#NUM! =NETWORKDAYS.INTL(1,10,99)

related

  • DATE creates date from year, month, day
  • DATEDIF calculates difference between two dates
  • DATEVALUE converts date text to serial number
  • DAY returns day of month from date
  • DAYS returns number of days between two dates
  • DAYS360 returns days between dates on 360-day year