+ Reply to Thread
Results 1 to 4 of 4

Calculate Number Of Business Days Between Two Dates and Allocate Them Across Week End

  1. #1
    Registered User
    Join Date
    02-20-2010
    Location
    hobart, Australia
    MS-Off Ver
    Excel 2007
    Posts
    8

    Calculate Number Of Business Days Between Two Dates and Allocate Them Across Week End

    Hi Excel Experts,

    I have a problem that i cant seem to figure out.

    I have a Huge spreadsheet with start and end dates in column A & B respectively.

    cell D1 to Z1 I have Weekending Dates Starting from Weekending 5/Feb/10

    My problem is when the user enters in a start date of say 1/feb/2010 and an end date of 10/feb/10 in cells A2 and B2 respectively, i want a formula in cells D2 to Z2 that will calculate How many business days of this Start and End Date Fall within the weekending date.* This then needs to be dragged down..

    So in the example above, if the start date is 1/Feb/2010 and an end date is 10/feb/10 in cells A2 and B2. Than in Cells D2 which has the Weekending Title of 5/Feb/10 should auto calculate the result of 5. Then in cell E2 which has the weekending title of 12/Feb/10 should auto calculate the result of 3. Because there are no business days for F2 which has the weekending title of 19/Feb/10, that are triggered by the start and end date above, than this should auto calculate 0.

    And so forth..

    I tried everything i know but i cant get this to work..

    Pleeeassee help meeeeee..

    thankyou soooooo much everyone.. I look forward to your formula solutions

    I have attached a sample spreasheet that highlights this problem

    thank you all....
    Attached Files Attached Files

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

    Re: Calculate Number Of Business Days Between Two Dates and Allocate Them Across Week

    perhaps like this hide zeros by either office button/excel options/advanced scroll down to display options for this worksheet
    uncheck "show zero in cells that have a zero value" option
    or format cells custom
    0;-0;;@
    If networkdays function is not available, and returns the #NAME? error, install and load the Analysis ToolPak add-in but i think its active in 2007 anyway. if its not then:-
    office button/excel options/add-ins/ down the bottom it should say manage excel add-ins
    click go
    check the Analysis ToolPak check box

    click ok
    Attached Files Attached Files
    Last edited by martindwilson; 02-20-2010 at 09:52 PM.
    "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

  3. #3
    Registered User
    Join Date
    02-20-2010
    Location
    hobart, Australia
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Calculate Number Of Business Days Between Two Dates and Allocate Them Across Week

    THANK you SOOOOOO Much buddy.. your a life saver... and a legend..

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Calculate Number Of Business Days Between Two Dates and Allocate Them Across Week

    Also cross-posted here

+ 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