LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
fLiPMoD£
 
Posts: n/a
Default Search string with multiple criteria

Hi
I'm trying to write a formula that does the following. If the text string in
column Q contains any of the following text strings "HELIE","PUSWJ" or
"Jersey" then return a text string of "jersey" in coumn AH.

When i try

=IF(OR(SEARCH("*jersey*",Q:Q), SEARCH("*puswj*",Q:Q),SEARCH("*helie*",Q:Q)),
"Jersey", "Not Jersey")

I get an error #value
...............
However when i tried this,

=IF(SEARCH("*jersey*",Q:Q),"Jersey",IF(SEARCH("*he lie*",Q:Q),"Jersey",IF(SEA
RCH("*PUSWJ*",Q:Q),"Jersey","Not Jersey")))

I only get a result if jersey is in the string. The other are not picked up
by the above formula.

Thank you all very much in advance.

......Coming from Where I'm From.



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I search for a string across multiple worksheets in Excel? BBiletch Excel Worksheet Functions 2 April 5th 05 11:59 PM
how do I search by more than one criteria in excel? vulcan88 Excel Worksheet Functions 2 March 15th 05 09:18 PM
Finding a record using multiple combo boxes as my search criteria sdg8481 Excel Discussion (Misc queries) 8 March 8th 05 08:36 PM
Can I get the mode, min, and max with multiple criteria? BobT Excel Discussion (Misc queries) 1 February 15th 05 03:20 AM
sumproduct using multiple criteria tifosi3 Excel Worksheet Functions 2 January 6th 05 08:46 PM


All times are GMT +1. The time now is 11:14 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"