Home > OS >  Vlookup with Wild card {*} in excel
Vlookup with Wild card {*} in excel

Time:08-25

I have the below table:

enter image description here

Now, I want to check if the subject is having any of the text present in data (col F)

I used:-

=VLOOKUP(A2&"*",F:F,1,0)

But it is giving #N/A.

CodePudding user response:

Try:

enter image description here

Formula in B2:

=SUM(COUNTIF(A2,F$2:F$3&"*"))>0

Edit:

=SUM(COUNTIF(A2,F$2:INDEX(F:F,MATCH("ZZZ",F:F))&"*"))>0
  • Related