Try using OR....
=IF(OR(AND(F$3=$B4,F$3<$D4),AND(F$3$E4,F$3<$C4)) ,"X","")
--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile:
http://www.excelforum.com/member.php...o&userid=30486
View this thread:
http://www.excelforum.com/showthread...hreadid=531102