+ Reply to Thread
Results 1 to 6 of 6

Find employee who worked more than "x" hours

  1. #1
    Registered User
    Join Date
    07-09-2009
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    6

    Find employee who worked more than "x" hours

    i have a list of employees and a column of each shift they worked and another column that shows the total number of hours they worked for that shift.

    for example:

    Tom Shift A 5 hrs
    Jim Shift B 4 hrs
    Kenny Shift C 9 hrs
    Julie Shift A 4 hrs
    Tom Shift B 4 hrs
    Tom Shift A 5 hrs


    If I want to find out which employee from my list of employees (not the list above, the ACTUAL, large list) has worked a total of more than 25 hours, how do i extract that data?

    thanks

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: how to find employee who worked more than "x" hours

    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

    Doing this will ensure you get the result you need!

    Maybe if you look at the MAX Function
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    07-09-2009
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: how to find employee who worked more than "x" hours

    ok here's a small example. it's not much different from what i explained above.

    anyway i just needed a formula to gatther that statistic on how to find out at once which employee worked more than a certain number of hours.
    Attached Files Attached Files

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Find employee who worked more than "x" hours

    Select the entire range A1:D15 or whatever your last cell is...

    Go to Format|Condtional formatting.

    Select Formula Is from 1st drop down cell.

    Then enter formula: =SUMIF($A$1:$A$15,$A7,$D$1:$D$15)>10

    adjust the $15 to whatever last row in your selection is...

    Click Format and choose from the Pattern tab.

    This highlights the rows that have a name that has accumulated more than 10 hours.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  5. #5
    Registered User
    Join Date
    07-09-2009
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Find employee who worked more than "x" hours

    thank you
    what does the A7 in the formula represent ?

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Find employee who worked more than "x" hours

    That should be A1:

    =SUMIF($A$1:$A$15,$A1,$D$1:$D$15)>10

+ 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