A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
I misread your question. Sorry about that. To exclude only holiday dates, use the following array formula:
=B1-A1-SUM((G1:G10>=A1)*(G1:G10<=B1))
where A1 is the start date, B1 is the end date, and G1:G10 contains the holidays. Since this is an array formula, you must press CTRL SHIFT ENTER rather than just ENTER. If you do this properly, Excel will dislay the formula enclosed in curly braces { }. The formula will not work correctly if you do not use CTRL SHIFT ENTER.
See www.cpearson.com/Excel/ArrayFormulas.aspx for more information about array formulas.
Cordially, Chip Pearson Microsoft MVP, Excel Pearson Software Consulting, LLC www.cpearson.com