+ Reply to Thread
Results 1 to 4 of 4

Formula to Calculate number of staff scheduled between times

  1. #1
    Registered User
    Join Date
    06-14-2011
    Location
    Dominican Republic
    MS-Off Ver
    Excel 2010
    Posts
    5

    Formula to Calculate number of staff scheduled between times

    I am working on a formula to calculate the number of staff between 1/2-hour intervals. I have a spreadsheet set up that shows 62 schedules in columns B2:C63, with the start time in column B and the stop time in column C as shown below:

    7 8:00 17:00
    8 8:30 17:30
    9 8:30 17:30
    10 8:30 17:30
    11 8:30 17:30
    12 9:00 18:00
    13 9:00 18:00
    14 9:00 18:00
    15 9:00 18:00
    16 9:00 18:00
    17 9:30 18:30

    I have intervals set up in another sheet as follows starting in column B2.
    8:00
    8:30
    9:00
    9:30
    10:00
    10:30
    11:00

    I have already tried the following formula: =COUNTIF(Schedules!B2:B63,">="&Sheet2!B2)-COUNTIF(Schedules!C2:C63,">="&B3)

    This is returning values, but they are all incorrect and are not counting the number of agents who are scheduled to work each interval. Based on the data included above, the final interval results should be:

    Interval Staff
    8:00 1
    8:30 5
    9:00 10
    9:30 11
    10:00 11
    10:30 11
    11:00 11

    Please help!

  2. #2
    Valued Forum Contributor PFDave's Avatar
    Join Date
    05-17-2012
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2013
    Posts
    1,067

    Re: Formula to Calculate number of staff scheduled between times

    Try:

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    06-14-2011
    Location
    Dominican Republic
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Formula to Calculate number of staff scheduled between times

    Works like a charm!!!! You Rock!

  4. #4
    Valued Forum Contributor PFDave's Avatar
    Join Date
    05-17-2012
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2013
    Posts
    1,067

    Re: Formula to Calculate number of staff scheduled between times

    Quote Originally Posted by lspen00 View Post
    Works like a charm!!!! You Rock!
    Glad I could help. If that takes care of this thread could you please mark as solved and add reputation should you see fit.

    Thanks

+ 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. Formula to Determine How Many Times Someone Is Scheduled
    By NENE517 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 09-15-2016, 12:39 PM
  2. [SOLVED] Count the number of staff working between times based on staff position
    By sparky1978 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-03-2016, 08:10 AM
  3. [SOLVED] Need Help with formula to calculate "hours scheduled" based on employee's number
    By Dnakr in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-11-2014, 02:56 PM
  4. Formula to Calculate the Number of Hours Between 2 Dates and Times
    By Squint in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-11-2014, 03:28 PM
  5. Providing how many times staff members have been late by staff ID
    By SG56001235 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-18-2013, 10:47 PM
  6. Replies: 1
    Last Post: 07-18-2013, 10:11 AM
  7. workforce schedule / formula to calculate staff numbers at times throughout the day
    By jamesclinton82 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-23-2013, 08:00 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