+ Reply to Thread
Results 1 to 5 of 5

Remove non-working hours from SLA formula

  1. #1
    Registered User
    Join Date
    08-09-2013
    Location
    Portsmouth, England
    MS-Off Ver
    Excel 2010
    Posts
    1

    Remove non-working hours from SLA formula

    Good morning,
    I am a somewhat of a novice when it comes to excel and especially formulas so I hope someone can help me without having to go to the 'go to guy' in the office!
    My issue is, we have to track our work manually and have a time & date in column and a time & date picked up column. The format is dd/mm/yyyy hh:mm for both (UK) and I need to know how long each take to pick up without including non-working hours. Our working hours are Mon-Sat 08:00-20:00 and our SLA is 24hrs the next business day.
    Thanks in advance for your help!

  2. #2
    Forum Contributor
    Join Date
    08-14-2013
    Location
    Here and there
    MS-Off Ver
    Excel 2010
    Posts
    376

    Re: Remove non-working hours from SLA formula

    Not sure of I've understood correctly but I've created a very simple example and maybe we can start with this. Cell D2 is the cell with the simple formula in it. Note because we are working with time "*24" is in the formula or else you just get a General number which looks crazy!

    Time Worked.xlsx

    Cheers

  3. #3
    Forum Contributor
    Join Date
    08-14-2013
    Location
    Here and there
    MS-Off Ver
    Excel 2010
    Posts
    376

    Re: Remove non-working hours from SLA formula

    Sorry forgot to ask; what does "our SLA is 24hrs the next business day" mean?

  4. #4
    Registered User
    Join Date
    08-10-2013
    Location
    Charlotte, NC
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Remove non-working hours from SLA formula

    Hi Ursul,

    Your solution works great for work turned over on the same day but, in reality, there will be times when the standard 24 hour turn will not happen and the daily non-productive hours will need to be subracted from the total hours.

    I added to your base formula to create a solution that takes the unusual circumstances that would compensate for the 10 hours each day the facility is not operating.

    The "closed" hours are determined by total hours in house divided by 24. This leaves a whole number with a decimal fraction that is used in a VLOOKUP for the hours to subtract from the total hours. The table can be increased in size depending on the user's real world worst case.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    08-10-2013
    Location
    Charlotte, NC
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Remove non-working hours from SLA formula

    In my fixation with the over 24 hour turn I failed to test for same-day completion. Not a huge thing but, nevertheless...

    This is the corrected formula that will work for both instances (second part of IF statement is now in parentheses).

    Please Login or Register  to view this content.
    Sorry for any confusion.

+ 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 hours with predefined Working Hours and Weekend Hours
    By garciapliz in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-05-2013, 11:17 AM
  2. [SOLVED] seeking formula to exclude non working hours
    By jdgreen in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-14-2013, 05:19 PM
  3. Replies: 2
    Last Post: 06-14-2013, 10:45 AM
  4. Replies: 9
    Last Post: 03-08-2013, 11:50 AM
  5. Hours to complete a job formula not working correctly
    By realniceguy5000 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-22-2011, 03:18 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