+ Reply to Thread
Results 1 to 6 of 6

Counting business days in excel excluding bank holidays

  1. #1
    Registered User
    Join Date
    01-08-2013
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    3

    Counting business days in excel excluding bank holidays

    Hi all.......Please help

    I took over a spreadsheet from a colleague and now am having trouble with it

    In 2012 the formula entered counted the number of working days (mon - fri) and excluded bank holidays

    =IF(B2="","",IF(B2="OPEN","",SUM(P2-H2)-SUMPRODUCT(--(HOLIDAY>H2),--(HOLIDAY<=P2)

    Since we have moved into 2013 it is now counts weekends

    If i could find what the HOLIDAY list was I cold change it I guess but cant find that even

    Any ideas

    Cheers in advance

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: Counting business days in excel excluding bank holidays

    Why not have a go at the NETWORKDAYS function ? ( you'll need the Analysis Toolpack installed in XL2003)

  3. #3
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Counting business days in excel excluding bank holidays

    Why not use NETWORKDAYS for this?

    =NETWORKDAYS(A1,A50,B1:B10)

    A1 = Start date
    A50 = End date
    B1:B10 = List of holidays
    HTH
    Regards, Jeff

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Counting business days in excel excluding bank holidays

    Quote Originally Posted by SuperHoops View Post
    In 2012 the formula entered counted the number of working days (mon - fri) and excluded bank holidays
    There's nothing in the formula that excludes weekend dates (unless you include all Saturdays and Sundays in the holiday list)
    Audere est facere

  5. #5
    Registered User
    Join Date
    01-08-2013
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Counting business days in excel excluding bank holidays

    Wow thanks guys, that NETWORKDAYS formula is so much easier

    The only problem I have now is that I don't want the the result to count the start date as the 1st day (i.e if start date is 03/01/2013 then I want the first counted day on 04/01/2013

    Sorry to be a pain....can I just add -1 at the end of the formula ??

    Thanks again for all your help

  6. #6
    Registered User
    Join Date
    01-08-2013
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Counting business days in excel excluding bank holidays

    Perfect. Thats much better

    Thanks again

    SuperHoops

+ 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