Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I would like to calculate differnce between two time instance without holidays.
so @ 4th july 2008 14:22:30 work started and it ended on 29th July 16:20:44 Then i want to calculate exact working time spent on the task. It should not include holidays. I know networkdays give the answer but it rounds off the result and I want exact differnce in fractions so that i can count upto exact seconds spent on process. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=(NETWORKDAYS(date1,date2,holidays))
-(WEEKDAY(date1,2)<6)*(NOT(ISNUMBER(MATCH(INT(date1 ),holidays,0)))) -(WEEKDAY(date2,2)<6)*(NOT(ISNUMBER(MATCH(INT(date2 ),holidays,0)))) +((WEEKDAY(date1,2)<6)*(NOT(ISNUMBER(MATCH(INT(dat e1),holidays,0))))*(MIN(MAX(0,1-MOD(date1,1)),1))) +((WEEKDAY(date2,2)<6)*(NOT(ISNUMBER(MATCH(INT(dat e2),holidays,0))))*(MIN(MAX(MOD(date2,1),0),1))) -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "panks" wrote in message ... I would like to calculate differnce between two time instance without holidays. so @ 4th july 2008 14:22:30 work started and it ended on 29th July 16:20:44 Then i want to calculate exact working time spent on the task. It should not include holidays. I know networkdays give the answer but it rounds off the result and I want exact differnce in fractions so that i can count upto exact seconds spent on process. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Round, but give at least a value of 1 Q | Excel Worksheet Functions | |||
How do I calculate exact difference between two dates in y,m,d. | Excel Worksheet Functions | |||
How do I calculate exact difference between two dates in y,m,d. | Excel Worksheet Functions | |||
NETWORKDAYS calc with 3 columns of dates | Excel Worksheet Functions | |||
Calculating Dates Using Different Values for NETWORKDAYS | Excel Worksheet Functions |