Thread: Text fomula
View Single Post
  #3   Report Post  
JE McGimpsey
 
Posts: n/a
Default

One way:

=IF(COUNTIF(B1,"*apple*"),"apple","")

In article ,
"gregork" wrote:

In cell B1 I could have any one of the following text examples: big apple,
small apple, orange, apple, pear etc. In A1 I want a formula that will
return "apple" if B1 contains any of the text apple. ie if it read "big
apple" in B1 I want it to return "apple" in A1.

Thanks
GK