Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 29
Default Convert address block into delimited rows?

Not sure if this should go in Word or Excel but here's the deal...

I have a document in Word that contains a bunch of address in the format of

Name
Address
City, State, Zip
Telephone
Website

After each internal line is a line break and after the last entry is a
paragraph return if that makes it any easier.


I want to get them into Excel in the format of:

Name, Address, City, State, Zip, Telephone, etc

Anyone know of an automated way to do that? Maybe some sort of import or
export or something that I can do? Just don't want to have to do it all
manually.

Thought I could do a find and replace and turn the line breaks into commas
or something maybe but don't kow how to do a find on a special character like
that.

Also, not all addresses have all the fields. Some have websites, some don't.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Convert address block into delimited rows?

All example data is in one cell?

Try DataText to ColumnsDelimited byOther

Hit CTRL + j for line breaks.

Finish to break into columns.

You will then select City, State, Zip column and split that into 3 by using
delimited by comma.

Don't forget to insert a couple of blank columns to the right first.


Gord Dibben MS Excel MVP

On Fri, 24 Jul 2009 08:28:01 -0700, Mr B
wrote:

Not sure if this should go in Word or Excel but here's the deal...

I have a document in Word that contains a bunch of address in the format of

Name
Address
City, State, Zip
Telephone
Website

After each internal line is a line break and after the last entry is a
paragraph return if that makes it any easier.


I want to get them into Excel in the format of:

Name, Address, City, State, Zip, Telephone, etc

Anyone know of an automated way to do that? Maybe some sort of import or
export or something that I can do? Just don't want to have to do it all
manually.

Thought I could do a find and replace and turn the line breaks into commas
or something maybe but don't kow how to do a find on a special character like
that.

Also, not all addresses have all the fields. Some have websites, some don't.


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 excel (.xls) to tab delimited (.txt) without double quotat Andrea Excel Discussion (Misc queries) 3 January 13th 09 11:11 PM
How can I convert tab delimited files to pipe delimited? Jeremy Town Excel Discussion (Misc queries) 2 November 15th 07 04:29 PM
Address block carriage returns not correct Bill Excel Worksheet Functions 3 October 4th 06 02:10 AM
tab delimited file convert to columns 1coach9 Excel Discussion (Misc queries) 1 April 18th 06 04:19 PM
Mail Merge creates a space in the address block Crazy for Home Loans Excel Discussion (Misc queries) 1 July 21st 05 02:46 AM


All times are GMT +1. The time now is 01:33 PM.

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"