+ Reply to Thread
Results 1 to 3 of 3

Workdays

  1. #1
    Registered User
    Join Date
    02-08-2007
    Location
    Denmark
    Posts
    17

    Workdays

    Hi all

    I'm struggling a bit to get Excel to calculate an expected time of delivery when I need to count only on workdays (Monday-Friday).

    I basically have these columns:

    Column 1: Shipment date (given)
    Column 2: Shipping days (given)
    Column 3: Expected time of delivery (calculated)

    So if I e.g. have a shipment date Friday 16.11.2007 with 3 days delivery time I need to have a 21.11.2007 output.

    And is it possible to have Excel take public holidays into acount as well?

    Thanks,
    Kjaer

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Workdays

    Excel's WORKDAY function calculates the workday that is a specified number of days before or after a given date. It also takes holidays (which you identify) into consideration when calculating dates.

    Look up that function in Excel Help. Oh, you'll need to have the Analysis ToolPak (ATP) add-in (comes with Excel) to use that formula. If you don't have it (or don't want it), there are other options, but none of them are as elegant as WORKDAY. (The ATP also has a bunch of other neat functions.)

    Does that help?
    Post back if you have more questions.
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Try

    =Workday(A2,B2,Holidays) where A2 is start date, B2 is no. of days and Holidays is a named range in your spreadsheet containing the holidays to exclude.


    Note: Workday() is an analysis toolpak addin function... go to Tools|Addins. The Analysis Toolpak should be checked.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ 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