+ Reply to Thread
Results 1 to 5 of 5

Sum up employees working at a given hour

  1. #1
    Registered User
    Join Date
    08-01-2019
    Location
    Budapest
    MS-Off Ver
    2016
    Posts
    4

    Question Sum up employees working at a given hour

    Hi Experts!

    I am trying to sum up employees working at a given hour based on different shifts. In the first table there is the format which from i'm trying to sum the employees and in the second I did it with sumifs formula but i ran into trouble with overnight shifts. Is there a way to solve this without including the date in the shift's start/end hours?

    Thank you four your help in advance.
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Sum up employees working at a given hour

    Why not this?

    =SUMIFS(C:C,B:B,">="&H3,A:A,"<="&H3)

    You haven't shown us the values you are expecting!
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Sum up employees working at a given hour

    Change B6 to 25:00:00 OR 01-01-1900 01:00:00
    and B7 to 26:00:00 OR 01-01-1900 02:00:00
    like H22 and H23
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  4. #4
    Registered User
    Join Date
    08-01-2019
    Location
    Budapest
    MS-Off Ver
    2016
    Posts
    4

    Re: Sum up employees working at a given hour

    Thank you I did not even notice that the after midnight hours have a +1 value to them in the form of 1900-01-01, now it is working fine

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Sum up employees working at a given hour

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.

+ 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. Calculate number of employees working each hour.
    By vdillon in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-21-2021, 08:47 PM
  2. Using COUNTIF to determine # of employees working each hour
    By Fyyzer in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 02-18-2017, 05:46 AM
  3. [SOLVED] COUNTIFS for # of Employees Working Each Hour from 11:00 PM to 4:00 AM
    By glynigin in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 12-14-2016, 07:41 PM
  4. [SOLVED] Count the number of employees working per hour
    By esmith#001 in forum Excel Formulas & Functions
    Replies: 27
    Last Post: 12-04-2014, 07:46 AM
  5. Calculate employees working from hour to hour
    By otter in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-03-2014, 08:57 AM
  6. Using Punchclock data to count employees working during each hour
    By ellenowski in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-13-2014, 10:22 AM
  7. Using Countif to determine number of employees working per hour
    By CBanks888 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-23-2013, 04:15 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