+ Reply to Thread
Results 1 to 7 of 7

Populate row information based on start end dates

  1. #1
    Registered User
    Join Date
    02-24-2012
    Location
    ATL, GA
    MS-Off Ver
    Excel 2010
    Posts
    7

    Populate row information based on start end dates

    Hi there

    I was wondering if someone could help.

    I have a spreadsheet where I would put in resource name, start date, end date. Based on start date and end date I would like a formula to populate the date in row 1 of each corresponding column>

    Spreadsheet Setup (attached)
    Std Hours > 24 40 40
    St Week> 2/1/2012 2/5/2012 2/12/2012
    En Week> 2/4/2012 2/11/2012 2/18/2012
    Name Start End Std Hrs
    Person A 2/1/2012 1/31/2013 40 24 40 40
    Person B 2/1/2012 2/18/2012 20 12 20 20


    Does anybody know how I could achieve this / if it is even possible?

    Thank you in advance
    R
    Attached Files Attached Files

  2. #2
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: Populate row information based on start end dates

    the description is not explanatory enough - can you provide your expected results also (preferably header-ed / formatted / highlighted, without formulae)?

  3. #3
    Registered User
    Join Date
    02-24-2012
    Location
    ATL, GA
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Populate row information based on start end dates

    Thank you,

    Apologies for not being clear - what I am expecting to see is the hours get populated with a formula based on start date and end date in respective week ranges. Basically I am trying to populate the cells hightlighed in yellow by a formula.

    Thanks again

  4. #4
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: Populate row information based on start end dates

    put this formula in E6 on your sheet. then, drag it right up to G column, and down up to row 7.

    =NETWORKDAYS(E$3,E$4)*$D6/40*8

    by the way, if you want to account for holidays, then you will have to capture those in separate cell (or cells) and pass the range of the cell (or cells) to the NETWORKDAYS formula, for example:

    =NETWORKDAYS(E$3,E$4,$A$1:$A$3)*$D6/40*8

    where A1, A2 and A3 contain the dates on which certain holidays fall.
    Last edited by icestationzbra; 03-12-2012 at 07:18 PM.

  5. #5
    Registered User
    Join Date
    02-24-2012
    Location
    ATL, GA
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Populate row information based on start end dates

    Thank you - this worked however if I copy the formula across it won't stop past the End Date.
    Attached Files Attached Files
    Last edited by rdesai7677; 03-12-2012 at 05:15 PM. Reason: Adding a file

  6. #6
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: Populate row information based on start end dates

    post a file with your issue.

  7. #7
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,677

    Re: Populate row information based on start end dates

    Try changing to this formula in E6 copied across and down

    =MAX(0,NETWORKDAYS(MAX(E$3,$B6),MIN($C6,E$4)))*$D6/E$2*8
    Audere est facere

+ 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