Certain words in cells

blacktour

Board Regular
Joined
May 24, 2005
Messages
219
I have a column of cells that are inventory descriptions. A bunch of them have "helmet" in the description somewhere. How can I make the next column over say Yes or No as to whether the word "helmet" is in it.

=if(A1=helmet somwhere in cell, YEs, NO)

Thanks in advance.
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
I was trying to further use this formula so it will pick out helmet and suit.

Code:
=IF(SEARCH("Helmet",A6),"Helmet",IF(SEARCH("Suit",A6),"Suit","Other"))

That does not work?

Thanks.
 
Upvote 0
Could you not use the next column and use Clay's formula but substitute helmet with suit?
Regards.
John
 
Upvote 0
I have been trying this all day and this is as far as I've got:

Code:
IF(ISERROR(SEARCH("helmet",B7)),IF(SEARCH("suit",B7),"suit"),"Helmet")

I can't get visor to work though?
 
Upvote 0
Hi,

give this a try

  A                              B     C      
1                                found list   
2 this is a Helmet from John     TRUE  Helmet 
3 no Helmets or suits available  TRUE  Suit   
4 please tell me what            FALSE other  
5 next cell has other word in it TRUE         

TEST

[Table-It] version 06 by Erik Van Geit
Code:
RANGE FORMULA (1st cell)
B2:B5 {=NOT(ISNA(MATCH(9.99999999999999E+307,SEARCH($C$2:$C$4,A2))))}

{=formula}:
select first cell
enter formula without {}
confirm with Control-Shift-Enter
then copy down

[Table-It] version 06 by Erik Van Geit
kind regards,
Erik
 
Upvote 0

Forum statistics

Threads
1,214,935
Messages
6,122,337
Members
449,078
Latest member
skydd

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top