You're right, Rick. I think I first had it say Found/Not Found then changed
it to True/False but didn't realize I no longer needed the IF function. For
the OP, you'll only need the IF function call if you want it to say something
other than True/False in the cell.
=IF(ISNUMBER(SEARCH(A2,K2,1)), "Found", "Not Found")
--
Hope that helps.
Vergel Adriano
"Rick Rothstein (MVP - VB)" wrote:
> > try this formula in L2:
> >
> > =IF(ISNUMBER(SEARCH(A2,K2,1)), TRUE, FALSE)
> >
> >
> > It will return TRUE if value in A2 is found in K2.
>
> Since ISNUMBER returns TRUE or FALSE directly, you don't really need the IF
> function call to repeat those results. This works exactly the same....
>
> =ISNUMBER(SEARCH(A2,K2,1))
>
> Rick
>
>
|