c2=IF(ISNUMBER(MATCH(B2,A$2:A$904,0)),B2,"")
Try this and copy towards down