I don't quite follow exactly what you're trying to do.
Are you saying that you have 30 possible values to search for in Column A,
and you want to be able to *change* the value you're looking for at any
particular time?
If so, enter the value to find in say C1, and try this:
=IF(ISNUMBER(SEARCH($C$1,A1)),$C$1,"")
To find a different value, just change the contents of C1.
OR, are you saying that you're looking for *any* of those 30 values at the
*same time*, and want to flag the row that they're found in.
To reference those 30 values you'll need to make a datalist, say in an
out-of-the-way location, Z1 to Z30.
Since these particular values will be combined with other values within the
cells, this datalist *must* include the asterisk wildcard,
something like this:
*Tom*
*Dick*
*harry*
*general*
.... etc.
Now, assign a name to this data range.
Select Z1 to Z30, and click in the name box (left of the formula bar), and
type something short, like:
list
Then hit <Enter>.
Now, in B1, enter this formula:
=IF(SUMPRODUCT(COUNTIF(A1,INDIRECT("list")))>0,"FOUND","")
And copy down as needed.
Each time one or more of the values in your datalist is found in Column A,
"FOUND" will display in the corresponding row in Column B.
If neither of these guesses of mine are what you want, post back with a more
definitive explanation.