+ Reply to Thread
Results 1 to 4 of 4

Formula for SLA by excluding weekends (Fri & Sat) & Holiday

  1. #1
    Registered User
    Join Date
    04-20-2015
    Location
    India
    MS-Off Ver
    2013
    Posts
    77

    Formula for SLA by excluding weekends (Fri & Sat) & Holiday

    Hi Everyone,

    I have a data with Start date with time, End time with time, and also friday & saturday are weekends so how can I calculate the SLA

    For example:-

    Cell A2 contains start date and time :-5/1/15 10:00 AM

    Cell B2 contains End date and time :- 5/31/15 7:00 PM

    Cell D2:D10 contains holidays.

    thanks in advance

  2. #2
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Formula for SLA by excluding weekends (Fri & Sat) & Holiday

    Hi,

    Try the following function:

    =NETWORKDAYS.INTL(A2,B2,7,I$2:I$10)

    where A2: Start Date
    B2: End Date
    7 stands for Weekly Offs (Friday, Saturday)
    I$2:I$10 = List of holidays excluding weekends
    Attached Files Attached Files
    Last edited by cbatrody; 06-11-2015 at 04:05 AM.

  3. #3
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Formula for SLA by excluding weekends (Fri & Sat) & Holiday

    Hi,

    If you want to calculate the SLA in hours, use the following formula:


    =((NETWORKDAYS.INTL(A2,B2,1,I$2:I$9))-2)+((1-(A2-INT(A2)))+(B2-INT(B2)))
    Attached Files Attached Files
    Last edited by cbatrody; 06-11-2015 at 04:04 AM.

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Formula for SLA by excluding weekends (Fri & Sat) & Holiday

    Quote Originally Posted by Ankit_Kumar View Post
    ......so how can I calculate the SLA......
    So, what's the required result for your example?
    Audere est facere

+ 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 for SLA by excluding non-business hours, weekends (Fri & Sat) & Holiday
    By dhiraj4mann in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-03-2015, 04:26 AM
  2. [SOLVED] Counting working days excluding holiday and weekends
    By thollander in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-20-2014, 11:28 AM
  3. Date/Time Calculation excluding weekends and holiday list not working
    By mikeyk80 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-31-2012, 10:39 AM
  4. Formula for excluding weekends
    By jgomez in forum Excel General
    Replies: 25
    Last Post: 12-23-2010, 04:47 PM
  5. Replies: 3
    Last Post: 03-31-2008, 01:27 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