Not that it matters much, but you can do without the >0 condition

=IF(COUNTIF(A:A, B1), "Match found", "Match not found")