Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Search text
A1 = "A24D"
I want to look up cell A1 for A2?D, similar to search text. Cell B1 = 1 if A1 contains text A2?D, "" otherwise. Can it be formulated? Thanks |
#2
|
|||
|
|||
=IF(AND(ISNUMBER(FIND("A2",A1)),ISNUMBER(FIND("D", A1))),IF(FIND("D",A1)=FIND
("A2",A1)+3,1,""),"") -- HTH Bob Phillips "lashio" wrote in message ... A1 = "A24D" I want to look up cell A1 for A2?D, similar to search text. Cell B1 = 1 if A1 contains text A2?D, "" otherwise. Can it be formulated? Thanks |
#3
|
|||
|
|||
One mo
=IF(COUNTIF(A1,"a2?d")0,1,"") The question mark in this formula is a wildcard for a single character. lashio wrote: A1 = "A24D" I want to look up cell A1 for A2?D, similar to search text. Cell B1 = 1 if A1 contains text A2?D, "" otherwise. Can it be formulated? Thanks -- Dave Peterson |
#4
|
|||
|
|||
Thank you, Bob
"Bob Phillips" wrote in message ... =IF(AND(ISNUMBER(FIND("A2",A1)),ISNUMBER(FIND("D", A1))),IF(FIND("D",A1)=FIND ("A2",A1)+3,1,""),"") -- HTH Bob Phillips "lashio" wrote in message ... A1 = "A24D" I want to look up cell A1 for A2?D, similar to search text. Cell B1 = 1 if A1 contains text A2?D, "" otherwise. Can it be formulated? Thanks |
#5
|
|||
|
|||
Thank you, Dave
So helpful! "Dave Peterson" wrote in message ... One mo =IF(COUNTIF(A1,"a2?d")0,1,"") The question mark in this formula is a wildcard for a single character. lashio wrote: A1 = "A24D" I want to look up cell A1 for A2?D, similar to search text. Cell B1 = 1 if A1 contains text A2?D, "" otherwise. Can it be formulated? Thanks -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Return text found in a search | Excel Worksheet Functions | |||
Search a Column by text length | Excel Worksheet Functions | |||
How do I search for text within text? | Excel Discussion (Misc queries) | |||
Read Text File into Excel Using VBA | Excel Discussion (Misc queries) | |||
Newbie: How to search a text string from right | Excel Worksheet Functions |