Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15
Default SEARCH(find_text,within_text,start_num)

Hi there,

Is there a way to specify the 'find_text' to be one of a selection of
strings? For instance:

SEARCH("blue" or "red",B2,1)

To look for either the words blue or red/

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default SEARCH(find_text,within_text,start_num)

It depends on how you're using it:

=OR(ISNUMBER(SEARCH({"blue","red"},B2)))

--
Biff
Microsoft Excel MVP


"dangerd" wrote in message
ups.com...
Hi there,

Is there a way to specify the 'find_text' to be one of a selection of
strings? For instance:

SEARCH("blue" or "red",B2,1)

To look for either the words blue or red/

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15
Default SEARCH(find_text,within_text,start_num)

On 30 Oct, 17:30, "T. Valko" wrote:
It depends on how you're using it:

=OR(ISNUMBER(SEARCH({"blue","red"},B2)))

--
Biff
Microsoft Excel MVP

"dangerd" wrote in message

ups.com...



Hi there,


Is there a way to specify the 'find_text' to be one of a selection of
strings? For instance:


SEARCH("blue" or "red",B2,1)


To look for either the words blue or red/


Thanks- Hide quoted text -


- Show quoted text -


Humm thanks,

I don't know what you mean. I am using it in the following way:

=IF(ISNUMBER(OR(SEARCH({"*red*","*blue*"},F3))),"f ood",)

but it does not work.

Any idea?


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default SEARCH(find_text,within_text,start_num)

Try it like this:

=IF(OR(ISNUMBER(SEARCH({"blue","red"},F3))),"food" ,"")


--
Biff
Microsoft Excel MVP


"dangerd" wrote in message
ups.com...
On 30 Oct, 17:30, "T. Valko" wrote:
It depends on how you're using it:

=OR(ISNUMBER(SEARCH({"blue","red"},B2)))

--
Biff
Microsoft Excel MVP

"dangerd" wrote in message

ups.com...



Hi there,


Is there a way to specify the 'find_text' to be one of a selection of
strings? For instance:


SEARCH("blue" or "red",B2,1)


To look for either the words blue or red/


Thanks- Hide quoted text -


- Show quoted text -


Humm thanks,

I don't know what you mean. I am using it in the following way:

=IF(ISNUMBER(OR(SEARCH({"*red*","*blue*"},F3))),"f ood",)

but it does not work.

Any idea?




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
Seo , Search Engine Optimizer , Seo Search engine Optimization , search engine optimization services, SEO Consulting Se0 Guy Excel Worksheet Functions 0 March 8th 07 04:08 AM
Seo , Search Engine Optimizer , Seo Search engine Optimization , search engine optimization services, SEO Consulting Se0 Guy Setting up and Configuration of Excel 0 March 8th 07 04:08 AM
Seo , Search Engine Optimizer , Seo Search engine Optimization , search engine optimization services, SEO Consulting Se0 Guy Links and Linking in Excel 0 March 8th 07 04:08 AM
Seo , Search Engine Optimizer , Seo Search engine Optimization , search engine optimization services, SEO Consulting Se0 Guy Charts and Charting in Excel 0 March 8th 07 04:08 AM
How do I search excel spreadsheets using multiple search criteria. Kasper Excel Worksheet Functions 4 December 15th 05 12:26 AM


All times are GMT +1. The time now is 11:26 AM.

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"