Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default Total Time to Resolution

I am trying to calculate the total time it takes to resolve an issue
within an organization that has a 24 x 5 work schedule during the
week
and 9-5 hours on the weekend. I want to make sure that the non-work
hours on the weekend are not calculated.

Does anyone have a formula for the example below?


Submitted Date Resolved Date
10/15/08 10:51:20 AM 10/25/08 02:54:32 PM


Thanks in advance,


LJ


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default Total Time to Resolution

LJ wrote:
I am trying to calculate the total time it takes to resolve an issue
within an organization that has a 24 x 5 work schedule during the
week
and 9-5 hours on the weekend. I want to make sure that the non-work
hours on the weekend are not calculated.

Does anyone have a formula for the example below?


Submitted Date Resolved Date
10/15/08 10:51:20 AM 10/25/08 02:54:32 PM


Thanks in advance,


LJ




Submitted Date in A2, Resolved Date in B2


=NETWORKDAYS(A2,B2)-IF(WEEKDAY(A2,2)<6,MOD(A2,1),0)-IF(WEEKDAY(B2,2)<6,1-MOD(B2,1),0)+(((INT(B2)-INT(A2)+1)-NETWORKDAYS(A2,B2))*8-IF(WEEKDAY(A2,2)5,(MOD(A2,1)-TIME(9,0,0))*24,0)-IF(WEEKDAY(B2,2)5,(TIME(17,0,0)-MOD(B2,1))*24,0))/24


Not sure if this is optimized, but it seems to work.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Subtracting Dates to get total time work time excluding weekends Jon Ratzel[_2_] Excel Discussion (Misc queries) 2 January 31st 08 10:36 PM
Formula to find Stop Time from Start Time and Total Minutes Jonathan Bickett Excel Worksheet Functions 5 March 7th 07 05:22 PM
Track time to resolution (without including after hours on weekdays and weekends) [email protected] Excel Worksheet Functions 3 February 4th 07 01:57 AM
Grand total time between two total cells Gwynn Excel Discussion (Misc queries) 4 May 9th 06 09:00 PM
template or formula for start time -finish time -total hours ple cc New Users to Excel 1 March 27th 06 06:06 PM


All times are GMT +1. The time now is 09:28 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"