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

I am trying to calculate total project time. Time should not include
Weekends or Holidays. Work Time is 7:00 a.m. until 5:00 p.m.

I have the below formula but it is not calculating correctly.

=(NETWORKDAYS(A2,B2,C1:C8)-1)*(D1-C1)+IF(NETWORKDAYS(B2,B2),MEDIAN(MOD(B2,1),D1,C1), D1)-MEDIAN(NETWORKDAYS(A2,A2)*MOD(A2,1),D1,C1)

Where the start and end date is formatted as 5-20-2008 9:04 and
A2 = Start Date/Time formated like
B2 = End Date/Time
C1:C8 = Holiday range
C1 = Start time (7:00)
D1 = End Time (5:00)

I have the following example that is calculating incorrectly: Time
calculated is 4:6:55

A2 = 5-02-2008 14:04
B2 = 5/16/2008 18:26


Any help would be appreciated.



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 20
Default Calculating Project Time

I just noticed an error when typing my formula below. The Holiday range is
not c1:c8 but N2:n10


"Tammy H" wrote:

I am trying to calculate total project time. Time should not include
Weekends or Holidays. Work Time is 7:00 a.m. until 5:00 p.m.

I have the below formula but it is not calculating correctly.

=(NETWORKDAYS(A2,B2,C1:C8)-1)*(D1-C1)+IF(NETWORKDAYS(B2,B2),MEDIAN(MOD(B2,1),D1,C1), D1)-MEDIAN(NETWORKDAYS(A2,A2)*MOD(A2,1),D1,C1)

Where the start and end date is formatted as 5-20-2008 9:04 and
A2 = Start Date/Time formated like
B2 = End Date/Time
C1:C8 = Holiday range
C1 = Start time (7:00)
D1 = End Time (5:00)

I have the following example that is calculating incorrectly: Time
calculated is 4:6:55

A2 = 5-02-2008 14:04
B2 = 5/16/2008 18:26


Any help would be appreciated.



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
Multiple user time collection by project and dates? Darren Excel Discussion (Misc queries) 0 August 29th 07 03:44 PM
Timesheet - calculating hours per project type Klee Excel Worksheet Functions 2 March 24th 07 12:30 AM
Using date and time of past crimes to project the next occurance WR1CH Excel Discussion (Misc queries) 13 February 7th 07 07:47 PM
Project over time stacked bar chart The WB Charts and Charting in Excel 1 January 9th 07 09:01 AM
Time calculation problem (URGENTProject due) g6pack Excel Discussion (Misc queries) 4 November 28th 05 04:14 AM


All times are GMT +1. The time now is 06:31 AM.

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"