Search within cell

G

Gee...

I need to search within a cell. I'm searching for the word
"fuse"...sometimes they leave off the "e" or add "ing" so I'm really
searching for "fus".

I want to go into Column C and say something like:

"If B1 contains "fus" then Yes else No."

B1 might contain something like:
"Replaced fuses in main generator" or
"A7438Bfuse" or
"Tray fusing aligned"

Thank you in advance for your help.
G
 
J

JE McGimpsey

One way:

=IF(COUNTIF(B1,"*fus*"),"Yes","No")

alternative

=IF(ISERR(SEARCH("fus",B1)),"No","Yes")

another:

=COUNTIF(B1,"*fus*")

and custom format the cell (Format/Cells/Number/Custom: "Yes";;"No")
 

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