+ Reply to Thread
Results 1 to 11 of 11

SLA Calculation for Helpdesk Resolution time

  1. #1
    Registered User
    Join Date
    07-08-2020
    Location
    Batavia, Jakarta
    MS-Off Ver
    Office 365
    Posts
    37

    SLA Calculation for Helpdesk Resolution time

    Dear Excel Gurus,

    Some expert here was helped me with formulas but we have some changes. I need your help again to provide a formulas to calculate SLA time(Resolution time) for our Helpdesk ticket.

    I've some basic conditions to calculating between 2 dates and times with the following condition:
    - Working hours are from 08:00AM to 17:00PM
    - Exclude for Lunch time: 12.00PM to 13.00PM
    - Exclude Weekends.
    - Exclude Public holiday(Holiday list)
    - If ticket's Service type is a Problem, then calculate as date created - date closed.


    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Above Formula cannot works with below condition.
    For below conditions, i wanted the calculation = date created - date closed.

    1.If Ticket was opened after working hour & closed after working hour as well.
    condition 1:
    B2: 5/12/20 17:05 PM
    C2: 5/12/20 17:09 PM

    2. Ticket opened before working hour started & closed after working hour.
    condition 2:
    B2: 5/1/20 7:40 AM
    C2: 5/4/20 17:16 PM

    3. Ticket opened & closed between Lunch time.
    condition 3:
    B2: 11/12/20 11:23 AM
    C2: 11/12/20 12:21 PM

    Thanks again!
    Attached Files Attached Files
    Last edited by Ferry Wils; 12-14-2020 at 12:33 PM.

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,557

    Re: SLA Calculation for Helpdesk Resolution time

    It may be helpful if we could see the manually calculated correct results for D2:D7 in addition to the incorrect results yielded by the formula.
    Also examples of conditions 1 and 2 don't seem to be included, please include those along with expected results as well.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  3. #3
    Registered User
    Join Date
    07-08-2020
    Location
    Batavia, Jakarta
    MS-Off Ver
    Office 365
    Posts
    37

    Re: SLA Calculation for Helpdesk Resolution time

    @JeteMc

    I've update the result in D2:D7 manually, basically if 'Service type' = Problem, the SLA Calculation will still running even after office hour(date created - date closed.
    However if Service type = Request, the exception will applied (SLA from 08.00 - 17.00, Lunch time 12.00-13.00).

    Many Thanks
    Attached Files Attached Files

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: SLA Calculation for Helpdesk Resolution time

    1. You make mention of a lunch break of 12:00 to 13:00. so... how is the elapsed time in row 2 correct. The resolution time is 13/11/2020 12:56:00, which is during lunchtime. So is the 1 hour for lunch to be COUNTED or IGNORED?

    2. Please explain your expected answer at D3.

    3. Please explain your expected answer at D5.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,557

    Re: SLA Calculation for Helpdesk Resolution time

    I feel that, as Glenn states, D3 and D5 are miscalculations.
    The following will produce the expected results for the rest of the values given:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: SLA Calculation for Helpdesk Resolution time

    But, do not forget to anser my 3 Qs... especially the first one, as I suspect you have made an error in your expected answers for Q2 & Q3 and are readily fixed.

  7. #7
    Registered User
    Join Date
    07-08-2020
    Location
    Batavia, Jakarta
    MS-Off Ver
    Office 365
    Posts
    37

    Re: SLA Calculation for Helpdesk Resolution time

    Hi JeteMc,

    D1 - should be 4 hours and the category as 'Request' (the SLA only caltulated during office hour (08.00AM - 17.00PM and exclude 1 hour Lunch time

    D5 - correct 0:07 but using your new formula = 0:17

    D8 - error & can't calculate using new formula, should be 0:04

    If category = Problem, then calculation straight C3-B3. Thanks
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    07-08-2020
    Location
    Batavia, Jakarta
    MS-Off Ver
    Office 365
    Posts
    37

    Re: SLA Calculation for Helpdesk Resolution time

    [QUOTE=Glenn Kennedy;5454928]1. You make mention of a lunch break of 12:00 to 13:00. so... how is the elapsed time in row 2 correct. The resolution time is 13/11/2020 12:56:00, which is during lunchtime. So is the 1 hour for lunch to be COUNTED or IGNORED?

    answer: SLA calculation started on next day, from 08.00AM to 12.00 PM and ignored 56 minutes
    2. Please explain your expected answer at D3.
    correct answer 0:33 minutes, from 4:27:00 PM to 5.00 PM

    3. Please explain your expected answer at D5.
    correct answer 0:07
    Thanks

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: SLA Calculation for Helpdesk Resolution time

    I still don't see how you get some of those expected results!!

    Try this:
    =IFERROR((NETWORKDAYS(B2,C2,HolidayList)-1)*($M$2-$L$2) + IF(NETWORKDAYS(C2,C2),MEDIAN(MOD(C2,1),$M$2,$L$2),$M$2)-MEDIAN(NETWORKDAYS(B2,B2)*MOD(B2,1),$M$2,$L$2)+(NETWORKDAYS(B2,C2,HolidayList)-1)*($M$3-$L$3) + IF(NETWORKDAYS(C2,C2),MEDIAN(MOD(C2,1),$M$3,$L$3),$M$3)-MEDIAN(NETWORKDAYS(B2,B2)*MOD(B2,1),$M$3,$L$3),"")

    If this is not what you expected to see, please explain WHY your expected answers are different from those generated by this formula. Don't just say "It should be XX:YY". explain WHY.
    Attached Files Attached Files
    Last edited by Glenn Kennedy; 01-19-2021 at 01:41 PM. Reason: Attaching the correct file....

  10. #10
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,557

    Re: SLA Calculation for Helpdesk Resolution time

    I had not seen that Glenn was working on this and also I took a different approach.
    I broke the calculations down into three parts as modeled in columns E:G
    In the case where either the created time and resolution are on the same day OR the service type is a problem use:
    =IF(ISNUMBER(SEARCH("request",A2)),SUM(MAX(0,MIN(MOD(C2,1),12/24)-MAX(MOD(B2,1),8/24)),MAX(0,MIN(MOD(C2,1),17/24)-MAX(MOD(B2,1),13/24))),C2-B2)
    In the case where the created time and resolution are on different days AND the service type is a request:
    For the first day use: =IF(AND(ISNUMBER(SEARCH("request",A2)),INT(B2)<>INT(C2)),IF(MOD(B2,1)<8/24,8/24,IF(MOD(B2,1)<12/24,SUM(12/24-MOD(B2,1),4/24),IF(MOD(B2,1)<17/24,17/24-MOD(B2,1),0))))
    For the second day use: =IF(AND(ISNUMBER(SEARCH("request",A2)),INT(B2)<>INT(C2)),IF(MOD(C2,1)<12/24,MOD(C2,1)-8/24,IF(MOD(C2,1)<17/24,SUM(MAX(0,MOD(C2,1)-13/24),4/24),8/24)))
    The values in column D are populated using: =SUM(E2:G2)
    Let us know if you have any questions.
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    07-08-2020
    Location
    Batavia, Jakarta
    MS-Off Ver
    Office 365
    Posts
    37

    Re: SLA Calculation for Helpdesk Resolution time

    Hi JeteMC,

    Let me try to use your formula first and let me check it. However for time being we consider this case closed.
    Thanks a lot!!

    Cheers
    FW

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Formulas to calculate SLA time for Helpdesk ticket.
    By Ferry Wils in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-13-2020, 09:09 AM
  2. Start time and End time Calculation sheet and uneditable of Time
    By tgray007 in forum Hello..Introduce yourself
    Replies: 2
    Last Post: 03-17-2017, 10:02 AM
  3. Helpdesk ticketing system or similar?
    By stewart1 in forum Excel General
    Replies: 5
    Last Post: 06-29-2016, 07:54 PM
  4. Calculate working hours for a Helpdesk SLA report
    By excelitps in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-13-2015, 11:59 AM
  5. Replies: 2
    Last Post: 11-27-2013, 01:26 PM
  6. Excel 2007 : changing resolution of time-axis-data
    By leo235 in forum Excel General
    Replies: 5
    Last Post: 10-16-2011, 05:59 AM
  7. time resolution
    By jimbo_jones in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-13-2006, 07:59 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1