+ Reply to Thread
Results 1 to 8 of 8

# of employees staffed at specific times of the day

  1. #1
    Registered User
    Join Date
    09-30-2021
    Location
    USA
    MS-Off Ver
    2016
    Posts
    3

    # of employees staffed at specific times of the day

    Hi all,

    First post . I'm hoping to get some assistance on the attached worksheet. I'm trying to figure out how many employees are staffed based on their schedule at different times of the day (15 minute time slots).

    I think its simpler than I think but I've been trying sumifs and sumproduct formulas but they don't seem to be working correctly for me. I'm not sure if its the data or my formulas but hopefully some may be able to assist.

    I just need to count the # of employees in column B based on the time slot in column A. The employee work schedules are listed on the right, columns D:L.

    Any help is appreciated! Thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: # of employees staffed at specific times of the day

    Deleted erroneous answer

  3. #3
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: # of employees staffed at specific times of the day

    Welcome to the forum

    Please try the following in B4 copied down to B40:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Let us know whether this does what you want.
    Geoff

    Did I help significantly? If you wish, click on * Add Reputation to say thanks.
    If your problem has been resolved please select ?Solved? from the Thread Tools menu

  4. #4
    Registered User
    Join Date
    09-30-2021
    Location
    USA
    MS-Off Ver
    2016
    Posts
    3

    Re: # of employees staffed at specific times of the day

    Thanks, Geoff! It looks like it's doing what it's supposed to until the blank cells start happening.

    For sure A4 should be equal to '12' but I think it's summing up each record in E:E which is 17. Not sure how Sumproduct treats blank cells.

    Any suggestions?
    Last edited by Roscoe2424; 09-30-2021 at 07:05 PM.

  5. #5
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: # of employees staffed at specific times of the day

    Your post #1 attachment had "n/a"s instead of blanks for the part-timers which worked a little better, but on closer examination still not completely accurately either.

    For a simple solution do you have the latitude to move the part timer's break, break-end and "end" four columns to the left? In other words move T17:V21 to F17:H21 ??
    That, I think, would work with the existing sumproduct() formula.

  6. #6
    Registered User
    Join Date
    09-30-2021
    Location
    USA
    MS-Off Ver
    2016
    Posts
    3

    Re: # of employees staffed at specific times of the day

    That seemed to do the trick! Thank you!

  7. #7
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: # of employees staffed at specific times of the day

    Good! Thanks for the feedback.

  8. #8
    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,878

    Re: # of employees staffed at specific times of the day

    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.
    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.

+ 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. [SOLVED] Formula to count number of employees staffed per 30 min interval
    By dbarton0231 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-17-2022, 12:59 PM
  2. [SOLVED] How to automatically chart 1 and 0's for roster times of employees in hourly overview
    By Christiaanexcel in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-06-2019, 11:11 AM
  3. Finding the First Login and Last Logout Times of Employees
    By ExcelTip in forum Tips and Tutorials
    Replies: 19
    Last Post: 02-17-2018, 01:47 AM
  4. Break and Lunch overage based on Staffed time
    By mcabrera25 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-11-2016, 02:25 PM
  5. Replies: 1
    Last Post: 12-04-2014, 02:36 PM
  6. Replies: 6
    Last Post: 01-30-2014, 06:58 AM
  7. Scheduling Employees: Linking Shift Times
    By zarlengp in forum Excel General
    Replies: 0
    Last Post: 09-22-2010, 02:30 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