Using Excel 2007, the following formula works except when the problem reported is outside of business hours:
IF(NETWORKDAYS($E11,NOW())=1,(MIN($D$8,MOD(NOW(),1))-MAX($B$8,MOD($E11,1))),(NETWORKDAYS($E11,NOW())-2)*(600/1440)+($D$8-MAX(MOD($E11,1),$B$8))+MIN(MOD(NOW(),1),$D$8)-$B$8)
where
$E11 = Problem reported timestamp 10/22/2012 3:23:00 PM
Now() = current date and time
Business hours : $B$8 = 9:00 AM $D$8 = 5:00 PM
Need your kind assistance to tweak it where it can work regardless of when the problem is reported.
thank you
Bookmarks