Hi all,
I'm tearing my hair out over something that I hope you can shed some light on.
Until recently, I've been using a manual spreadsheet to produce daily stats relating to calls at work. Each day, I paste the previous day's stats into Page 1, which then produces reports and tables on the next 3 pages.
Someone recently sang to me the wonders of Pivot tables, and how I should be using them, allowing me to no longer have to manually intervene... so today, I decided to spend some time changing it.
The source data contains usernames, boolean activity codes (columns where if the record is 0, that thing didn't happen; if it's 1, that thing did happen), handling times, and finally outcomes (what happened at the end of each call).
My original file created a list of the day's activity, 30 instances of X, 10 instances of Y, and so on. From there, it broke each activity down into outcomes... for the 30 instances of X, 5 of those resulted in A; for the 10 instances of Y, 8 of those resulted in A, while 4 resulted in B... and so on.
I've managed to reproduce this in the pivot without too much hassle... until the last hurdle. The average handling time for each one. I need to reproduce the handling time for each specific call type. Previously, I used an array formula to SUMIF the handling times based on a condition, which I then divided by the number of records to give me the total average for that activity.
Thus far, I have failed miserably to reprduce this, and feel like I have hit a brick wall with the idea.
The table is happy to give me a straightforward list of all the handling times, making the table around 500 pages long... but seems unable to simply add or average them per activity.
Does anyone have any suggestions on how to go about doing this?
I'm tearing my hair out over something that I hope you can shed some light on.
Until recently, I've been using a manual spreadsheet to produce daily stats relating to calls at work. Each day, I paste the previous day's stats into Page 1, which then produces reports and tables on the next 3 pages.
Someone recently sang to me the wonders of Pivot tables, and how I should be using them, allowing me to no longer have to manually intervene... so today, I decided to spend some time changing it.
The source data contains usernames, boolean activity codes (columns where if the record is 0, that thing didn't happen; if it's 1, that thing did happen), handling times, and finally outcomes (what happened at the end of each call).
My original file created a list of the day's activity, 30 instances of X, 10 instances of Y, and so on. From there, it broke each activity down into outcomes... for the 30 instances of X, 5 of those resulted in A; for the 10 instances of Y, 8 of those resulted in A, while 4 resulted in B... and so on.
I've managed to reproduce this in the pivot without too much hassle... until the last hurdle. The average handling time for each one. I need to reproduce the handling time for each specific call type. Previously, I used an array formula to SUMIF the handling times based on a condition, which I then divided by the number of records to give me the total average for that activity.
Thus far, I have failed miserably to reprduce this, and feel like I have hit a brick wall with the idea.
The table is happy to give me a straightforward list of all the handling times, making the table around 500 pages long... but seems unable to simply add or average them per activity.
Does anyone have any suggestions on how to go about doing this?