+ Reply to Thread
Results 1 to 15 of 15

SLA with Time and dates excluding weekends, holidays and multiple no-working hours

  1. #1
    Registered User
    Join Date
    03-23-2019
    Location
    India
    MS-Off Ver
    2016
    Posts
    7

    SLA with Time and dates excluding weekends, holidays and multiple no-working hours

    Hello,

    Thanks in Advance!

    I have SLA of 24 hour to resolve a ticket, for that i need the SLA time and date excluding weekends , holidays, multiple non - working hour
    If ticket comes at non working hour or at holiday or weekend it should count from the working hour/day.
    Holiday schedule
    2/18/2019
    5/27/2019
    7/4/2019
    7/5/2019

    Working hour in a day-
    12:00 AM 3:30 AM
    8:00 AM 5:00 PM
    6:30 PM 11:59 PM

    Cell A1 consist - 3/27/2019 12:00 PM

    Cell A2 - SLA time (Should be 3/28/2019 7:30) Need formula to calculate this time.

    Thanks.

  2. #2
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,937

    Re: SLA with Time and dates excluding weekends, holidays and multiple no-working hours

    Hi, welcome to the forum.
    I suggest you read up on the formula functions, you've got NETWORKDAYS that will do just that for you
    ---
    Hans
    "IT" Always crosses your path!
    May the (vba) code be with you... if it isn't; start debugging!
    If you like my answer, Click the * below to say thank-you

  3. #3
    Registered User
    Join Date
    03-23-2019
    Location
    India
    MS-Off Ver
    2016
    Posts
    7

    Re: SLA with Time and dates excluding weekends, holidays and multiple no-working hours

    I have tried Using NetWorkDays but still failing on the time part. Can you help me with that.

  4. #4
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,937

    Re: SLA with Time and dates excluding weekends, holidays and multiple no-working hours

    I suggest adding a helper column that calculates the working hours.
    Without a file I'm not going to try and imagine what your file and dat looks like.
    The NETWORKDAYS shows the effective working days and if you use it correctly also skips the holiday dates, this will have to be a separate raneg of all the valid holidays for that period, you could even hav a list of all the holidays between the minimum data of your entries and set a maximum to a the current date + one year in taht way it covers everything at all times, the helper column next to thsi will also have to add the working hours and there you will have to account for the weekend, holiday and whatever exceptions, only then you will be able to also shoud the actual SLA hours.

  5. #5
    Registered User
    Join Date
    03-23-2019
    Location
    India
    MS-Off Ver
    2016
    Posts
    7

    Re: SLA with Time and dates excluding weekends, holidays and multiple no-working hours

    Thanks for your prompt reply Keebellah!

    I have attached the file.
    I need this time and date in cell C2.
    Cell A2 is the date when i have received the ticket.
    Cell B2 is the SLA period that is 1 day = 24 hrs
    Cell C2 required formula currently using workday.

    Tab 2 consist holiday sheet and Coverage Time.

    Hope this helps.
    Thanks in advance.
    Attached Files Attached Files

  6. #6
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,937

    Re: SLA with Time and dates excluding weekends, holidays and multiple no-working hours

    You will have to play with it.
    I added two rows with some test but this is much more complicated.
    Like I said, you will have to include several helper columns between column B and Column C that actually calculates the effective date AND time.
    Read your private message but I think you should keep it in the open forum.
    I don't understand with 'I cannot add helper columns'
    I've attached my minor modification
    Maybe you should consider resorting to using a macro.
    Attached Files Attached Files

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,492

    Re: SLA with Time and dates excluding weekends, holidays and multiple no-working hours

    Read your private message but I think you should keep it in the open forum.
    You MUST keep it in the open forum!

    Forum Rule #8: Do not private message forum moderators or members for Excel help. (A, Z)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  8. #8
    Registered User
    Join Date
    03-23-2019
    Location
    India
    MS-Off Ver
    2016
    Posts
    7

    Re: SLA with Time and dates excluding weekends, holidays and multiple no-working hours

    Keebellah,

    Thanks for your reply and suggestion.
    but You have included formula in the wrong column.
    I need to use formula in column C.
    Cell C should be formulated in a way that it should give me expected delivery date and time (Excluding weekend,non working hours and holiday)
    Hope this helps.

    Thanks in advance.

  9. #9
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,937

    Re: SLA with Time and dates excluding weekends, holidays and multiple no-working hours

    No this was just to show you how to use the newtworkdays AND the holiday dates
    I still don't knwo WHY YOU cannot add helper columns,

  10. #10
    Registered User
    Join Date
    03-23-2019
    Location
    India
    MS-Off Ver
    2016
    Posts
    7

    Re: SLA with Time and dates excluding weekends, holidays and multiple no-working hours

    Thanks Ali,
    Sure

  11. #11
    Registered User
    Join Date
    03-23-2019
    Location
    India
    MS-Off Ver
    2016
    Posts
    7

    Re: SLA with Time and dates excluding weekends, holidays and multiple no-working hours

    Can you help me with helper columns.
    A quick summation will be highly appreciated.

    Thanks

  12. #12
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,937

    Re: SLA with Time and dates excluding weekends, holidays and multiple no-working hours

    Looking at your file and looking at the macro's I see you have a lot of exception hours and times.

    Please specify ALL the exceptions and WHAT is it you really want me someone to help you with?

    You have a START SLA date and the number of days it should be completed.
    And I am ASSUMING but YOU must tell us that the day is always 24 hours and that you DO NOT count WEEKENDS but I also noticed tou include some time values 13 hours and all that

    WHAT are the working hours you need to take into account? YOU have 44 columns of dat with values and formulas and the date format shows 12:00:00 PM with means midnight of that date so
    the first SLA date 3/27/19 12:00 PM means it is the start of march 28.
    WHY don't you sue the 24 hour format?
    Well first answer as much as you can and maybe even attach a (manual) result of the contents of the columns A,B and C that you want to see.

  13. #13
    Registered User
    Join Date
    03-23-2019
    Location
    India
    MS-Off Ver
    2016
    Posts
    7

    Wink Re: SLA with Time and dates excluding weekends, holidays and multiple no-working hours

    Thanks Keebellah,

    I have solved the issue thanks a lot helper column(Between column b and h) did helped me a lot.
    Attaching the file.
    Let me know if i can solve this any better.

    i am still unable to incorporate the holiday sheet.(Done with weekend and time exception)
    But still feeling awesome.
    Attached Files Attached Files

  14. #14
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,937

    Re: SLA with Time and dates excluding weekends, holidays and multiple no-working hours

    See, it's a question of patience, I will look later today and see if I can advice you.
    Trust yourself and you can do it

  15. #15
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,937

    Re: SLA with Time and dates excluding weekends, holidays and multiple no-working hours

    The Holaday dates I gave it a the range a name: Holiday_Dates
    I inserted two extra helper columns that show TRUE if it's a Holiday and the other it it's a weekend
    Maybe this helps you I did not really look at your helper columns because I don't understand what you're doing and don't have the time to really analyze it.
    Attached Files Attached Files

+ 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] Business Hours between 2 dates/times excluding weekends and holidays
    By Skycap in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-14-2019, 10:48 AM
  2. Replies: 13
    Last Post: 07-20-2016, 02:05 AM
  3. Replies: 0
    Last Post: 01-30-2014, 01:22 AM
  4. [SOLVED] Working Hours - excluding weekends, holidays
    By CJENKSY in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-05-2013, 02:12 AM
  5. Replies: 2
    Last Post: 06-14-2013, 10:45 AM
  6. Replies: 4
    Last Post: 08-10-2012, 11:41 AM
  7. Replies: 7
    Last Post: 01-11-2011, 06:26 AM

Tags for this Thread

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