Hi Joe:
Or
=IF(SUMPRODUCT(--(Sheet2!A1:A5=A2)),"Yard
1",IF(SUMPRODUCT(--(Sheet2!B1:B5=A2)),"Yard
2",IF(SUMPRODUCT(--(Sheet2!C1:C5=A2)),"Yard 3","missing")))
Place this in B1.
This formula works if you don’t have more than 7 Yards.
--
Flintstone
------------------------------------------------------------------------
Flintstone's Profile:
http://www.excelforum.com/member.php...o&userid=15310
View this thread:
http://www.excelforum.com/showthread...hreadid=374639