Re: Search for multiple words
From: Domenic (Domenic.1ejfen_at_excelforum-nospam.com)
Date: 10/22/04
- Next message: gatwickxx: "Re: How do I keep hidden columns and rows hidden when copying and pri."
- Previous message: gatwickxx: "Re: How do you delete a page in Excel?"
- In reply to: titoto: "Search for multiple words"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 22 Oct 2004 12:04:39 -0500
I'm not sure this is what you're looking for, but see if this helps...
B1, copied down:
=CHOOSE(MATCH(TRUE,ISNUMBER(SEARCH($D$1:$D$2,A1)),0),"Paul","Marc")
..entered using CONTROL+SHIFT+ENTER, where D1:D2 contain the words for
which you're searching. You'll be able to expand the list of words for
which to search. Make sure you make the necessary adjustments to the
formula. For example, you'll have to change the range (D1:D2) and
you'll have to add the values/names...
Choose(...,"Paul","Marc",etc...)
Hope this helps!
titoto Wrote:
> I need a formula which would enable me to search for more than 7 words
> ( I
> have at least 20 word) and when 1 of the word is found to display that
> word.
> In any given cell will contain 1 of the words needed.
>
> 'IF', 'Countif' function allow no more than 7 words.Any idea
> eg
> A B
> hdfjjkduo...PAUL...iuepoipwp search PAUL or MARC or so on-
> Result
> = PAUL
>
>
> hhjhwoujiowqu...MARC...ioo Result = MARC
> so on so on
-- Domenic ------------------------------------------------------------------------ Domenic's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=10785 View this thread: http://www.excelforum.com/showthread.php?threadid=271597
- Next message: gatwickxx: "Re: How do I keep hidden columns and rows hidden when copying and pri."
- Previous message: gatwickxx: "Re: How do you delete a page in Excel?"
- In reply to: titoto: "Search for multiple words"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|