+ Reply to Thread
Results 1 to 5 of 5

Calculate end date with a number of days WITHOUT Weekends / Holidays

  1. #1
    Registered User
    Join Date
    06-08-2012
    Location
    Denmark
    MS-Off Ver
    Excel 2003
    Posts
    12

    Calculate end date with a number of days WITHOUT Weekends / Holidays

    Hey friends!

    I'm trying to make a somewhat simple function in my excel sheet (Working with 2003). But I can't quite work out how to do it.

    What I need to do is:

    Calculate and End Date

    I have:

    - A Start Date
    - A variable number of day from a cell (ex. could be "5" or "118").
    - And a list of all the dates that are National Holidays

    What I need to do is calculate and End Date, but only counting Workdays. ´- I.e. not counting weekends and holidays.


    Ex.:
    Let's say that Friday 4th May 2012 is a national Holiday, which means 5th & 6th is the weekend.

    Today is Wednesday 2nd May 2012.

    We want to calculate an end date that is 4 workdays from now. The result should then be: Wednesday 9th May 2012.


    The holidays are fixed dates arranged into a range of cells in a column.



    I think that's basically it. If you need anymore info don't hesitate ask!

    Thx!

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,427

    Re: Calculate end date with a number of days WITHOUT Weekends / Holidays

    If you install the Analysis Tool Pack then you will have access to the NETWORKDAYS function, which will allow you to do this. In later versions of Excel this is built in.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    06-08-2012
    Location
    Denmark
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Calculate end date with a number of days WITHOUT Weekends / Holidays

    Hi Pete


    Thx for the quick response.

    I am aware of the NETWORKDAYS function. But it does not provide me with what I am looking for.

    What that function returns is "The number of days" given a "Start Date" and an "End Date".

    What I need is an "End Date" given a "Start Date" and "The number of workdays" (ie. not counting weekends and holidays).

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Calculate end date with a number of days WITHOUT Weekends / Holidays

    try the workday() function
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  5. #5
    Registered User
    Join Date
    06-08-2012
    Location
    Denmark
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Calculate end date with a number of days WITHOUT Weekends / Holidays

    Quote Originally Posted by martindwilson View Post
    try the workday() function
    Omg, I had already discarded that function as well. But after taking a second look... You're right. That is exactly what I am looking for.

    Thank you!

+ 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