Apple Intelligence is now available on iPhone, iPad, and Mac!

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Find a specific word in a string of text.

I am seeking to write a formula in Numbers. I need to search a cell of text to see if a specific word exists and if so then do "X"

Mac mini, OS X 10.10

Posted on Dec 1, 2019 7:27 PM

Reply
Question marked as Top-ranking reply

Posted on Dec 1, 2019 11:03 PM

Hi snewcom,


Another way.

Formula in C2 (and fill down)

=IFERROR(SEARCH(C$1,B2,1),0)

SEARCH inserts the starting position of the keyword in the string.

If the keyword is not found, IFERROR inserts 0



Formula in D2 (and fill down)

=IF(C2>0,"X","")


Regards,

Ian.

2 replies

Find a specific word in a string of text.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.