+ Reply to Thread
Results 1 to 4 of 4

Difference in days including weekends but excluding Holiday Range

  1. #1
    Registered User
    Join Date
    03-30-2008
    Posts
    2

    Difference in days including weekends but excluding Holiday Range

    Hello,

    I have scoured all over but am unable to get a reasonable solution. Hpw do I find the number of days between two dates including weekends but excluding a range of holidays.

    Networkingdays works but I have to get rid of the weekends in it which I dont want to. I would appreciate a simple non VBA solution as I am not very coding savvy.

    Thanks for reading!!

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    If you have start date in A2 and end date in B2, with holiday dates in H1:H10,

    =B2-A2-SUMPRODUCT(1-ISNA(MATCH(ROW(INDIRECT(A2&":"&B2)),H1:H10,0)))+1

    Like NETWORKDAYS the count will include both start and end dates

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464
    Quote Originally Posted by Doughnut
    Hello,

    I have scoured all over but am unable to get a reasonable solution. Hpw do I find the number of days between two dates including weekends but excluding a range of holidays.

    Networkingdays works but I have to get rid of the weekends in it which I dont want to. I would appreciate a simple non VBA solution as I am not very coding savvy.

    Thanks for reading!!
    Hi,

    1. Name your start date cell 'Start' and the end date cell 'End'.
    2. Create a table of holiday dates in say A5:Ann and in the cells to the right of the dates in B5 enter the formula and copy down:
    Please Login or Register  to view this content.
    3. Put a total formula in B4 and name it HolTotal
    Please Login or Register  to view this content.
    Now your net days excluding holidays is the formula:
    Please Login or Register  to view this content.
    HTH

  4. #4
    Registered User
    Join Date
    03-30-2008
    Posts
    2
    Thanks, works perfectly!! Your help is appreciated!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1