Results 1 to 5 of 5

SLA Calculation including weekends

Threaded View

  1. #4
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,706

    Re: SLA Calculation including weekends

    apologies, I misread the requirement -- I've revised the approach / formula per below -- and reattached for sake of download / translation

    Formula: copy to clipboard
    C2: =SUM(INDEX(NETWORKDAYS.INTL(A2,B2,{"0000011","1111101"},_holidays)*{12,9}/24,0))-IF(NETWORKDAYS.INTL(A2,A2,"0000001",_holidays)=0,0,MEDIAN(MOD(A2,1),INDEX(CHOOSE(MATCH(WEEKDAY(A2,2),{1,6}),INDEX({"08:00","20:00"},0),INDEX({"09:00","18:00"},0))+0,0))-LOOKUP(WEEKDAY(A2,2),{1,6},{"08:00","09:00"}))-IF(NETWORKDAYS.INTL(B2,B2,"0000001",_holidays)=0,0,LOOKUP(WEEKDAY(B2,2),{1,6},{"20:00","18:00"})-MEDIAN(MOD(B2,1),INDEX(CHOOSE(MATCH(WEEKDAY(B2,2),{1,6}),INDEX({"08:00","20:00"},0),INDEX({"09:00","18:00"},0))+0,0)))
    copied down

    as before there will be a better approach, but hopefully this helps you a little?
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Formula Counting Days Including weekends, excluding Holidays
    By Stevenvc19 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-08-2019, 09:00 AM
  2. [SOLVED] Not including weekends?
    By lurchybold in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-07-2014, 06:35 AM
  3. Replies: 6
    Last Post: 06-21-2012, 09:59 AM
  4. Need a running total of calendar days (including weekends and holidays)
    By armyav09 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-30-2012, 04:14 PM
  5. List Dates Excluding Holidays but Including weekends
    By GuyHudson in forum Excel General
    Replies: 6
    Last Post: 09-22-2010, 05:58 AM
  6. Work Hours Between two dates including weekends
    By ClikClak in forum Excel General
    Replies: 2
    Last Post: 02-26-2010, 04:31 PM
  7. [SOLVED] Re: Dates not including weekends and holidays
    By Ron de Bruin in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-13-2005, 06:05 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