Excel 2002 – text extraction issue

robertsmyth100

Board Regular
Joined
Sep 25, 2006
Messages
94
Hello everybody,

I have a small issue that I was hoping for some help with. Basically I have a list of words which contain certain words that I wish to extract and put in another column. The words are in the text in different places (start, middle, end) and some are separated by a space and sometimes not. The list of words that I want to extract are in separate table. So for example my list of words are:

Acid nig
acid hep
hat acid
alki hed
alkitex
ttpf alki
pet dev
pethep
nig pet

And the list of words I want to extract and put in a column next to them are:
acid
alki
pet

So my final table would look a like this.
Acid nig acid
acid hep acid
hat acid acid
alki hed alki
alkitex alki
ttpf alki alki
pet dev pet
pethep pet
nig pet pet

this table didnt come out very well but bascially the third word in each row is the 2nd column.

Any help would be mucho appreciated…
 
The 1/Search bit will return an array of error values and numbers less than or equal to 1 (and above zero), therefore the 2 as the lookup value will always return the position of the highest numerical value in the search array that is less than 2 (and they all will be because 1 is being divided by a number greater than or equal to 1).

Crap explanation, but does it help?

That's why I also posted the 9.999+E307 as a possibility, as this will always be greater than the length of a string.

Richard
 
Upvote 0

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Hi Barry and Richard,

Thanks for your explainations (and to Aladin) ...I will study them and save them for future reference....a great help to me and all who read this thread.

plettieri
 
Upvote 0

Forum statistics

Threads
1,214,974
Messages
6,122,536
Members
449,088
Latest member
RandomExceller01

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top