Greetings Excel Gurus,
I was asked to put together something to provide call statistics from call log data provided by our phone system. I was able to put something together the accomplishes the goal, but it is very clunky and as the agents take more calls, it becomes increasingly slow for this workbook to process the data. I've had my computer seem to freeze with all 8 cores pegged out at 100% CPU usage for over an hour as it processes all of the formula. I know this has to be because of the formula that I'm using and there has to be a way to accomplish the goal of this workbook using different formula or using formula in a different manner that will not be quite so processor intensive. This is where I turn to you guys and gals to provide me some direction. I'm linking a sanitized sample sheet so that you can look it over. For those of you that aren't able to instantly grasp what each part of the workbook does, I'll explain each section below.
http://bladedancer.net/Belzarak/SLA Sample.xlsx
Calculation Tabs = Tabs Mon - Fri and Week Total
Calculation Tabs: Cells A5 - G5 - this is where the raw data from the phone system is pasted. This raw data can vary from 25 lines to 25k+ lines. Column A - System Storage ID - ignored for all calculations. Column B - Date/Time - Date and time of the call. Column C - Agent Name - name of the call taker. Columns D and E (Ext and From) are ignored for all calculations. Column F - Duration - the length of the call. Column G - Wait Time - the time the call was in queue before being answered.
Calculation Tabs: Cells I5 - M5 - Breaks apart some of the raw data to make it easier for other sections to work. Column I - Checks to see if the Agent Name field is blank, if it is, it puts the wait time of the call. If it is not blank, it puts a blank in this field. Column J - checks to see if the Agent Name field is blank, if it is, it puts a blank here. If it is not blank, it puts the hold time in this field. Columns K and L - Duration and Wait time - values of the Duration and Wait time in the raw data. These are here because the system occasionally outputs a blank space in front of the numbers. Column M - Time of Call - breaks the time out from the raw data Date/Time field.
Calculation Tabs: Cells P18 - AN18 - Checks to see if the Time of Call is between the targets and puts the Wait Time if it is.
Calculation Tabs: Cells P2 - AN16 - Various calculations on the call data per time interval, including total number of calls offered, calls abandoned, maximum wait time, average wait time, average duration and overall SLA (percentage of calls answered within target answer time).
Calculation Tabs: Cells AR6 - BO6 - Checks to see if the Time of Call is between the targets and puts the Duration if it is.
Calculation Tabs: Cells AR4 - BO4 - Provides the Average Duration of calls that occur during the target time period.
Calculation Tabs: Cells BR6 - CO6 - Checks to see if the Time of Call is between the targts and puts the Agent Name if it is.
Calculation Tabs: Cells BR4 - CO4 - provides the number of different agents that took calls during the target time period.
Data Tab: This is where all of the calculations done on the Calculations Tabs are displayed in easier to understand format to be presented to the managers and agents.
Variables Tab: I added this to allow us to set different SLA targets and to possibly ignore calls that abandon within a certain period of time. Our standard SLA target is 2 minutes, so if you are providing steam-lined formula and can't incorporate the variables, please use a 2 minute target. If I can get this stream-lined, I have no problem with having separate workbooks for the few things that would have a different SLA target.
Week Total Tab - The raw data from Mon-Fri are also pasted onto Week Total to get the running total calculations each week. I'm sure this can be done easier, but I'm not certain how to go about doing it.
TL;DR
Need help cleaning up a workbook so that it doesn't use as much system resources. Look at the linked workbook and help find a way to do things more cleanly. Any suggestions will be much appreciated.
http://bladedancer.net/Belzarak/SLA Sample.xlsx
Thanks to you all for looking at this.
-Belz
I was asked to put together something to provide call statistics from call log data provided by our phone system. I was able to put something together the accomplishes the goal, but it is very clunky and as the agents take more calls, it becomes increasingly slow for this workbook to process the data. I've had my computer seem to freeze with all 8 cores pegged out at 100% CPU usage for over an hour as it processes all of the formula. I know this has to be because of the formula that I'm using and there has to be a way to accomplish the goal of this workbook using different formula or using formula in a different manner that will not be quite so processor intensive. This is where I turn to you guys and gals to provide me some direction. I'm linking a sanitized sample sheet so that you can look it over. For those of you that aren't able to instantly grasp what each part of the workbook does, I'll explain each section below.
http://bladedancer.net/Belzarak/SLA Sample.xlsx
Calculation Tabs = Tabs Mon - Fri and Week Total
Calculation Tabs: Cells A5 - G5 - this is where the raw data from the phone system is pasted. This raw data can vary from 25 lines to 25k+ lines. Column A - System Storage ID - ignored for all calculations. Column B - Date/Time - Date and time of the call. Column C - Agent Name - name of the call taker. Columns D and E (Ext and From) are ignored for all calculations. Column F - Duration - the length of the call. Column G - Wait Time - the time the call was in queue before being answered.
Calculation Tabs: Cells I5 - M5 - Breaks apart some of the raw data to make it easier for other sections to work. Column I - Checks to see if the Agent Name field is blank, if it is, it puts the wait time of the call. If it is not blank, it puts a blank in this field. Column J - checks to see if the Agent Name field is blank, if it is, it puts a blank here. If it is not blank, it puts the hold time in this field. Columns K and L - Duration and Wait time - values of the Duration and Wait time in the raw data. These are here because the system occasionally outputs a blank space in front of the numbers. Column M - Time of Call - breaks the time out from the raw data Date/Time field.
Calculation Tabs: Cells P18 - AN18 - Checks to see if the Time of Call is between the targets and puts the Wait Time if it is.
Calculation Tabs: Cells P2 - AN16 - Various calculations on the call data per time interval, including total number of calls offered, calls abandoned, maximum wait time, average wait time, average duration and overall SLA (percentage of calls answered within target answer time).
Calculation Tabs: Cells AR6 - BO6 - Checks to see if the Time of Call is between the targets and puts the Duration if it is.
Calculation Tabs: Cells AR4 - BO4 - Provides the Average Duration of calls that occur during the target time period.
Calculation Tabs: Cells BR6 - CO6 - Checks to see if the Time of Call is between the targts and puts the Agent Name if it is.
Calculation Tabs: Cells BR4 - CO4 - provides the number of different agents that took calls during the target time period.
Data Tab: This is where all of the calculations done on the Calculations Tabs are displayed in easier to understand format to be presented to the managers and agents.
Variables Tab: I added this to allow us to set different SLA targets and to possibly ignore calls that abandon within a certain period of time. Our standard SLA target is 2 minutes, so if you are providing steam-lined formula and can't incorporate the variables, please use a 2 minute target. If I can get this stream-lined, I have no problem with having separate workbooks for the few things that would have a different SLA target.
Week Total Tab - The raw data from Mon-Fri are also pasted onto Week Total to get the running total calculations each week. I'm sure this can be done easier, but I'm not certain how to go about doing it.
TL;DR
Need help cleaning up a workbook so that it doesn't use as much system resources. Look at the linked workbook and help find a way to do things more cleanly. Any suggestions will be much appreciated.
http://bladedancer.net/Belzarak/SLA Sample.xlsx
Thanks to you all for looking at this.
-Belz