+ Reply to Thread
Results 1 to 4 of 4

add to start date and excluding days using workday not calculating right

  1. #1
    Registered User
    Join Date
    11-19-2014
    Location
    colorado
    MS-Off Ver
    excel 2k13
    Posts
    14

    add to start date and excluding days using workday not calculating right

    Hi,

    I trying to create a schedule that excludes holidays. I have been using =WORKDAY($H14+4,1,holiday!B2:B14). The problem is it is not calculating correctly it should be 1/2/2015 but returns 12/29/14. I know it is something that I'm doing any direction or advise would be greatly appreciated. I have attach a sample work sheet.

    Thanks in advance,
    Tom
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    02-14-2013
    Location
    South Carolina
    MS-Off Ver
    Excel 2007
    Posts
    44

    Re: add to start date and excluding days using workday not calculating right

    It's the $H14+4 that's throwing you off.

    What you want to do is put the number of days ahead in the second part of the formula:

    Please Login or Register  to view this content.
    This says "4 work days after $H14, excluding the holidays in B2:B14"

    The formula you have currently is starting 4 calendar days after $H14, and going 1 workday after (excluding holidays).

  3. #3
    Registered User
    Join Date
    11-19-2014
    Location
    colorado
    MS-Off Ver
    excel 2k13
    Posts
    14

    Re: add to start date and excluding days using workday not calculating right

    Ahh, Is there anyway to make this dynamic so we are not hard coding the 4 days? So if we inputed a start date it would automatically pick up the holiday? Thanks for the help!!!

  4. #4
    Registered User
    Join Date
    02-14-2013
    Location
    South Carolina
    MS-Off Ver
    Excel 2007
    Posts
    44

    Re: add to start date and excluding days using workday not calculating right

    Just have that part of the formula reference a cell or value.

    You had it hard-coded before as H14+4,1 but it needed to be H14,4 -- that's the only change needed for the WORKDAY formula to work. The rest depends on the data you put into it.

+ 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: 10
    Last Post: 02-29-2024, 08:55 AM
  2. Replies: 0
    Last Post: 10-31-2014, 10:32 AM
  3. Excluding Non Workday from date calculation
    By Kane-M in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-01-2014, 07:06 PM
  4. Calculate End Date Using Start Date and No. of Days excluding specific days.
    By SinusxCosinusx in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-22-2013, 05:48 AM
  5. Replies: 1
    Last Post: 08-22-2012, 10:38 AM

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