+ Reply to Thread
Results 1 to 12 of 12

Occupancy rate calculation

  1. #1
    Registered User
    Join Date
    03-27-2016
    Location
    Plovdiv, Bulgaria
    MS-Off Ver
    Office 2013
    Posts
    6

    Occupancy rate calculation

    Hello,

    I'm working on a project in call center and I need some help with one of the tasks that I need to deal with.

    Every day I'm receiving a report that looks like that:

    RAW DATA.JPG

    I need to calculate how may orders we're received per hour and how many agents were there to process them. The final report should look like that:

    SHEET1.JPG

    COM1 and COM2 stays for the different groups of agents that are working on the project, I need the total amount and than I need to show how many agents were online of every group for every 1h slot.
    I've managed to calculate the number of orders per hour with a formula that looks like that - =COUNTIFS('range">=" & A2;'range"<" & A3) , and this applies for every timeslot.

    I really need some help with counting the number of agents per hour. In this case I think that I need a formula that counts the unique number of text entries per hour. And than another one that counts the unique text entries per hour that starts with COM1 and COM2.
    I hope that I've manged to explain the issue simple enough, if you need something just ask. Thank you in advance!

    Cheers

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,254

    Re: Occupancy rate calculation

    Please post a sample file to give respondents data to work with and include manual sample results.

    To upload file, click "Go Advanced" then "Manage attachments"

  3. #3
    Registered User
    Join Date
    03-27-2016
    Location
    Plovdiv, Bulgaria
    MS-Off Ver
    Office 2013
    Posts
    6

    Re: Occupancy rate calculation

    Sure, I think it's attached now
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,254

    Re: Occupancy rate calculation

    in D2

    =SUMPRODUCT(('RAW data'!$H$2:$H$14024>=A2)*('RAW data'!$H$2:$H$14024<A3)*(LEFT('RAW data'!$D$2:$D$14024,4)="COM1"))

    in E2

    =SUMPRODUCT(('RAW data'!$H$2:$H$14024>=A2)*('RAW data'!$H$2:$H$14024<A3)*(LEFT('RAW data'!$D$2:$D$14024,4)="COM2"))

    in C2

    =D2+E2

  5. #5
    Registered User
    Join Date
    03-27-2016
    Location
    Plovdiv, Bulgaria
    MS-Off Ver
    Office 2013
    Posts
    6

    Re: Occupancy rate calculation

    Call me stupid, but I think I'm doing it wrong :D
    Doesn't work ...
    Attached Images Attached Images
    Last edited by tonyandonov88; 03-27-2016 at 11:19 AM.

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,254

    Re: Occupancy rate calculation

    See attached.

    I also changed times in A to be formatted as hh:mm:ss
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    03-27-2016
    Location
    Plovdiv, Bulgaria
    MS-Off Ver
    Office 2013
    Posts
    6

    Re: Occupancy rate calculation

    Yes, it works! Problem is that I try to place it in the real file and than change the criteria from COM1 to 60k and from COM2 to neo for example, than it doesn't calculate ... why is that? I have to admit that you've been very helpful, thank you for that

  8. #8
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,254

    Re: Occupancy rate calculation

    Post a small sample file with your REAL data: is COM1.AGENTx replaced by 60K.AGENTx ???

    This is a common problem of NOT supplying real data!

  9. #9
    Registered User
    Join Date
    03-27-2016
    Location
    Plovdiv, Bulgaria
    MS-Off Ver
    Office 2013
    Posts
    6

    Re: Occupancy rate calculation

    There is personal information on the original file, that's why I need to edit some of the cells. I've attached a sample file that is very similar to the original. Apologize, but I can't upload the original file.
    Attached Files Attached Files

  10. #10
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,254

    Re: Occupancy rate calculation

    See the attached.

    I changed heading in D & E to be same as (number of) characters before full stop in Agent e,g. neo and 60k

    new formula

    =SUMPRODUCT(('RAW data'!$H$2:$H$14024>=A2)*('RAW data'!$H$2:$H$14024<A3)*(LEFT('RAW data'!$D$2:$D$14024,LEN(D$1))=D$1))

    now matches the heading in D and E against the Agent column
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    03-27-2016
    Location
    Plovdiv, Bulgaria
    MS-Off Ver
    Office 2013
    Posts
    6

    Re: Occupancy rate calculation

    John, you are a great man! It works perfectly, thank you so much! I'll definitely take a deep look at the formulas so I can apply this knowledge in future. Thank you once again John and if you need something around team leadership and people coaching just give me shout

  12. #12
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,254

    Re: Occupancy rate calculation

    You are welcome.

    Could you mark thread as solved ("Thread Tools" at top of first post).

+ 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. Replies: 7
    Last Post: 11-24-2015, 11:44 AM
  2. Interest Rate Calculation
    By fhxfhx in forum Excel General
    Replies: 17
    Last Post: 04-18-2015, 12:37 AM
  3. [SOLVED] Rate Calculation - per hour
    By ganeshinscribe in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-14-2013, 06:20 AM
  4. Asking Rate Calculation
    By pradeep247 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-28-2013, 09:30 AM
  5. [SOLVED] Interest Rate calculation
    By Aland2929 in forum Excel General
    Replies: 18
    Last Post: 08-29-2012, 06:19 AM
  6. Exchange Rate calculation
    By vaibz in forum Excel General
    Replies: 2
    Last Post: 03-18-2010, 04:51 AM
  7. Calculating a Building\'s Occupancy Rate at Specified Times
    By ExcelTip in forum Tips and Tutorials
    Replies: 0
    Last Post: 08-23-2005, 12:21 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