+ Reply to Thread
Results 1 to 4 of 4

calculate net working days

  1. #1
    Registered User
    Join Date
    09-21-2007
    Posts
    1

    calculate net working days

    Dear all
    I would like to calculate net working days in between two dates . I have weekly friday as holidays example

    start date : 10-sep-2007
    end date : 31-Jan-2008
    holidays : every week on friday
    calculatate net working days by considering weekly holidays in between above dates. Like this I have around 100 activities in my project

    For this I want a simple and straight formula. Infact , I have listed all holidays in columns and against each activity start and end date with the help of formula [ If(and (holiday date => start date, holidaydate <=end date) ,1,0)]and used sum and counted all 1s . All these summed 1s I have deleted from duration between start and end date

    Is there any simplified method to this . I request all
    Last edited by VBA Noob; 09-30-2007 at 12:13 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    02-09-2006
    Location
    Melbourne, Australia
    MS-Off Ver
    Office 2016
    Posts
    1,075
    The WORKDAY function should do what you want. Excel's help provides good detail about how to use it.
    Trish in Oz
    -------------
    A problem well defined is a puzzle half solved


    If you attach a sample of your workbook it will be easier to find a solution. Remember to remove/replace sensitive data before uploading the file. Look here if you need help with attachments:
    http://www.excelforum.com/faq.php?fa...b3_attachments

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    This formula will give you the number of days, excluding Fridays, between a date in A2 and a later date in B2

    =B2-A2+1-INT((WEEKDAY(A2-6)+B2-A2)/7)

    format formula cell as general

    this will include both the start and end dates (assuming they're not Fridays). If you want to exclude the start date change to

    =B2-A2-INT((WEEKDAY(A2-5)+B2-A2-1)/7)

    Do you just want to exclude Fridays or do you have a list of other holidays to exclude?
    Last edited by daddylonglegs; 09-30-2007 at 08:28 PM.

  4. #4
    Registered User
    Join Date
    08-27-2007
    Posts
    2

    net work days

    Thanks A Lot. You Have Understood The Problem And Also So Nicely Given A Solution. With Best Regards . I Spent Lot Of Time For This Problem

    I Remain

    Mpk

+ 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