Need to calculate the SLA time

geethads77

New Member
Joined
Jul 27, 2019
Messages
1
Hi Team,

I have data where i need to calculate the dates for the tickets completed within SLA between 2 dates, i.e. created date and closed date. the table is below, please someone help.

[TABLE="width: 880"]
<colgroup><col><col><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]ID[/TD]
[TD]Date/Time Created[/TD]
[TD]Due Date [/TD]
[TD]Date/Time Completed[/TD]
[TD]Status[/TD]
[TD]Priority[/TD]
[TD][/TD]
[TD][/TD]
[TD]Vendor Name[/TD]
[/TR]
[TR]
[TD]1301672598[/TD]
[TD]01.02.2019 08:56:45[/TD]
[TD]11.02.2019 08:56:45[/TD]
[TD]13.03.2019 14:04:20[/TD]
[TD]Completed[/TD]
[TD]Medium[/TD]
[TD][/TD]
[TD][/TD]
[TD]JLL - Technical[/TD]
[/TR]
</tbody>[/TABLE]

Regards,
Geetha
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Hi,

Please check if this works.


Excel 2013/2016
ABCDEFGHIJKLMN
1IDDate/Time CreatedDue DateDate/Time CompletedStatusPriorityVendor NameSLANet DaysRemarksMonth
2130167259801.02.2019 08:56:4511.02.2019 08:56:4513.03.2019 14:04:20CompletedMediumJLL - Technical10 days40 daysExceeding SLA01Jan
302Feb
403Mar
504Apr
605May
706Jun
807Jul
908Aug
1009Sept
1110Oct
1211Nov
1312Dec
14
Sheet4
Cell Formulas
RangeFormula
H2=(LEFT(C2,2)&"-"&VLOOKUP(MID(LEFT(C2,10),4,2),$L$2:$M$13,2,0)&"-"&MID(C2,9,2))-(LEFT(B2,2)&"-"&VLOOKUP(MID(LEFT(B2,10),4,2),$L$2:$M$13,2,0)&"-"&MID(B2,9,2))&" days"
I2=(LEFT(D2,2)&"-"&VLOOKUP(MID(LEFT(D2,10),4,2),$L$2:$M$13,2,0)&"-"&MID(D2,9,2))-(LEFT(B2,2)&"-"&VLOOKUP(MID(LEFT(B2,10),4,2),$L$2:$M$13,2,0)&"-"&MID(B2,9,2))&" days"
J2=IF(I1)
L2="0"&ROW()-1
L3="0"&ROW()-1
L4="0"&ROW()-1
L5="0"&ROW()-1
L6="0"&ROW()-1
L7="0"&ROW()-1
L8="0"&ROW()-1
L9="0"&ROW()-1
L10="0"&ROW()-1


Thanks Muz
 
Upvote 0
Sight change.


Excel 2013/2016
ABCDEFGHIJ
1IDDate/Time CreatedDue DateDate/Time CompletedStatusPriorityVendor NameSLA (Days)Net DaysRemarks
2130167259801.01.2019 08:56:4511.01.2019 08:56:4505.12.2019 14:04:20CompletedMediumJLL - Technical10338Exceeding SLA
Sheet4
Cell Formulas
RangeFormula
H2=(LEFT(C2,2)&"-"&VLOOKUP(MID(LEFT(C2,10),4,2),$L$2:$M$13,2,0)&"-"&MID(C2,9,2))-(LEFT(B2,2)&"-"&VLOOKUP(MID(LEFT(B2,10),4,2),$L$2:$M$13,2,0)&"-"&MID(B2,9,2))
I2=(LEFT(D2,2)&"-"&VLOOKUP(MID(LEFT(D2,10),4,2),$L$2:$M$13,2,0)&"-"&MID(D2,9,2))-(LEFT(B2,2)&"-"&VLOOKUP(MID(LEFT(B2,10),4,2),$L$2:$M$13,2,0)&"-"&MID(B2,9,2))
J2=IF(I2>H2,"Exceeding SLA","With in SLA")



Excel 2013/2016
LM
1Month
201Jan
302Feb
403Mar
Sheet4
Cell Formulas
RangeFormula
L1Month
L201
L302
L403
M2Jan
M3Feb
M4Mar


Please note.

in L-Column, numbers should be in ('01, '02, '03) format.

Thanks Muz.
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,180
Members
452,615
Latest member
bogeys2birdies

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