+ Reply to Thread
Results 1 to 5 of 5

Work Distribution over Weeks

  1. #1
    Registered User
    Join Date
    08-02-2012
    Location
    qatar
    MS-Off Ver
    Excel 2007
    Posts
    22

    Work Distribution over Weeks

    Gentlemens,
    I am new to this forum and hoping for your help for my below problem.

    start date:20-12-2012
    End date: 18-3-2013
    Job to be achieved during this period (except friday work) is 700

    looking for, the above job to be distributed in respective weeks in between the above periods.

    Thanks for your valuable time to look in this problem.

    JD

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Work Distribution over Weeks

    hi JD, welcome to the forum. say Start date in A2 & End date in B2, then this will give you the days without Fridays:
    =SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(A2&":"&B2)))<7))

    to obtain the Jobs per day is simply:
    =700/SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(A2&":"&B2)))<7))

    you could even have a list of holidays, say in F2:F6 & this will calculate the number of holidays within your date range:
    =SUMPRODUCT(($F$2:$F$6>=A2)*($F$2:$F$6<=B2))

    so if you need to, you can combine the Jobs/(workdays - holidays)

    if you have Excel 2010, there is a new function NETWORKDAYS.INTL where you can choose workdays that is Sunday to Thursday.
    Attached Files Attached Files

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,648

    Re: Work Distribution over Weeks

    Tips of counting the weekdays within the range of date, to avoid CSF from array formular:
    Numbers of Monday: =INT((B2-B1-WEEKDAY(B2-0,2)+8)/7)
    Numbers of Tuesday: =INT((B2-B1-WEEKDAY(B2-1,2)+8)/7)
    ...
    Numbers of Friday: =INT((B2-B1-WEEKDAY(B2-4,2)+8)/7)
    Quang PT

  4. #4
    Registered User
    Join Date
    08-02-2012
    Location
    qatar
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: Work Distribution over Weeks

    Thanks for your time and advise Mr.Benishiryo,

    please find attached file showing the scenario, i would like to show the values in the respective weeks, also the values to be highlighted using conditional formats.

    thanks for putting your thoughts again.

    Regards,
    JD.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    08-02-2012
    Location
    qatar
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: Work Distribution over Weeks

    Thanks Mr. Bebo021999,

    Your is good one to find the specific days between the periods, but similar to this i am using with little change =INT((WEEKDAY(C220-6)+D220-C220)/7); where C220 is a start date and D220 is a end date.

    Thanks & Regards,
    JD.

+ 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