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

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

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.