Complex Missed/Met Calculation

StandardSanders

New Member
Joined
Oct 17, 2014
Messages
15
I am working on a report that will show a percentage of tickets my team is able to resolve within 24 hours, minus any hold time, that no other teams touch and that we do not reopen.

Here is an example data set of a single ticket:

[TABLE="width: 1235"]
<colgroup><col><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]ticketid[/TD]
[TD]creationdate[/TD]
[TD]changedate[/TD]
[TD]accumulatedholdtime[/TD]
[TD]created by group[/TD]
[TD]hsescalate_text[/TD]
[TD]externalsystem[/TD]
[TD]cinum[/TD]
[TD]description[/TD]
[TD]status[/TD]
[TD]ownergroup[/TD]
[/TR]
[TR]
[TD]SR123456[/TD]
[TD="align: right"]1/2/2015 7:45[/TD]
[TD="align: right"]1/9/2015 14:58[/TD]
[TD="align: right"]30[/TD]
[TD]LVL1[/TD]
[TD]N[/TD]
[TD]PHONECALL[/TD]
[TD]APPLICATION[/TD]
[TD]ERROR CODE[/TD]
[TD]QUEUED[/TD]
[TD]2nd LVL[/TD]
[/TR]
[TR]
[TD]SR123456[/TD]
[TD="align: right"]1/2/2015 7:45[/TD]
[TD="align: right"]1/9/2015 14:58[/TD]
[TD="align: right"]30[/TD]
[TD]LVL1[/TD]
[TD]N[/TD]
[TD]PHONECALL[/TD]
[TD]APPLICATION[/TD]
[TD]ERROR CODE[/TD]
[TD]QUEUED[/TD]
[TD]LVL1[/TD]
[/TR]
[TR]
[TD]SR123456[/TD]
[TD="align: right"]1/2/2015 7:45[/TD]
[TD="align: right"]1/9/2015 14:58[/TD]
[TD="align: right"]30[/TD]
[TD]LVL1[/TD]
[TD]N[/TD]
[TD]PHONECALL[/TD]
[TD]APPLICATION[/TD]
[TD]ERROR CODE[/TD]
[TD]QUEUED[/TD]
[TD]2nd LVL[/TD]
[/TR]
[TR]
[TD]SR123456[/TD]
[TD="align: right"]1/2/2015 7:45[/TD]
[TD="align: right"]1/9/2015 14:58[/TD]
[TD="align: right"]30[/TD]
[TD]LVL1[/TD]
[TD]N[/TD]
[TD]PHONECALL[/TD]
[TD]APPLICATION[/TD]
[TD]ERROR CODE[/TD]
[TD]QUEUED[/TD]
[TD]LVL1[/TD]
[/TR]
[TR]
[TD]SR123456[/TD]
[TD="align: right"]1/2/2015 7:45[/TD]
[TD="align: right"]1/9/2015 14:58[/TD]
[TD="align: right"]30[/TD]
[TD]LVL1[/TD]
[TD]N[/TD]
[TD]PHONECALL[/TD]
[TD]APPLICATION[/TD]
[TD]ERROR CODE[/TD]
[TD]RSLVDCONF[/TD]
[TD]LVL1[/TD]
[/TR]
[TR]
[TD]SR123456[/TD]
[TD="align: right"]1/2/2015 7:45[/TD]
[TD="align: right"]1/9/2015 14:58[/TD]
[TD="align: right"]30[/TD]
[TD]LVL1[/TD]
[TD]N[/TD]
[TD]PHONECALL[/TD]
[TD]APPLICATION[/TD]
[TD]ERROR CODE[/TD]
[TD]RESOLVED[/TD]
[TD]LVL1[/TD]
[/TR]
[TR]
[TD]SR123456[/TD]
[TD="align: right"]1/2/2015 7:45[/TD]
[TD="align: right"]1/9/2015 14:58[/TD]
[TD="align: right"]30[/TD]
[TD]LVL1[/TD]
[TD]N[/TD]
[TD]PHONECALL[/TD]
[TD]APPLICATION[/TD]
[TD]ERROR CODE[/TD]
[TD]CLOSED[/TD]
[TD]LVL1[/TD]
[/TR]
</tbody>[/TABLE]

Column A is just the ticket number, Column B is when the ticket was created, C is closed time (this 7 days after being in RSLVDCONF status), D is the hold time in minutes, E is the group that created the ticket, F is if the ticket was escalated into an Incident (would be a miss), G is how the contact came to us (phone, email, walkby) H is the application the call is about and I the type of error, J is the status history and K is the group who had control of it at that point.

I am having trouble getting is for it to count a miss in two scenarios.

Scenario 1: LVL1 team gives control of ticket to another group and then the ticket comes back to LVL 1 team. This should be a miss but I'm not able to get this to calc correctly.

Scenario 2: LVL 1 team sets the ticket status to RSLVDCONF more than once for that ticket. This would show the ticket has been re-opened and therefore not a first contact close.

Ideally these would be misses and I could see which tickets were misses based on this and the other scenarios which I have already got working.

Let me know if I need any additional clarifications for this.
Thanks,
Mike
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
I figured out Scenario 1, I just added a column to the data that says if the created ownergroup = ownergroup then 1 otherwise 0. Then using a distinct count of times that field is 0 and the ownergroup is LVL1. Now I Just need to figured out Scenario 2.
 
Upvote 0
and got the other one figured out had to do basically this mess: calculate(counta(Table1[ticketid]),Table1[status]="RSLVDCONF", Table1[assignedownergroup]="AM-I-TSC",Table1[hsescalate_text]="N",Table1[Time]<1,Table1[XFER]=1)-calculate(distinctcount(Table1[ticketid]),Table1[status]="RSLVDCONF", Table1[assignedownergroup]="AM-I-TSC",Table1[hsescalate_text]="N",Table1[Time]<1,Table1[XFER]=1)

In case anyone runs into something similar thought I'd post what I sauced out.
 
Upvote 0

Forum statistics

Threads
1,224,091
Messages
6,176,299
Members
452,720
Latest member
Quazlat

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top