isnumber search

  • Thread starter Thread starter scottay
  • Start date Start date
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
 
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
 
How about:

=IF(ISNUMBER(SEARCH("FHA",E6)),"FHA",IF(ISNUMBER(SEARCH("VA",E6)),"VA",IF(ISNUMBER(SEARCH("streamline",E6)),"streamline","conv")))
 
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
.
 
Back
Top