You should be able to simplify so that NETWORKDAYS isn't repeated, try
=IF(E6=D6,0,NETWORKDAYS(IF(F6,F6,E6),D6,M$6:M$14)-SIGN(D6-IF(F6,F6,E6))
--
daddylongleg
-----------------------------------------------------------------------
daddylonglegs's Profile:
http://www.excelforum.com/member.php...fo&userid=3048
View this thread:
http://www.excelforum.com/showthread.php?threadid=52542