Hi,
I would like your input in correcting my formula.
I would like to find out if a job took more than 24 hour cycle time (eg. 6:00 am to 5:59:59 AM next day).
data :
A1 = received date & time (format "m/d/yyyy h:mm")
B1 = completed date & time (format "m/d/yyyy h:mm")
my formula is '=if(B1-A1>"24:00"+0,"Yes","No")
The problem with the formula is that it doesnt exclude weekends nor public holidays.
I couldnt formulate a solution using networkdays function.
appreciate your help.
Kind regards,
Ram
Solution :
for 24 hours Monday to Friday
=if(NETWORKDAYS(C2,W2)-1+IF(NETWORKDAYS(W2,W2),MOD(W2,1),1)-IF(NETWORKDAYS(C2,C2),MOD(C2,1),0)>"24:00"+0,"Yes","No")
Thankyou Daddylonglegs !!
Bookmarks