Finding a specific text in a cell

S

shriil

Hi

I have a column which has remarks stored in each row, e.g.

Col A
'may be awarded on manpower rates'
'can be awarded on general quotation Ref No. XXX'
'has carried out the job on basis of general quotation'

For Column B, I would like to search the word "general" in Column A,
and if found then the value in Column B will be "YES" and if not "NO".

How do I go about it? Thanks for the help


shriil
 
L

Lars-Åke Aspelin

Hi

I have a column which has remarks stored in each row, e.g.

Col A
'may be awarded on manpower rates'
'can be awarded on general quotation Ref No. XXX'
'has carried out the job on basis of general quotation'

For Column B, I would like to search the word "general" in Column A,
and if found then the value in Column B will be "YES" and if not "NO".

How do I go about it? Thanks for the help


shriil


Try this formula in cell B1 and copy down as far as needed:

=IF(ISERROR(FIND("general",A1)),"NO","YES")

If you don't care about lower/upper case letter you can use SEARCH
instead of FIND.

Hope this helps / Lars-Åke
 
S

slah

Try this formula in cell B1 and copy down as far as needed:

=IF(ISERROR(FIND("general",A1)),"NO","YES")

If you don't care about lower/upper case letter you can use SEARCH
instead of FIND.

Hope this helps / Lars-Åke- Hide quoted text -

- Show quoted text -

Thanks. that helped

shriil
 

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