Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 193
Default Search cell for any of 6 criteria

Have cells containing numerous text strings.
If the cell contains within its contents (which also has other
characters:)

.12 or .19 or TRS or PKI or .099 or PCI

Want to return TRUE, or FALSE.

Tried incarnations of this, but it doesn't behave.
=ISNUMBER(SEARCH("*.12*","*.19*","*TRS*","*PKI*"," *.099*","*PCI*",A1))

Thanks for ideas.

Pierre

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 60
Default Search cell for any of 6 criteria

Try this:
=OR(COUNTIF(A1,"*"&{".12",".19","TRS","PKI",".099" ,"PCI"}&"*"))

Is that something you can work with?

Regards,

Ron Coderre
Microsoft MVP (Excel)

"Pierre" wrote in message
...
Have cells containing numerous text strings.
If the cell contains within its contents (which also has other
characters:)

.12 or .19 or TRS or PKI or .099 or PCI

Want to return TRUE, or FALSE.

Tried incarnations of this, but it doesn't behave.
=ISNUMBER(SEARCH("*.12*","*.19*","*TRS*","*PKI*"," *.099*","*PCI*",A1))

Thanks for ideas.

Pierre

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 193
Default Search cell for any of 6 criteria

On Mar 24, 11:16*am, "Ron Coderre" wrote:
Try this:
=OR(COUNTIF(A1,"*"&{".12",".19","TRS","PKI",".099" ,"PCI"}&"*"))

Is that something you can work with?

Regards,

Ron Coderre
Microsoft MVP (Excel)

"Pierre" wrote in message

...



Have cells containing numerous text strings.
If the cell contains within its contents (which also has other
characters:)


.12 or .19 or TRS or PKI or .099 or PCI


Want to return TRUE, or FALSE.


Tried incarnations of this, but it doesn't behave.
=ISNUMBER(SEARCH("*.12*","*.19*","*TRS*","*PKI*"," *.099*","*PCI*",A1))


Thanks for ideas.


Pierre- Hide quoted text -


- Show quoted text -



Ron, thank you!

Pierre
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 265
Default Search cell for any of 6 criteria

Amending your formula...

=OR(ISNUMBER(SEARCH({".12",".19","TRS","PKI",".099 ","PCI"},A1)))

Hope this helps!

Domenic
www.xl-central.com

In article
,
Pierre wrote:

Have cells containing numerous text strings.
If the cell contains within its contents (which also has other
characters:)

.12 or .19 or TRS or PKI or .099 or PCI

Want to return TRUE, or FALSE.

Tried incarnations of this, but it doesn't behave.
=ISNUMBER(SEARCH("*.12*","*.19*","*TRS*","*PKI*"," *.099*","*PCI*",A1))

Thanks for ideas.

Pierre

Reply
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
Multiple search criteria jaysan3 Excel Worksheet Functions 2 January 15th 09 05:57 AM
Search criteria please Steved Excel Discussion (Misc queries) 4 September 20th 07 12:48 AM
Search Criteria Prompting mjttennis12 Excel Discussion (Misc queries) 0 August 22nd 07 04:18 PM
How do I search excel spreadsheets using multiple search criteria. Kasper Excel Worksheet Functions 4 December 15th 05 12:26 AM
Search Range for Criteria in given cell and produce results RFreeman12 Excel Discussion (Misc queries) 3 June 27th 05 09:23 PM


All times are GMT +1. The time now is 09:01 PM.

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

About Us

"It's about Microsoft Excel"