+ Reply to Thread
Results 1 to 7 of 7

Holidays and Networkdays

  1. #1
    Registered User
    Join Date
    12-26-2009
    Location
    Moore, Oklahoma
    MS-Off Ver
    Excel 2007
    Posts
    20

    Holidays and Networkdays

    Is there a way to create a program or something to go with Networkdays to call out the holidays rather than having to list them in an area on the spreadsheet?

    Thanks:
    confused:

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile Re: Holidays and Networkdays

    Good afternoon tnoble17
    Quote Originally Posted by tnoble17 View Post
    Is there a way to create a program or something to go with Networkdays to call out the holidays rather than having to list them in an area on the spreadsheet?
    Not quite sure exactly what you're asking, but these two articles by Chip Pearson should help you out.

    http://www.cpearson.com/Excel/holidays.htm
    http://www.cpearson.com/Excel/betternetworkdays.aspx

    HTH

    DominicB
    Please familiarise yourself with the rules before posting. You can find them here.

  3. #3
    Registered User
    Join Date
    12-26-2009
    Location
    Moore, Oklahoma
    MS-Off Ver
    Excel 2007
    Posts
    20

    Re: Holidays and Networkdays

    Thanks for the links there is a lot of good information there, but it wasn't what I was looking for. When you use the function networkdays as given in the instructions you ahve to go create a range called holidays so that it knows what to exclude. My question was is there a way to add some type of script to network days to tell it the holidays rather than having to create the range?

    Thanks

    Quote Originally Posted by dominicb View Post
    Good afternoon tnoble17

    Not quite sure exactly what you're asking, but these two articles by Chip Pearson should help you out.

    http://www.cpearson.com/Excel/holidays.htm
    http://www.cpearson.com/Excel/betternetworkdays.aspx

    HTH

    DominicB

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

    Re: Holidays and Networkdays

    Not sure I can help much, but if I can ask what do you mean script? Are you just opposed to putting your holiday list on a sheet and reference that way?

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Holidays and Networkdays

    I think FWIW the OP is stating they wish to download public holidays from a live site or other (or store in memory ?) ... why is unknown.

  6. #6
    Registered User
    Join Date
    12-26-2009
    Location
    Moore, Oklahoma
    MS-Off Ver
    Excel 2007
    Posts
    20

    Re: Holidays and Networkdays

    I am not against doing it manually. I was just wondering if there was a way to write a program (script) to do it for me.

    Thanks for all the help.

    Quote Originally Posted by DonkeyOte View Post
    I think FWIW the OP is stating they wish to download public holidays from a live site or other (or store in memory ?) ... why is unknown.

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

    Re: Holidays and Networkdays

    I honestly do not know about writing a script.

+ 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