Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Transposing an Address List

I have a 30k line address list that looks like this:
Customer #1
ATTN: ACCOUNTS PAYABLE
Street Address, SUITE B
CITY, STATE
ZIP CODE
Customer #2
Street Address
City, State
ATTN: ACCOUNTS PAYABLE
Zip Code

I need to move all the information from one column to 5 (transpose the info
so that all the names are in one column, cities in another, etc.). Does
anyone know how I can do that without copying and pasting each address?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7,247
Default Transposing an Address List


It could be automated if there is some method of identifying the start
and end of each address. Do all addresses have the same number of
lines? Is there something that indicates the end of an address? You
might be interested in code I have at

http://www.cpearson.com/Excel/Variab...mnToTable.aspx
http://www.cpearson.com/Excel/ColumnToTable.aspx

Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group, 1998 - 2009
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)



On Thu, 14 May 2009 10:28:02 -0700, Hank24
wrote:

I have a 30k line address list that looks like this:
Customer #1
ATTN: ACCOUNTS PAYABLE
Street Address, SUITE B
CITY, STATE
ZIP CODE
Customer #2
Street Address
City, State
ATTN: ACCOUNTS PAYABLE
Zip Code

I need to move all the information from one column to 5 (transpose the info
so that all the names are in one column, cities in another, etc.). Does
anyone know how I can do that without copying and pasting each address?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Transposing an Address List

Assuming that your data is in column A in fixed blocks of 5 rows each, In B1
enter:

=INDIRECT("A"&ROW()*5-(5-COLUMNS($B:B)))

Then copy B1 to C1 thru F1
Then copy B1 thru F1 down as far as you need.
--
Gary''s Student - gsnu200852


"Hank24" wrote:

I have a 30k line address list that looks like this:
Customer #1
ATTN: ACCOUNTS PAYABLE
Street Address, SUITE B
CITY, STATE
ZIP CODE
Customer #2
Street Address
City, State
ATTN: ACCOUNTS PAYABLE
Zip Code

I need to move all the information from one column to 5 (transpose the info
so that all the names are in one column, cities in another, etc.). Does
anyone know how I can do that without copying and pasting each address?

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
excel list of names, addresses and email to address book/contact list??? anna Excel Discussion (Misc queries) 0 October 24th 08 05:49 PM
Transpose list of address into rows for mailing list LizE Excel Discussion (Misc queries) 7 July 1st 08 09:34 PM
Transposing list of numbers jlhcat New Users to Excel 2 February 6th 08 07:11 PM
Transposing 4-row clumps of name and address in Column A to Columns A,B,C,D [email protected] Excel Worksheet Functions 2 October 25th 06 06:45 AM
long address list, name-address-city, listed vertically, how do y. kb Excel Discussion (Misc queries) 2 March 4th 05 12:48 AM


All times are GMT +1. The time now is 03:34 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"