=IF(SUMPRODUCT(--(LEFT(B1:B50,9)=LEFT(A1,9)))=0,FALSE,TRUE)

This one suits better thanks again