futurejock
New Member
- Joined
- May 31, 2009
- Messages
- 20
Hi,
I may need just some nomenclature or switch
I have named a range of "find text" in a column.
I am searcing a "within text" column of cells, each with a text string.
I want to return match / no match for exact phrases, in exact order, NOT case sensitive.
I also want to continue getting a match for sincle words in the "find text" column (list).
Currently I get a match if a complete find text word is found, which is good since I don't want partial words or compound words in the text strings to match.
BUT if there are two or more words in my find text phrase,
I get a match even if one word is in the "within text" column.
For instance:
find text:
brown cow
yellow cow
within text:
the cow jumped over the moon
2) the brown cow is a funny cow
the cow is mellow, the one that is yellow
brown and yellow are the names of my cows
5) ****brown paddies line the cowyard
my son's hair has a brown cowlick.
I ONLY want to "match" for string example #2,
AND I want "No Match" for all the others.
Currently all of these except #5 match.
Also I have two ranges searching right now such as
CowsILike
Brown Cow
Yellow Cow
CowsIDon'tLike
Red Cow
Blue Cow
and the formula I am using is this:
=IF(ISERROR(LOOKUP(9.99999999999999E+307,SEARCH(" "&CowsILike&" "," "&A4&" "),CowsILike)),IF(ISERROR(LOOKUP(9.99999999999999E+307,SEARCH(" "&CowsIDon'tLike&" "," "&A4&" "),CowsIDon'tLike)),"MAYBECowsI'llConsiderLiking","CowsIDOn'tLike"),"CowsILike")
Thanks,
Dan
I may need just some nomenclature or switch
I have named a range of "find text" in a column.
I am searcing a "within text" column of cells, each with a text string.
I want to return match / no match for exact phrases, in exact order, NOT case sensitive.
I also want to continue getting a match for sincle words in the "find text" column (list).
Currently I get a match if a complete find text word is found, which is good since I don't want partial words or compound words in the text strings to match.
BUT if there are two or more words in my find text phrase,
I get a match even if one word is in the "within text" column.
For instance:
find text:
brown cow
yellow cow
within text:
the cow jumped over the moon
2) the brown cow is a funny cow
the cow is mellow, the one that is yellow
brown and yellow are the names of my cows
5) ****brown paddies line the cowyard
my son's hair has a brown cowlick.
I ONLY want to "match" for string example #2,
AND I want "No Match" for all the others.
Currently all of these except #5 match.
Also I have two ranges searching right now such as
CowsILike
Brown Cow
Yellow Cow
CowsIDon'tLike
Red Cow
Blue Cow
and the formula I am using is this:
=IF(ISERROR(LOOKUP(9.99999999999999E+307,SEARCH(" "&CowsILike&" "," "&A4&" "),CowsILike)),IF(ISERROR(LOOKUP(9.99999999999999E+307,SEARCH(" "&CowsIDon'tLike&" "," "&A4&" "),CowsIDon'tLike)),"MAYBECowsI'llConsiderLiking","CowsIDOn'tLike"),"CowsILike")
Thanks,
Dan