Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
3/6Hello.
I have a formula that calculates date and time differences. The formula works when the same day in inputted in the two fields, but not with two different days (returns #NAME? . I am using the following format to input information (yyyy/mm/dd hh:mm) with my present formatting is comes out as (3/6/06 1:30 PM). the formula I am working with. My DayEnd and DayStart is 8:00 AM - 8:00 PM. Any ideas? =IF(AND(INT(I7)=INT(J7),NOT(ISNA(MATCH(INT(I7),Hol idayList,0)))),0,ABS(IF(INT(I7)=INT(J7),ROUND(24*( J7-I7),2), (24*(DayEnd-DayStart)* (MAX(NETWORKDAYS(StartDT+1,EndDT-1,HolidayList),0)+ INT(24*(((J7-INT(J7))- (I7-INT(I7)))+(DayEnd-DayStart))/(24*(DayEnd-DayStart))))+ MOD(ROUND(((24*(J7-INT(J7)))-24*DayStart)+ (24*DayEnd-(24*(I7-INT(I7)))),2), ROUND((24*(DayEnd-DayStart)),2)))))) |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I calculate duration between two dates and times in excel? | Excel Discussion (Misc queries) | |||
Calculate times between dates and times in Excel | Excel Discussion (Misc queries) | |||
history of dates/times an excel worksheet was opened? | Excel Discussion (Misc queries) | |||
formula in excel to track times between two different dates ? | Excel Worksheet Functions | |||
Count times between 2 times and 2 dates | Excel Programming |