Excel - If Like formula

Is there such a formula for IF Like?

=IF(B2 LIKE "*404L*", B2, "")

I want to go through all value in B2 to see if there's a 404L in there.  If it is, just copy it to another cell, otherwise leave it empty.
holemaniaAsked:
Who is Participating?
 
barry houdiniConnect With a Mentor Commented:
Try using COUNTIF, i.e.

=IF(COUNTIF(B2,"*404L*"),B2,"")

regards, barry
0
 
holemaniaAuthor Commented:
Awesome.  Thanks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.