+ Reply to Thread
Results 1 to 5 of 5

Number of Weeks between 2 Dates

Hybrid View

  1. #1
    Registered User
    Join Date
    10-02-2007
    Location
    Buckinghamshire, England
    MS-Off Ver
    2013
    Posts
    61

    Number of Weeks between 2 Dates

    Hi,

    I want to be able to display the number of working weeks between 2 dates that also deduct the UK Bank holidays. How would I go about creating this formula?

    I presume I would use the NETWORKDAYS formula and divide it by 5, but I cannot remember how to get it to deduct the bank holidays.

    Thanks in Advance

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    but I cannot remember how to get it to deduct the bank holidays.
    You need to create a list on your sheet somewhere of the bank holidays and then reference that list in your Networkdays() formula... it would be the 3rd argument in the list.

    e.g. =Networkdays(start_date,end_date,holidays)
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    10-02-2007
    Location
    Buckinghamshire, England
    MS-Off Ver
    2013
    Posts
    61
    Ah yes, I remember now thanks a lot So just do that formula you've just posted and then divide by 5 to get the working weeks?

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    I think so.... do some manual tests to make sure....

  5. #5
    Registered User
    Join Date
    10-02-2007
    Location
    Buckinghamshire, England
    MS-Off Ver
    2013
    Posts
    61
    Thanks for the help, after some testing it does seem to work correctly

    =NETWORKDAYS(Start_Date,End_DATE,Holidays)/5

+ 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