Excel with graphs to show if an SLA has been met or not

Nat2710

New Member
Joined
Aug 7, 2024
Messages
3
Office Version
  1. 365
Hi All,



I'm just back from mat leave after having twins, I am seriously sleep-deprived and in need of help (My brain isn't working at full power)



Trying to create an excel to show if SLAs are being met, along with the percentages in the form of a graph, so far I have gotten this far.



SLAs are:

PriorityResponse Time in Minutes
P130
P260
P31440
P41440






could anyone help me make the changes needed please.



Best wishes,

One worn out mama
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Congrats on the child. Welcome to the forum.
Not sure why you don't won't to share your version of excel, though. Knowing your version will usually get better solutions for you.

Maybe something like this:
1723044397946.png



Book1
ABCDE
1T PriorOpen1st RespDurationSLA Met
2P101-04-2024 08:0001-04-2024 09:3595FALSE
3P107-08-2024 11:0007-08-2024 11:1515TRUE
4P201-04-2024 08:0001-04-2024 09:3595FALSE
5P202-08-2024 11:0007-08-2024 11:157215FALSE
6P301-04-2024 08:0001-04-2024 09:3595TRUE
7P305-08-2024 11:0007-08-2024 11:152895FALSE
8P401-04-2024 08:0001-04-2024 09:3595TRUE
9P402-08-2024 11:0007-08-2024 11:157215FALSE
10
11
12PriorityMinutes Response
13P130
14P260
15P31440
16P41440
17
18MetNot MetAvg Resp Time vs SLA
19P1111.83333
20P20260.9167
21P3111.03819
22P4112.53819
Sheet1
Cell Formulas
RangeFormula
D2:D9D2=(C2-B2)*(24*60)
E2:E9E2=D2<=LOOKUP(A2,$A$13:$A$16,$B$13:$B$16)
B19:B22B19=COUNTIFS($A$2:$A$9,$A19,$E$2:$E$9,TRUE)
C19:C22C19=COUNTIFS($A$2:$A$9,$A19,$E$2:$E$9,FALSE)
D19:D22D19=AVERAGEIFS($D$2:$D$9,$A$2:$A$9,$A19)/(LOOKUP($A19,$A$13:$A$16,$B$13:$B$16))
 
Upvote 0
Do you have to take into account just the working hours? Or if you have for example like in row 5, the dates 5 days apart, you count 24 hours per day? Or just the working hours?
If you count only the working hours, when do you start and end the day?
 
Upvote 0
If you have to add just the working hours, would this be a start?:

Book9.xlsx
ABCDEFGHIJKLMNO
1Ticket PriorityTicket Opened1st ResponseWorked timeWorked minutesSLA Met?HolidaysPriorityResponse time in minutesWorking day startWorking day end
2P101/04/2024 08:0001/04/2024 09:351:3595Yes02/08/2024P13008:0018:00
3P107/08/2024 11:0007/08/2024 11:150:1515NoP260
4P201/04/2024 08:0001/04/2024 09:351:3595YesP31440
5P202/08/2024 11:0007/08/2024 11:1523:151395YesP41440
6P301/04/2024 08:0001/04/2024 09:351:3595No
7P305/08/2024 11:0007/08/2024 11:1520:151215No
8P401/04/2024 08:0001/04/2024 09:351:3595No
9P402/08/2024 11:0007/08/2024 11:1523:151395No
Sheet1
Cell Formulas
RangeFormula
E2:G9E2=LET(s, B2, e, C2, n, ROUND((e-s)/TIME(0,1,0),0), se, VALUE(TEXT(SEQUENCE(n,,s, TIME(0,1,0)), "yyyy-mm-dd hh:mm")), se_time, VALUE(TEXT(MOD(se, 1), "hh:mm")), isWorkingDay, WORKDAY(se-1, 1, Holidays) = INT(se), isWorkingTime, (se_time >= $N$2)*(se_time < $O$2), workedMinutes, SUM(isWorkingDay*isWorkingTime), workedHours, MROUND(workedMinutes/60, TIME(0,1,0)), workedTime, workedMinutes/24/60, ticketMinutes, XLOOKUP(A2, $K$2:$K$5, $L$2:$L$5), ticketResolved, IF(workedMinutes >= ticketMinutes, "Yes", "No"), res, IFERROR(HSTACK(workedTime, workedMinutes, ticketResolved), {0,"No"}), res)
Dynamic array formulas.
Named Ranges
NameRefers ToCells
Holidays=Sheet1!$I$2:$I$10E2:E9
 
Upvote 0
Congrats on the child. Welcome to the forum.
Not sure why you don't won't to share your version of excel, though. Knowing your version will usually get better solutions for you.

Maybe something like this:
View attachment 115098


Book1
ABCDE
1T PriorOpen1st RespDurationSLA Met
2P101-04-2024 08:0001-04-2024 09:3595FALSE
3P107-08-2024 11:0007-08-2024 11:1515TRUE
4P201-04-2024 08:0001-04-2024 09:3595FALSE
5P202-08-2024 11:0007-08-2024 11:157215FALSE
6P301-04-2024 08:0001-04-2024 09:3595TRUE
7P305-08-2024 11:0007-08-2024 11:152895FALSE
8P401-04-2024 08:0001-04-2024 09:3595TRUE
9P402-08-2024 11:0007-08-2024 11:157215FALSE
10
11
12PriorityMinutes Response
13P130
14P260
15P31440
16P41440
17
18MetNot MetAvg Resp Time vs SLA
19P1111.83333
20P20260.9167
21P3111.03819
22P4112.53819
Sheet1
Cell Formulas
RangeFormula
D2:D9D2=(C2-B2)*(24*60)
E2:E9E2=D2<=LOOKUP(A2,$A$13:$A$16,$B$13:$B$16)
B19:B22B19=COUNTIFS($A$2:$A$9,$A19,$E$2:$E$9,TRUE)
C19:C22C19=COUNTIFS($A$2:$A$9,$A19,$E$2:$E$9,FALSE)
D19:D22D19=AVERAGEIFS($D$2:$D$9,$A$2:$A$9,$A19)/(LOOKUP($A19,$A$13:$A$16,$B$13:$B$16))
Thank you, i have updated my version. I didn't realise I hadn't shared it.

This looks great!
 
Upvote 0
Do you have to take into account just the working hours? Or if you have for example like in row 5, the dates 5 days apart, you count 24 hours per day? Or just the working hours?
If you count only the working hours, when do you start and end the day?
No the SLA runs 24/7 so no working times need to be considered
 
Upvote 0

Forum statistics

Threads
1,221,526
Messages
6,160,340
Members
451,637
Latest member
hvp2262

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