Place an X next to a cell that contains a word

J

jerredjohnson

I have a column that has words in each cell. I want to search throug
the column and for any cell containing the word 'base' i want to plac
an X in the cell next to it.

How can I do this?

Please help!

Thanks,
Jerre
 
E

Elkar

Let's say your column of data is Column A. In Column B enter the formula:

=IF(ISERROR(SEARCH("base",A1)),"","X")

Copy the formula down Column B as needed.

HTH,
Elkar
 
P

paul

=IF(ISERROR(SEARCH("base",D15,1)),"","x").
replace the d15 with the first reference to search and copy down
in my lttle test,base,scott base,baseball returned an x ,a blank cell or a
cell with no base remained Blank
 
D

Dave Peterson

One more:

=if(countif(a1,"*" & "Base" & "*")=0,"","X")
or
=if(countif(a1,"*Base*")=0,"","X")
or
=if(countif(a1,"*" & C999 & "*")=0,"","X")
if c999 holds the word Base.
 
Top