Finding a text string w/in a Cell
On Thu, 16 Mar 2006 16:30:04 -0600, ricxl
wrote:
Thanks, for much for the effort in this. I'll try to explain further:
Trying again to explain this
Step 1 - Data in original format: Need to extract the Upper Case
names and input them into a the next column.
column1
acBOBee
eDICKrt
oTOMidk
pHARRYw
dfBOBrr
rtBOBkj
kTOMrrq
Step 2
Column1 1 is the original data. I need to pull a specific string out
of each of the cells:
and put them in to Column2. What is below would be the ideal result,
but what I can now do is only one item, "BOB" for exaple, at a time and
I would need to copy the result for BOB to a 3rd column and then run the
formula again for the next case "DICK" but before that is done, manually
cut & paste BOB to another column then run through the procedure for BOB
DICK HARRY & TOM. Very tedious.
One of the formulas suggested easily extracts the data, but I still
have to cut & paste.
column1 column2
acBOBee BOB rem achieved through
=IF(ISNUMBER(SEARCH("BOB",Col1)),"BOB","")
eDICKrt DICK rem achieved through
=IF(ISNUMBER(SEARCH("DICK",Col1)),"DICK","")
oTOMidk TOM
pHARRYw HARRY
dfBOBrr BOB
rtBOBkj BOB
kTOMrrq TOM
This looks to be the same task that Rookie_User is seeking.
I also thought of matching a value in a 3rd & 4th column, and can do it
with exact matchs, but not when looking at a portion of a string in a
larger string.
Formula would be
=INDEX(col2 ,match(cell col4,range col3))
Col 2 would be the pool of unique data
cell in col4 is the look up
Col4 is match
I'll post this in Rookie_User as well.
Thanks
Ric D
Navigating to the excel forum and looking at what you've posted there, it seems
to me that my second solution would work:
=REGEX.MID(B1,MCONCAT(rng,"|"))
In rng you would have your list of lookup strings:
Sump Seal
Spool
OBP
Disk
Aft Shaft
--ron
|