+ Reply to Thread
Results 1 to 5 of 5

SLA Calculation including weekends

  1. #1
    Registered User
    Join Date
    01-23-2019
    Location
    Poland
    MS-Off Ver
    2016
    Posts
    3

    SLA Calculation including weekends

    Hi!

    I was looking for ideal function to calculate SLA. There are post regarding SLA calculation only for Mon-Fr within operational hours.

    My problem is how to calculate SLA when SLA is met within 12 hours.

    Operational Hours:
    Mon-Fr 8:00 - 20:00
    Sat 09:00 - 18:00

    Also including holidays.

    For example:

    1. Case 1 (SLA met)
    Received 22/01/2019 17:54
    Completed 23/01/2019 10:22

    2. Case 1 (SLA met)
    Received 18/01/2019 21:33
    Completed 21/01/2019 08:11

    3. Case 1 (SLA not met)
    Received 20/01/2019 15:57
    Completed 22/01/2019 12:12

    3. Case 1 (SLA not met)
    Received 20/01/2019 15:57
    Completed 22/01/2019 12:12


    Any help would be much appreciated.

  2. #2
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,706

    Re: SLA Calculation including weekends

    I am not sure why 2 is classed as SLA Met -- given this spans the entire weekend this exceeds 12 hours (total duration is 18:11)

    The attached has one approach but it's pretty "ugly" / brute force, and I'm sure someone will have a more succinct alternative that's beyond me at this point...
    there used to be some folk on this board who were amazing at this type of calc - but they don't seem to be around any more...

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


    the above basically multiplies each day by either 9 or 12 hours depending on weekday (i.e. 9 for w/e), and then subtracts from that result the hours not worked on both start & end date {relative to respective weekday hours}.

    note: I've attached a file to illustrate, this should auto translate the above to reflect your own locale (delimiters etc)
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    01-23-2019
    Location
    Poland
    MS-Off Ver
    2016
    Posts
    3

    Re: SLA Calculation including weekends

    I need to calculate SLA based on operation hours.
    In Case 2 we have 9 hours on Saturday and still 3 hours on Monday. That's why all cases received after 20:00 on Friday should be completed till 11:00 on Monday.

    To plot holidays I need to add arrgument with range in Networkdays?

  4. #4
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,706

    Re: SLA Calculation including weekends

    apologies, I misread the requirement -- I've revised the approach / formula per below -- and reattached for sake of download / translation

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

    as before there will be a better approach, but hopefully this helps you a little?
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    01-23-2019
    Location
    Poland
    MS-Off Ver
    2016
    Posts
    3

    Re: SLA Calculation including weekends

    Thank you XLent. Works like a charm

+ 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. Formula Counting Days Including weekends, excluding Holidays
    By Stevenvc19 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-08-2019, 09:00 AM
  2. [SOLVED] Not including weekends?
    By lurchybold in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-07-2014, 06:35 AM
  3. Replies: 6
    Last Post: 06-21-2012, 09:59 AM
  4. Need a running total of calendar days (including weekends and holidays)
    By armyav09 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-30-2012, 04:14 PM
  5. List Dates Excluding Holidays but Including weekends
    By GuyHudson in forum Excel General
    Replies: 6
    Last Post: 09-22-2010, 05:58 AM
  6. Work Hours Between two dates including weekends
    By ClikClak in forum Excel General
    Replies: 2
    Last Post: 02-26-2010, 04:31 PM
  7. Re: Dates not including weekends and holidays
    By Ron de Bruin in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-13-2005, 06:05 PM

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