+ Reply to Thread
Results 1 to 9 of 9

Help on counting employees work

  1. #1
    Registered User
    Join Date
    10-19-2015
    Location
    Brisbane
    MS-Off Ver
    2010
    Posts
    5

    Help on counting employees work

    I have a column of employee names and woould like to count number of times employees have worked the particular shift.
    I have attached a similar file.
    I just cant think how to approach it,
    Would love some tution.
    Thank you
    Attached Files Attached Files

  2. #2
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,373

    Re: Help on counting employees work

    Your table lay out is disaster, so I'm make a little changes, Is it meet your requirement?
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    10-19-2015
    Location
    Brisbane
    MS-Off Ver
    2010
    Posts
    5
    Quote Originally Posted by azumi View Post
    Your table lay out is disaster, so I'm make a little changes, Is it meet your requirement?
    First of all thank you for your reply
    Second
    I need it to show the totals with name and shift in a separate table.
    Unfortunatly i designed example table that way as the start and finish times are in other road adjacent to employees name.

  4. #4
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: Help on counting employees work

    I agree its a poor layout, but perhaps
    =SUMPRODUCT(($A$4:$A$8="sam")*($B$3:$G$7="night"))

    you could replace sam and night with cells containing the values

  5. #5
    Registered User
    Join Date
    10-19-2015
    Location
    Brisbane
    MS-Off Ver
    2010
    Posts
    5
    Quote Originally Posted by davsth View Post
    I agree its a poor layout, but perhaps
    =SUMPRODUCT(($A$4:$A$8="sam")*($B$3:$G$7="night"))

    you could replace sam and night with cells containing the values
    Thank you Davsth
    This should do tge trick.
    Thank very much.

  6. #6
    Registered User
    Join Date
    10-19-2015
    Location
    Brisbane
    MS-Off Ver
    2010
    Posts
    5

    Re: Help on counting employees work

    Hello all, sorry but still running into trouble
    please review the following attachment.
    Need to count the number of time an employee has performed a role.
    Attached Files Attached Files

  7. #7
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: Help on counting employees work

    Yes your sheet is not as the example inititally. The lines are 2 apart, you have called employee1 in the table and then try and count employee 1. Also you have merged cells which is not a good thing to do. I also have errors in the formula
    =VLOOKUP(B6,'[2018 V4.xlsm]PDID'!$E$2:$G$146,2,FALSE) as the sheet can not be found so in cell shaded gray in column b I get errors, this prevents the formula working, this may or may not be a problem to you




    If you change Employee 1 to be consistent in both places the below works if there are no errors

    =SUMPRODUCT(($B$28:$B$69=$AB2)*(E26:Y67=AC$1))

    otherwise you need to change the vlookup formulas =iferror(yourvlookup formula,"")

    then it should work

  8. #8
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,311

    Re: Help on counting employees work

    Surely at times it is best to be honest.
    Start again.
    torachan.

  9. #9
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: Help on counting employees work

    It will work if you do what I said
    Attached Files Attached Files
    Last edited by davsth; 02-05-2019 at 06:12 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 5
    Last Post: 04-17-2017, 09:36 PM
  2. Counting how many employees are scheduled per hour
    By dbrammer in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-13-2016, 10:38 AM
  3. Need help: Counting average salary of 600 employees
    By Khäbyl in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-19-2014, 07:16 AM
  4. Find employees available to work this shift?
    By jhiltabidel in forum Excel General
    Replies: 2
    Last Post: 03-28-2013, 08:19 PM
  5. Calculate how much work employees can get done in a certain time
    By XLVBA in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-28-2012, 02:52 AM
  6. Counting # of employees
    By jspinx in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-30-2007, 03:56 AM
  7. [SOLVED] How can i set up work schedule for 5 employees
    By help me in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 07-10-2005, 05:05 PM

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