isnumber search

S

scottay

Hi,
Can you please help? Trying to look for words in a cell if it contains
"FHA" then give me FHA. If it contains "VA" then give me VA. If it contains
"Streamline" then give me Streamiline. Anything else give me Conv. I am
trying this: =IF(ISNUMBER(SEARCH("FHA",E6)),"FHA") but I can't seem to string
the next If statements together properly.
Thanks,
Scot
 
L

Lars-Åke Aspelin

Hi,
Can you please help? Trying to look for words in a cell if it contains
"FHA" then give me FHA. If it contains "VA" then give me VA. If it contains
"Streamline" then give me Streamiline. Anything else give me Conv. I am
trying this: =IF(ISNUMBER(SEARCH("FHA",E6)),"FHA") but I can't seem to string
the next If statements together properly.
Thanks,
Scot


Try this formula:

=INDEX({"FHA","VA","Streamiline","Conv"},MATCH(TRUE,ISNUMBER(SEARCH({"FHA","VA","Streamline",""},E6)),0))

Hope this helps / Lars-Åke
 
G

Gary''s Student

How about:

=IF(ISNUMBER(SEARCH("FHA",E6)),"FHA",IF(ISNUMBER(SEARCH("VA",E6)),"VA",IF(ISNUMBER(SEARCH("streamline",E6)),"streamline","conv")))
 
S

scottay

Works great.
Thanks!

Lars-Ã…ke Aspelin said:
Try this formula:

=INDEX({"FHA","VA","Streamiline","Conv"},MATCH(TRUE,ISNUMBER(SEARCH({"FHA","VA","Streamline",""},E6)),0))

Hope this helps / Lars-Ã…ke
.
 

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