Want a formula or PIVOT to get the percentage of SLA met from True or False criteria

ryanjuzz

New Member
Joined
Aug 16, 2009
Messages
32
Hi Folks,

Need two options for this guys. If Pivot how can I configure the sheet raw to populate on sheet Dashboard percentage base on the TRUE and FALSE details from SHEET Raw

Second approach if pivot will be hard formula I can use on Sheet DB to give me percentage;)

SHEET RAW

[TABLE="class: grid, width: 30, align: center"]
<tbody>[TR]
[TD]1[/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]H[/TD]
[TD]I[/TD]
[TD]J[/TD]
[TD]K[/TD]
[TD]L[/TD]
[TD]M[/TD]
[TD]N[/TD]
[TD]O[/TD]
[TD]P[/TD]
[TD]Q[/TD]
[TD]R[/TD]
[TD]S[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]TICKET NO[/TD]
[TD]INIT RESP SLA MET[/TD]
[TD]RESOLUTION TIME SLA MET[/TD]
[TD]PRIORITY[/TD]
[TD]SUPPORT COVERAGE[/TD]
[TD]MONTH[/TD]
[TD]DAY[/TD]
[TD]YEAR[/TD]
[TD]CREATION TIME[/TD]
[TD]FIRST UPDATE TIME[/TD]
[TD]CLOSE TIME[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]111[/TD]
[TD]TRUE
[/TD]
[TD]TRUE[/TD]
[TD]MED[/TD]
[TD]PEAK[/TD]
[TD]SEPT[/TD]
[TD]2[/TD]
[TD]2019[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]122[/TD]
[TD]TRUE[/TD]
[TD]TRUE[/TD]
[TD]MED[/TD]
[TD]OFF PEAK[/TD]
[TD]SEPT[/TD]
[TD]3[/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D]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


SHEET DASHBOARD

[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]RESPONSE TIME[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]MONTH[/TD]
[TD]HIGH[/TD]
[TD]MED[/TD]
[TD]LOW[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]AUG[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]OFF-PEAK[/TD]
[TD]100%[/TD]
[TD]100%[/TD]
[TD]100%[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]PEAK[/TD]
[TD]100%[/TD]
[TD]80%[/TD]
[TD]100%[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]SEPT[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]OFF-PEAK[/TD]
[TD]100%[/TD]
[TD]30%[/TD]
[TD]100%[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]PEAK[/TD]
[TD]100%[/TD]
[TD]100%[/TD]
[TD]100%[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Noting that your data appears to have a hidden column E, does the following formula help, in Dashboard B3?

=COUNTIFS(Raw!$F:$F,$A3,Raw!$D:$D,B$1,Raw!$G:$G,$A$2,Raw!$C:$C,TRUE)/COUNTIFS(Raw!$F:$F,$A3,Raw!$D:$D,B$1,Raw!$G:$G,$A$2)

in some circumstances you'll get a #div/0! error so you should amend the formula to handle a zero divisor, so the following is better (I split it out for clarity)

=IF(COUNTIFS(Raw!$F$2:$F$17,$A3,Raw!$D$2:$D$17,B$1,Raw!$G$2:$G$17,$A$2)=0,0,COUNTIFS(Raw!$F$2:$F$17,$A3,Raw!$D$2:$D$17,B$1,Raw!$G$2:$G$17,$A$2,Raw!$C$2:$C$17,TRUE)/COUNTIFS(Raw!$F$2:$F$17,$A3,Raw!$D$2:$D$17,B$1,Raw!$G$2:$G$17,$A$2))
 
Upvote 0
Noting that your data appears to have a hidden column E, does the following formula help, in Dashboard B3?

=COUNTIFS(Raw!$F:$F,$A3,Raw!$D:$D,B$1,Raw!$G:$G,$A$2,Raw!$C:$C,TRUE)/COUNTIFS(Raw!$F:$F,$A3,Raw!$D:$D,B$1,Raw!$G:$G,$A$2)

in some circumstances you'll get a #div/0! error so you should amend the formula to handle a zero divisor, so the following is better (I split it out for clarity)

=IF(COUNTIFS(Raw!$F$2:$F$17,$A3,Raw!$D$2:$D$17,B$1,Raw!$G$2:$G$17,$A$2)=0,0,COUNTIFS(Raw!$F$2:$F$17,$A3,Raw!$D$2:$D$17,B$1,Raw!$G$2:$G$17,$A$2,Raw!$C$2:$C$17,TRUE)/COUNTIFS(Raw!$F$2:$F$17,$A3,Raw!$D$2:$D$17,B$1,Raw!$G$2:$G$17,$A$2))



----

Sorry for the late response and thank you @baitmaster for the reply. Sorry no specific on column E just missed it hehehe.

Anyway what are you referring to RAW? is this formula itself?
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,193
Members
452,616
Latest member
intern444

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