Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Thumbpick
 
Posts: n/a
Default Excel - convert row address listing to columnar database

I have a mailing list of addresses in rows (mostly 3 rows), e.g.,
Mr. & Mrs. Anthony Strebek
8205 Dorset Lane
Springfield, MO 33345-1234

But some are 4 rows:
Mr. & Mrs. Albert Stratton
7789 Quonset Drive
Apt. 203
Portland, ME 22152

I want to convert it to a database, e.g.,
Streber,Anthony,8205,Dorset,Lane,Springfield,MO,33 345

Is there a macro or formula to make this easier than retyping everything?

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.misc
Tom Ogilvy
 
Posts: n/a
Default Excel - convert row address listing to columnar database

You want every space and "end-of-line" replaced with a comma?

--
Regards,
Tom Ogivy


"Thumbpick" wrote in message
...
I have a mailing list of addresses in rows (mostly 3 rows), e.g.,
Mr. & Mrs. Anthony Strebek
8205 Dorset Lane
Springfield, MO 33345-1234

But some are 4 rows:
Mr. & Mrs. Albert Stratton
7789 Quonset Drive
Apt. 203
Portland, ME 22152

I want to convert it to a database, e.g.,
Streber,Anthony,8205,Dorset,Lane,Springfield,MO,33 345

Is there a macro or formula to make this easier than retyping everything?

Thanks!



  #3   Report Post  
Posted to microsoft.public.excel.misc
elgeejay
 
Posts: n/a
Default Excel - convert row address listing to columnar database


No…. sorry, poor example on my part. What I really need to do is convert
a row format addr listing to a flat file, parsed addr listing (i.e., one
row); e.g.,

From:

John Doe
Blast, Inc.
123 maple Ave
Philadelphia, PA 19026-2234

To:

A1 B1 C1 D1 E1 F1 G1
H1 I1
Doe John Blast Inc 123 Maple Ave Philadelphia PA
19024-2234

As I said, some are 3 line, some are 4. Also, I’ve inherited a poorly
designed addr listing… sometimes the 2nd row is an addr, sometimes the
street addr (in which case the st addr is 3rd line). However, none is
more that 4 rows. Each record is separated by a blank row.


--
elgeejay
------------------------------------------------------------------------
elgeejay's Profile: http://www.excelforum.com/member.php...o&userid=34627
View this thread: http://www.excelforum.com/showthread...hreadid=543984

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
convert pocket excel back to standard excel kevroyal Excel Discussion (Misc queries) 1 February 16th 06 11:35 AM
Excel 2003, Convert EXISTING Worksheet Data to XML? [email protected] Excel Discussion (Misc queries) 4 November 16th 05 04:45 AM
How do I use Excel to post data to an external database? ctimrun Excel Discussion (Misc queries) 0 June 14th 05 05:39 AM
Excel Range Value issue (Excel 97 Vs Excel 2003) Keeno Excel Discussion (Misc queries) 2 June 13th 05 02:01 PM
PLEASE HELP!? Creating a simple database with excel, minor setback Pre-construction Manager & Excel !? Excel Worksheet Functions 1 November 30th 04 08:59 PM


All times are GMT +1. The time now is 09:21 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"