+ Reply to Thread
Results 1 to 4 of 4

Weekly Hours of Employee

Hybrid View

rizmomin Weekly Hours of Employee 02-17-2012, 11:02 AM
bebo021999 Re: Weekly Hours of Employee 02-17-2012, 11:13 AM
bebo021999 Re: Weekly Hours of Employee 02-17-2012, 11:17 AM
rizmomin Re: Weekly Hours of Employee 02-17-2012, 11:28 AM
  1. #1
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    Weekly Hours of Employee

    Hello:

    I have excel file

    Sheet1:
    Column B : Date
    Column C : Emp Name
    Column F : Total Hours Worked

    Sheet2:

    Column A: Week# ( 1 to 52)
    Column B: Workweek Start eg 1/2/2012
    Column C : Workweek end eg 1/8/2012

    I want total hours worked by each employee in a workweek defined (in Column B & C) in Column D, E, F where each employee will be listed.

    Please refer to attached sheet.

    Let me know if you have any questions.

    Thanks for all the help i can get.

    RM
    Attached Files Attached Files
    Last edited by rizmomin; 02-17-2012 at 11:29 AM.

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

    Re: Weekly Hours of Employee

    Your file is 2003 ver, but I saw your Excel ver is 2010. SO try this with 2010 ver:
    In D2:
    =SUMIFS(Sheet1!$F$2:$F$409,Sheet1!$B$2:$B$409,">="&Sheet3!$B2,Sheet1!$B$2:$B$409,"<="&Sheet3!$C2,Sheet1!$C$2:$C$409,Sheet3!D$1)
    Last edited by bebo021999; 02-17-2012 at 11:18 AM. Reason: Fix range
    Quang PT

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

    Re: Weekly Hours of Employee

    Or with 2003:
    =SUMPRODUCT((Sheet1!$B$2:$B$409>=Sheet3!$B2)*(Sheet1!$B$2:$B$409<=Sheet3!$C2)*(Sheet1!$C$2:$C$409=Sheet3!D$1),Sheet1!$F$2:$F$409)
    Copy down and across.

  4. #4
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    Re: Weekly Hours of Employee

    Hi Bebo:

    You are great...this works.
    I really appreciate your help...

    I know you have helped me earlier also.
    i have another Thread "Calculate Overtime hours when paying Semi-Monthly".
    If you get a chance can you have a look at it and see if you can help me.

    Let me know if you have any questions.

    Thanks a lot.

    RM

+ 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