Counting Days Between Two Dates With Weekends, Without Holidays

I am looking for a way to get a count of days between a start date and end date, but I want to include weekends and exclude holidays. Is there a function or combo of functions I could use?
Best Answer
-
I would suggest creating a list of all holiday dates in a separate sheet and then referencing that like so:
=[End Date]@row - [Start Date]@row - COUNTIFS({Holiday Sheet Date Column}, AND(@cell >= [Start Date]@row, @cell <= [End Date]@row))
Answers
-
Hello @cthrasher97141,
Just use NETWORKDAY or NETWORKDAYS and make sure your project settings have no holidays included.
School of Sheets (Smartsheet Partner)
If my answer helped please accept and react w/π‘Insightful, β¬οΈ Vote Up, β€οΈAwesome!
-
Do you mean you want to include weekends in the count and exclude holidays from the count?
-
Hi Paul!
Yes you are correct.
-
I would suggest creating a list of all holiday dates in a separate sheet and then referencing that like so:
=[End Date]@row - [Start Date]@row - COUNTIFS({Holiday Sheet Date Column}, AND(@cell >= [Start Date]@row, @cell <= [End Date]@row))
-
Thank you so much Paul!
Help Article Resources
Categories
Check out the Formula Handbook template!