Results 1 to 9 of 9

Formula to count employees on schedule over 24 hour period

Threaded View

  1. #1
    Registered User
    Join Date
    06-02-2016
    Location
    PA, US
    MS-Off Ver
    2007
    Posts
    4

    Formula to count employees on schedule over 24 hour period

    Hi All,

    I create a schedule of around 25 people in a 24 hour department. What I am trying to do is find the formula to automatically generate the chart under the schedule showing how many employees are on the schedule every 2 hours throughout the day. Currently this data is entered by counting the employees manually and typing it in.

    I have attached a sample of the original schedule I use first, which I cannot seem to get to work because I have the starting time and ending time in the same cell (i.e. 10am-6pm).

    Then I have attached a manipulated schedule, which divides the start time and end time into 2 columns, switches to army time, then uses the formula:

    {=SUM(IF(A54>=B7:B31,IF(A54<C7:C31,1,0),0))}

    This nearly achieves what I am trying to do, however, it trips up when the shift hits 12AM and the formula no longer holds true.

    It seems simple enough, but I am missing something. Any help would be greatly appreciated!

    Thanks,
    Brijsek
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 09-26-2015, 04:27 PM
  2. [SOLVED] Count incidences within 1 hour period
    By Ucpaul in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 07-30-2015, 05:45 PM
  3. Count Employees Working in Half Hour Intervals
    By shanewfm in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-24-2015, 01:12 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. Formula for Hour and rest period
    By braulj in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-23-2013, 07:07 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