A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Use the NETWORKDAYS function. This is part of the Analysis Tool Pack, so you need that add-in loaded. Go to the Tools menu, choose Add-Ins, and the "Analysis Tool Pack" in the list. The syntax of NETWORKDAYS is
=NETWORKDAYS(StartDate,EndDate,Holidays)
where StartDate is the first date and EndDate is the last date. Holidays is an optional range of dates that contains the holidays to skip. The result is the number of days (Monday - Friday only) less any dates in Holidays between the two dates.
Cordially, Chip Pearson Microsoft MVP, Excel Pearson Software Consulting, LLC www.cpearson.com
But didn't the OP say that they wanted to include weekends?
David Biddulph
David Biddulph