Does this do what you want?
=IF(SUM(COUNTIF(B3:B13,{"C","G","Y","R"})),LOOKUP( ROWS(B3:B13)+1,MATCH({"C","G","Y","R"},B3:B13,0),{ "C","G","Y","R"}),"N")
--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile:
http://www.excelforum.com/member.php...o&userid=30486
View this thread:
http://www.excelforum.com/showthread...hreadid=507489