+ Reply to Thread
Results 1 to 8 of 8

Monthly workdays, monthly workdays to date & public holidays

  1. #1
    Forum Contributor
    Join Date
    11-12-2014
    Location
    Reading
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2403 Build 16.0.17425.20176) 64-bit
    Posts
    142

    Monthly workdays, monthly workdays to date & public holidays

    I have the 2 following formula to calculate workings days in month and working days to date:

    Working days
    Please Login or Register  to view this content.
    Working days to date
    Please Login or Register  to view this content.
    I need to subtract public holidays but being an excel armature I'm struggling to figure out how to include those.

    Any help would be greatly appreciated.

    Excel 2003
    Last edited by blackburnsexcel; 08-21-2015 at 05:56 AM.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,665

    Re: Monthly workdays, monthly workdays to date & public holidays

    The last parameter in NETWORKDAYS is a user-defined range of Holiday dates.

    Lo0k at the function help.

  3. #3
    Forum Contributor
    Join Date
    11-12-2014
    Location
    Reading
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2403 Build 16.0.17425.20176) 64-bit
    Posts
    142

    Re: Monthly workdays, monthly workdays to date & public holidays

    Quote Originally Posted by JohnTopley View Post
    The last parameter in NETWORKDAYS is a user-defined range of Holiday dates.

    Lo0k at the function help.
    That's like asking my to look at French novel and translate it. I don't speak French.

    So from what you're saying, I define public holiday dates in cells and then add that into the formula?

    How?

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,665

    Re: Monthly workdays, monthly workdays to date & public holidays

    ... French lesson

    =-NETWORKDAYS(A1,B1,C1:C8)

    A1=Start Date
    B1=End Date
    C1:C8= List of UK holidays (as below)


    01/01/2015
    03/04/2015
    06/04/2015
    04/05/2015
    25/05/2015
    31/08/2015
    25/12/2015
    26/12/2015

    OK?

  5. #5
    Forum Contributor
    Join Date
    11-12-2014
    Location
    Reading
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2403 Build 16.0.17425.20176) 64-bit
    Posts
    142

    Re: Monthly workdays, monthly workdays to date & public holidays

    Quote Originally Posted by JohnTopley View Post
    ... French lesson

    =-NETWORKDAYS(A1,B1,C1:C8)

    A1=Start Date
    B1=End Date
    C1:C8= List of UK holidays (as below)


    01/01/2015
    03/04/2015
    06/04/2015
    04/05/2015
    25/05/2015
    31/08/2015
    25/12/2015
    26/12/2015

    OK?
    Thanks.

    It would be except I would then have to change the start and end date every month, yes? The current formula works off today's date so I don't have to do that. Surely I can amend the current formula to achieve the same but without having to define when the month starts and when it ends??

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,665

    Re: Monthly workdays, monthly workdays to date & public holidays

    Yes, use your original formula but just add the C1:C8 (or equivalent) at the end

    =NETWORKDAYS(EOMONTH(TODAY(),-1),EOMONTH(TODAY()-1,0),C1:C8)-1

  7. #7
    Forum Contributor
    Join Date
    11-12-2014
    Location
    Reading
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2403 Build 16.0.17425.20176) 64-bit
    Posts
    142

    Re: Monthly workdays, monthly workdays to date & public holidays

    Quote Originally Posted by JohnTopley View Post
    Yes, use your original formula but just add the C1:C8 (or equivalent) at the end

    =NETWORKDAYS(EOMONTH(TODAY(),-1),EOMONTH(TODAY()-1,0),C1:C8)-1
    You are amazing thanks.. Kudos

  8. #8
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,665

    Re: Monthly workdays, monthly workdays to date & public holidays

    Thanks for the feedback.

    Please mark as SOLVED (Thread tools on top of first post).

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 6
    Last Post: 11-16-2013, 04:29 PM
  2. Workdays- Holidays change
    By Jiamin1 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-21-2013, 01:33 AM
  3. workdays between (excluding holidays)
    By imaccormick1990 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-22-2013, 08:26 AM
  4. Convert Hours to Workdays, Excluding Holidays
    By mycon73 in forum Excel General
    Replies: 4
    Last Post: 08-21-2012, 11:57 AM
  5. Workdays, Dates and Public Holidays
    By David Obeid in forum Excel General
    Replies: 2
    Last Post: 06-16-2009, 07:40 PM
  6. # of Workdays minus Holidays
    By jmozulay in forum Excel General
    Replies: 6
    Last Post: 10-11-2007, 04:33 PM
  7. [SOLVED] Formula Workdays-Holidays-adjustments
    By Glenna in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-17-2005, 01:10 PM
  8. workdays and holidays
    By tawnee jamison in forum Excel General
    Replies: 0
    Last Post: 05-05-2005, 12:02 PM

Tags for this Thread

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