+ Reply to Thread
Results 1 to 4 of 4

add days using networkdays

  1. #1
    Registered User
    Join Date
    11-28-2007
    Posts
    45

    add days using networkdays

    Hi,
    I could use networkdays function to generate the difference between two dates. But, how to add specific number of days to a date, calculating only working days ?
    Eg: adding 5 days to nov 28 07 should give me a result of 5 dec, ignoring 1 and 2 of dec as these days are holidays. Please help !

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    I'm sure this could be done with a formula (or more efficiently in code), but here's a quick hack:
    Please Login or Register  to view this content.

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    You can use WORKDAY function,

    =WORKDAY(A1,5)

    where A1 contains your date. WORKDAY also allows you to specify a range of holiday dates to be excluded.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Humbug ...

+ 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