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 / October 2007

Tip: Looking for answers? Try searching our database.

Convert mailing list from columns to rows

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Loren Smith - 03 Oct 2007 14:36 GMT
I have been handed a list that I need to convert and I am stumped.

The worksheet contains three columns of addresses. The addresses are
generally in one of three formats:

Company
Contact
Street number and name
City State
Zip

or

Name
Street number and name
City State
Zip

or

The repeat of the above with two lines for street information.

As far as I can tell so far, these four are the only different
formats.

Some of the addresses have a comma between the city and state.

One final complication, some addresses use the 5 digit zip, some use
the zip+4 with a dash.

Is there a way to convert these columns into appropriate rows so this
can be used as a mail merge?
Don Guillett - 03 Oct 2007 23:33 GMT
Without seeing samples or a workbook, suggest working from the bottom up
for i= 200 to 2 step -1
if isnumeric(cells(i,1)) then
if
next i
or use select case for each cells(i,1)
cells(i-1)
cells(i-2)
???
Signature

Don Guillett
Microsoft MVP Excel
SalesAid Software
dguillett1@austin.rr.com

>I have been handed a list that I need to convert and I am stumped.
>
[quoted text clipped - 28 lines]
> Is there a way to convert these columns into appropriate rows so this
> can be used as a mail merge?

Rate this thread:






 
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.