+ Reply to Thread
Results 1 to 3 of 3

SLA calculation

  1. #1
    Registered User
    Join Date
    04-17-2019
    Location
    Belgium
    MS-Off Ver
    2016
    Posts
    1

    SLA calculation

    goodmorning

    I want to use excel for SLA calculation, but no idea where to start

    SLA begin : 17/04/2019 08:04
    and SLA is 16h, how do I automatically calculate the end time?

    businesshours are from 08:00 - 20:00, so they need to be included aswell.

    thank you

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

    Re: SLA calculation

    Hello Trien and Welcome to Excel Forum.
    I believe that dflak's workhours macro will do what you want. Below is a link to the thread in which the macro is included.
    https://www.excelforum.com/tips-and-...workhours.html
    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
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,548

    Re: SLA calculation

    As this is posted in the formulas forum, here is a purely formula based proposal.
    The duration left for any particular day is displayed using the MIN function and is similar to: =MIN(TIME(20,0,0)-TIME(8,0,0),B3-C3)
    The end time for any particular day is displayed using formulas similar to: =IF(E3>0,WORKDAY(A3,1)+MIN(TIME(8,0,0)+E3,TIME(20,0,0)),"")
    Note that for durations of more than 36 hours more days will need to be added to the three modeled in the attached file.
    Let us know if you have any questions.
    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] VBA to open a workbook with manual calculation and close with automatic calculation
    By thedunna in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-04-2019, 12:28 PM
  2. [SOLVED] Calculation of dates and leaving blank cell when calculation sees non-date values
    By Hedy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-22-2018, 07:52 AM
  3. Replies: 0
    Last Post: 05-17-2014, 10:18 PM
  4. manual calculation for one worksheet by F9 and auto calculation for other sheet
    By rayshimadri in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-22-2013, 06:16 AM
  5. Replies: 1
    Last Post: 09-24-2013, 02:06 AM
  6. Replies: 1
    Last Post: 01-15-2013, 08:51 AM
  7. [SOLVED] Conditional statement calculation based on result of previous calculation.(Need some help)
    By takeprofit in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-01-2012, 01:45 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