+ Reply to Thread
Results 1 to 12 of 12

Help - Calculate SLA For Between Two Time Difference

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

    Help - Calculate SLA For Between Two Time Difference

    Dear Excel Gurus,

    I need your help with a formulas to calculate SLA time between created date - resolved date.

    Here are the basic conditions to calculating between 2 dates and times with the following condition:
    - Working hours: 08:00 AM to 17:00 PM
    - Exclude for Lunch time: 12.00PM to 13.00PM
    - Exclude Weekends.
    - Exclude Public holiday (Holiday list)
    - Engineer need to change status as Resolved.
    - Status resolved will changed to closed after 24hrs automatically executed by system
    - If the time elapsed exceeds 24 hours, use the d �days� h:mm time format (exp: 6 days 5:23)

    Thank you for the help as always.

    Cheers
    Fry
    Attached Files Attached Files
    Last edited by Ferry Wils; 02-07-2024 at 04:09 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Help - Calculate SLA For Between Two Time Difference

    What is SLA?
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

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

    Re: Help - Calculate SLA For Between Two Time Difference

    Quote Originally Posted by AliGW View Post
    What is SLA?
    Service Level Agreement

  4. #4
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Help - Calculate SLA For Between Two Time Difference

    How is D2=8.44. Pl explain.
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

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

    Re: Help - Calculate SLA For Between Two Time Difference

    Quote Originally Posted by kvsrinivasamurthy View Post
    How is D2=8.44. Pl explain.
    Sorry, my mistake the correct total hours is 12,44 hrs

  6. #6
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Help - Calculate SLA For Between Two Time Difference

    How it is 12,44 . Pl explain in detail.
    This is what I feel.
    On 11/2 it is 8:48
    On 12/2 it is 6:56
    Total 15:44

  7. #7
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,059

    Re: Help - Calculate SLA For Between Two Time Difference

    Created Time and Resolved Time are in m/d/yy format, the difference is more than 30 days in the first row data.

  8. #8
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,428

    Re: Help - Calculate SLA For Between Two Time Difference

    Please try in D2 and copy down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  9. #9
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,059

    Re: Help - Calculate SLA For Between Two Time Difference

    Try
    Please Login or Register  to view this content.
    Attached Files Attached Files

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

    Re: Help - Calculate SLA For Between Two Time Difference

    Dear HansDouwe,
    Thank you for your help on this and I will do a simulation with your formula. Thanks!
    Last edited by AliGW; 02-28-2024 at 07:06 AM. Reason: Please don't quote unnecessarily - use the Quick Reply button instead.

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

    Re: Help - Calculate SLA For Between Two Time Difference

    Dear josephteh,
    Thank you for your help on this and need to learn slowly for your formula. Thanks!
    Last edited by AliGW; 02-28-2024 at 07:06 AM. Reason: Please don't quote unnecessarily - use the Quick Reply button instead.

  12. #12
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Help - Calculate SLA For Between Two Time Difference

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, remember that you can thank anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.

+ 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] calculate time difference based on date and time in different cells
    By s7yzrs in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-27-2022, 06:22 AM
  2. Calculate time difference
    By dkippert in forum Excel General
    Replies: 1
    Last Post: 01-23-2020, 04:18 PM
  3. Calculate time difference between Date/Time fields
    By mattfleet in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-09-2019, 06:43 PM
  4. [SOLVED] how to calculate the time difference between each timestamp and a time total
    By HenrikSS in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-17-2018, 06:44 AM
  5. Replies: 3
    Last Post: 03-02-2012, 08:18 PM
  6. [SOLVED] How do I calculate Time difference from PM to AM
    By JAS123 in forum Excel General
    Replies: 3
    Last Post: 03-12-2005, 09:08 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