Wildcards in IF statements

C

Calvin

OK I have tried to do this on my on but..... ok Wildcards in I
statements, can and how is this done
 
P

Peo Sjoblom

There are some ways to do this

=IF(COUNTIF(A2:A2,"?abc"),"yes","no")

=IF(COUNTIF(A2:A2,"*abc"),"yes","no")

=IF(COUNTIF(A2:A2,"*abc*"),"yes","no")

=IF(ISNUMBER(FIND("abc",A2)),"yes","no")

=IF(ISNUMBER(FIND("abc",A2)),"yes","no")

and so on
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top