Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default Nested function 'FIND(OR)'

One way:

If you're just checking for the presence of at least one of the words:

=SUM(COUNTIF(A1,{"*word1*","*word2*","*word3*"})) 0


In article ,
Titoto wrote:

is there a way to use the function 'FIND(OR)' to search for multiple words
within a cell

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Nested function 'FIND(OR)'

Countif tells me a word is within the is there, but I don't know wich word.
I would like the formula to find/search for multiple words and display the
word find.
PS. in any given cell will contain 1 of the words needed.

Thanks for your help

"JE McGimpsey" wrote:

One way:

If you're just checking for the presence of at least one of the words:

=SUM(COUNTIF(A1,{"*word1*","*word2*","*word3*"})) 0


In article ,
Titoto wrote:

is there a way to use the function 'FIND(OR)' to search for multiple words
within a cell


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default Nested function 'FIND(OR)'

Then you could use something like:


=IF(COUNTIF(A1,"*word1*"),"word1",IF(COUNTIF(A1,"* word2*"),"word2",IF(COU
NTIF("*word3*"),"word3","")))



In article ,
titoto wrote:

Countif tells me a word is within the is there, but I don't know wich word.
I would like the formula to find/search for multiple words and display the
word find.
PS. in any given cell will contain 1 of the words needed.

Thanks for your help

"JE McGimpsey" wrote:

One way:

If you're just checking for the presence of at least one of the words:

=SUM(COUNTIF(A1,{"*word1*","*word2*","*word3*"})) 0


In article ,
Titoto wrote:

is there a way to use the function 'FIND(OR)' to search for multiple
words
within a cell


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Nested function 'FIND(OR)'

Thanks - I tried 3 words and it is working fine - I don't think 'IF' function
will allow more than 7 words and I have roughly 20.
Any idea
Again thanks
"JE McGimpsey" wrote:

Then you could use something like:


=IF(COUNTIF(A1,"*word1*"),"word1",IF(COUNTIF(A1,"* word2*"),"word2",IF(COU
NTIF("*word3*"),"word3","")))



In article ,
titoto wrote:

Countif tells me a word is within the is there, but I don't know wich word.
I would like the formula to find/search for multiple words and display the
word find.
PS. in any given cell will contain 1 of the words needed.

Thanks for your help

"JE McGimpsey" wrote:

One way:

If you're just checking for the presence of at least one of the words:

=SUM(COUNTIF(A1,{"*word1*","*word2*","*word3*"})) 0


In article ,
Titoto wrote:

is there a way to use the function 'FIND(OR)' to search for multiple
words
within a cell


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
Nested MID and FIND - OR? Brenda Excel Worksheet Functions 3 January 14th 10 01:58 AM
Nested IF, reports incorrectly, can't find anything like it to ref Chris T-M Excel Worksheet Functions 6 September 12th 07 03:20 PM
Offset function with nested match function not finding host ss. MKunert Excel Worksheet Functions 1 March 21st 06 10:46 PM
Nested IF Function, Date Comparing, and NetworkDays Function carl Excel Worksheet Functions 2 December 29th 04 09:57 PM
Nested Find problem MikeR[_2_] Excel Programming 1 July 14th 03 12:17 AM


All times are GMT +1. The time now is 10:03 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"