+ Reply to Thread
Results 1 to 3 of 3

Counting amount of present people from start/stop times (workshifts)

  1. #1
    Registered User
    Join Date
    08-26-2017
    Location
    sweden
    MS-Off Ver
    office 2013 (swe)
    Posts
    1

    Counting amount of present people from start/stop times (workshifts)

    Hello all, I'm an excel novice so please bear with me.

    I've made a schedule for my workplace where my colleagues shifts are stated in start time (column C, F, I etc...) and end time (column D, G...). After the start / end time, a calculation of the total worked hours is calculated and printed in light grey.

    I want to create a table below that, where it shows the amount of present co-workers in each hour.

    For example:

    On monday, three guys are working the shifts: 15-23, 13-00 and 8-16.

    I want a table that shows how many that are on the floor, during the days hours (00-24). Taken from above example, the output would be (in "normal" number):

    (...)
    Time | workers present
    12-13: 1
    13-14: 2
    14-15: 2
    15-16: 3
    16-17: 2
    17-18: 2

    ...and so on...

    I've tried using countif and countifs, but to no avail. I suspect that it is getting messed up due the time format, specially since some cells have dates in them (which is neccesarly to count the totalt hours when the shift ends at 01 am). And I'm out of ideas, i've tried to solve this for four hours and I'm not getting anywhere. Would be very thankful for help in this matter!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Counting amount of present people from start/stop times (workshifts)

    Formula for C13 fILL DOWN TO c31

    tHE COPY C13 to C31 and paste into Cells F13, I13, L13, O13, R13, U13

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by mehmetcik; 08-26-2017 at 05:50 PM.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Valued Forum Contributor Root_'s Avatar
    Join Date
    07-29-2017
    Location
    _
    MS-Off Ver
    2010+
    Posts
    484

    Re: Counting amount of present people from start/stop times (workshifts)

    Maybe

    =COUNTIFS(C$2:C$10,"<="&$B13,D$2:D$10,">="&$B13)

+ 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. Trying to list start and stop times in a chart
    By Rambam in forum Excel General
    Replies: 2
    Last Post: 07-28-2015, 11:45 PM
  2. Counting number of people that appear at a particular times
    By Lan Tran in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 07-25-2015, 07:42 AM
  3. Identify distinct start stop times
    By dmoe2k1 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-21-2014, 11:02 AM
  4. start stop times issues in excel
    By superchew in forum Excel General
    Replies: 7
    Last Post: 08-18-2013, 03:13 PM
  5. Replies: 2
    Last Post: 10-28-2010, 12:07 PM
  6. Match Start & Stop Times
    By dreicer_Jarr in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-09-2010, 10:46 PM
  7. How to chart start and stop times
    By tresscott in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-10-2005, 06:06 PM

Tags for this Thread

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