NETWORKDAYS in Excel: what it does and how to use it
NETWORKDAYS counts the working days between two dates, leaving out Saturdays and Sundays, and any holidays you hand it.
Syntax
NETWORKDAYS(start_date, end_date, [holidays])
When to use it
Delivery estimates, turnaround times, notice periods, anything measured in working days rather than plain days.
What trips people up
Both the start and end date are counted, so a Monday to Monday span comes back as six, not five. Holidays only drop out if you give the function a range that lists them.
Set by your computer's language, not by the file. A frequent cause of a correct-looking formula being rejected.
Excel version
XLOOKUP, IFS, TEXTBEFORE and TEXTJOIN need Microsoft 365 or 2021; older versions return #NAME? instead. Choosing the older one switches every walkthrough to a formula that works there.