ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   IF CONTAINS (https://www.excelbanter.com/new-users-excel/28098-if-contains.html)

Bill Ridgeway

IF CONTAINS
 
Could someone help please?

I am looking for the Excel formula equivalent of the ?SQL command that will
return true or false dependent on a text string being found in a particular
cell.

Thanks.

Bill Ridgeway
Computer Solutions



Bob Phillips

=ISNUMBER(FIND("text",A1))

if case sensitive

=ISNUMBER(SEARCH("text",A1))

if not

--
HTH

Bob Phillips

"Bill Ridgeway" wrote in message
...
Could someone help please?

I am looking for the Excel formula equivalent of the ?SQL command that

will
return true or false dependent on a text string being found in a

particular
cell.

Thanks.

Bill Ridgeway
Computer Solutions






All times are GMT +1. The time now is 07:41 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com