Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
FIND TEXT IN 1 CELL, COMPARE TO ANOTHER CELL
(071029) FIND TEXT IN 1 CELL, COMPARE TO ANOTHER CELL
Hi, trying to compare text, e.g.: $B$2: A0 B0 C0 D0 E0 F0 B9: F00 trying to see if the left 2 characters in B9 exist in B2, but when use just "F" in B9, get a false positive/TRUE result, using: =ISNUMBER(SEARCH(LEFT(B9,2),$B$2)) thanks. |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
FIND TEXT IN 1 CELL, COMPARE TO ANOTHER CELL
You could check for B9 being two characters first:
=IF(LEN(B9)<2,"too few chars",ISNUMBER(SEARCH(LEFT(B9,2),$B$2))) Hope this helps. Pete On Oct 29, 11:51 pm, nastech wrote: (071029) FIND TEXT IN 1 CELL, COMPARE TO ANOTHER CELL Hi, trying to compare text, e.g.: $B$2: A0 B0 C0 D0 E0 F0 B9: F00 trying to see if the left 2 characters in B9 exist in B2, but when use just "F" in B9, get a false positive/TRUE result, using: =ISNUMBER(SEARCH(LEFT(B9,2),$B$2)) thanks. |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
FIND TEXT IN 1 CELL, COMPARE TO ANOTHER CELL
The TRUE result is not False. With just an F in B9, the LEFT returns the F
and the SEARCH can surely find it. -- Gary''s Student - gsnu2007 "nastech" wrote: (071029) FIND TEXT IN 1 CELL, COMPARE TO ANOTHER CELL Hi, trying to compare text, e.g.: $B$2: A0 B0 C0 D0 E0 F0 B9: F00 trying to see if the left 2 characters in B9 exist in B2, but when use just "F" in B9, get a false positive/TRUE result, using: =ISNUMBER(SEARCH(LEFT(B9,2),$B$2)) thanks. |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
FIND TEXT IN 1 CELL, COMPARE TO ANOTHER CELL
OR(is false because it is not the consequence I am looking for..
"Gary''s Student" wrote: The TRUE result is not False. With just an F in B9, the LEFT returns the F and the SEARCH can surely find it. -- Gary''s Student - gsnu2007 "nastech" wrote: (071029) FIND TEXT IN 1 CELL, COMPARE TO ANOTHER CELL Hi, trying to compare text, e.g.: $B$2: A0 B0 C0 D0 E0 F0 B9: F00 trying to see if the left 2 characters in B9 exist in B2, but when use just "F" in B9, get a false positive/TRUE result, using: =ISNUMBER(SEARCH(LEFT(B9,2),$B$2)) thanks. |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
FIND TEXT IN 1 CELL, COMPARE TO ANOTHER CELL
thanks, that should do it.
would recommend combination of commands in 2 or 3 letter abbreviations, mnemonics.. e.g.: (isnumber(search could be: IS(LEFT(B9,2),$B$2) but would allow inclusive / exclusive properties programmed in such as: =IF(LEN(B9)<2,FALSE,ISNUMBER(SEARCH(LEFT(B9,2),$B$ 2))) resources being what they are. "Pete_UK" wrote: You could check for B9 being two characters first: =IF(LEN(B9)<2,"too few chars",ISNUMBER(SEARCH(LEFT(B9,2),$B$2))) Hope this helps. Pete On Oct 29, 11:51 pm, nastech wrote: (071029) FIND TEXT IN 1 CELL, COMPARE TO ANOTHER CELL Hi, trying to compare text, e.g.: $B$2: A0 B0 C0 D0 E0 F0 B9: F00 trying to see if the left 2 characters in B9 exist in B2, but when use just "F" in B9, get a false positive/TRUE result, using: =ISNUMBER(SEARCH(LEFT(B9,2),$B$2)) thanks. |
#6
Posted to microsoft.public.excel.misc
|
|||
|
|||
FIND TEXT IN 1 CELL, COMPARE TO ANOTHER CELL
thinking that zero "0" will return an "unquote" false positive. will check,
but seems like a tuff fix. thanks. "Pete_UK" wrote: You could check for B9 being two characters first: =IF(LEN(B9)<2,"too few chars",ISNUMBER(SEARCH(LEFT(B9,2),$B$2))) Hope this helps. Pete On Oct 29, 11:51 pm, nastech wrote: (071029) FIND TEXT IN 1 CELL, COMPARE TO ANOTHER CELL Hi, trying to compare text, e.g.: $B$2: A0 B0 C0 D0 E0 F0 B9: F00 trying to see if the left 2 characters in B9 exist in B2, but when use just "F" in B9, get a false positive/TRUE result, using: =ISNUMBER(SEARCH(LEFT(B9,2),$B$2)) thanks. |
#7
Posted to microsoft.public.excel.misc
|
|||
|
|||
FIND TEXT IN 1 CELL, COMPARE TO ANOTHER CELL
Hi
Try =ISNUMBER(FIND(LEFT(B9,2)&" ",$B$2&" ")) -- Regards Roger Govier "nastech" wrote in message ... OR(is false because it is not the consequence I am looking for.. "Gary''s Student" wrote: The TRUE result is not False. With just an F in B9, the LEFT returns the F and the SEARCH can surely find it. -- Gary''s Student - gsnu2007 "nastech" wrote: (071029) FIND TEXT IN 1 CELL, COMPARE TO ANOTHER CELL Hi, trying to compare text, e.g.: $B$2: A0 B0 C0 D0 E0 F0 B9: F00 trying to see if the left 2 characters in B9 exist in B2, but when use just "F" in B9, get a false positive/TRUE result, using: =ISNUMBER(SEARCH(LEFT(B9,2),$B$2)) thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Maddening Dilemma - Compare each cell within column a to each cell in column b and find unique matches | Excel Worksheet Functions | |||
FIND / SEARCH text compare cell to string in 3rd cell | Excel Discussion (Misc queries) | |||
Compare text string of a cell in Column A VS another cell in Colum | New Users to Excel | |||
Compare text string of a cell in Column A VS another cell in Colum | Excel Discussion (Misc queries) | |||
Compare text string of a cell in Column A VS another cell in Colum | Excel Worksheet Functions |