Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / September 2005

Tip: Looking for answers? Try searching our database.

Extract each item in the list by function

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
0-0 Wai Wai ^-^ - 07 Sep 2005 23:15 GMT
Hi.
The cell A1 contains:
Here's the shopping list: pig, dog, hamburger, chocolate..., beef. Please
purchase all of them. Thanks!

I would like to extract each item separately to different cells, ie
B1:
=Display1stItem
B2:
=Display2ndItem
...
B?:
=DisplayLastItem + CropText ". Please purchase all of them. Thanks!"

How to do?

Signature

Additional information:
- I'm using Office XP
- I'm using Windows XP

0-0 Wai Wai ^-^ - 07 Sep 2005 23:35 GMT
Forget to say.
There are different contents with different item list.
Plus the wording of the contents and items are subject to change.
So something like: MID(A1, 24, 5) is not preferred.

Probably they can figure out which word to extract by pattern.
In my case, when the list starts, it must start with colon (:).
For each item, comma (,) is used to separate each of them.

So it would be if a function manages to work like the following:
... ...: pig, cow, button. ...

... Read (:). the extracting starts -->
Read pig --> Read (,) --> the item is extracted.
Read cow --> Read (,) --> the item is extracted.
Read button --> Read (.) --> the item is extracted, and stop reading after that
fullstop(.)

Signature

Additional information:
- I'm using Office XP
- I'm using Windows XP

Arvi Laanemets - 08 Sep 2005 06:15 GMT
Hi

Text-To-Columns feature (you can find it from Data menu) with comma and
colon as delimiters will do. (You must have enough empty columns to right of
the one with entries). As result, you get all entries separated into
columns - the text to left of colon remains unmoved, the 1st item in next
column, etc.

Signature

Arvi Laanemets
( My real mail address: arvil<at>tarkon.ee )

> Hi.
> The cell A1 contains:
[quoted text clipped - 11 lines]
>
> How to do?
0-0 Wai Wai ^-^ - 08 Sep 2005 11:03 GMT
Note:
I have moved my question to "microsoft.public.excel.worksheet.functions"
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.