You can cook up a formula that will do this. For example, you can use SUMPRODUCT
to check an array of conditions for COUNTIF
and tally how many find a match. Then, compare that tally to the count of conditions you were searching for.
=SUMPRODUCT(--(COUNTIF(B1:B5,A1:A5)>0))=COUNTA(A1:A5)
A walk-through of the evaluation of this formula with the sample data you provided:
=SUMPRODUCT(--(COUNTIF(B1:B5,)>0))=COUNTA(A1:A5)
=SUMPRODUCT(--(>0))=COUNTA(A1:A5)
=SUMPRODUCT(--())=COUNTA(A1:A5)
=SUMPRODUCT()=COUNTA(A1:A5)
=3=COUNTA(A1:A5)
=3=5
=FALSE