Function for "Contains"

  • Thread starter Andrew Mackenzie
  • Start date
A

Andrew Mackenzie

Hi all,

Hopefully someone can tell me what function I should use to determins
whether a cell contains the text "(FX)" to be used in an IF statement. E.g.

In cell A1 I have "ABC Corporation (FX)", in cell A2 I have "ABC
Corporation" and in Cell A3 I have "ABC (FX) Corporation". In cells B1 to
B3 I want a formula that returns TRUE in B1 and B3 and FALSE in B2.

Thanks in advance.

Cheers,

Andrew
 
M

Mike H

Did you want to check for parenthesis as well

=NOT(ISERROR(SEARCH("(FX)",A1)))

Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top