Excel’s NETWORKDAYS function (available in Excel 2010 and later editions) returns the number of working days in a specified period of time.