try this in A1:
=IF(OR(D1=E1,D1=E2),"X","")
Good Luck
Bruce
--
swatsp0p
------------------------------------------------------------------------
swatsp0p's Profile:
http://www.excelforum.com/member.php...o&userid=15101
View this thread:
http://www.excelforum.com/showthread...hreadid=384537