#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Move Rows to Columns

I have a list of names and addresses that are in rows. Does anyone know of
way to move the address and city state zip to columns so that I can do a mail
merge and print labels. I know I could cut & paste but that would take a
long time.

Example
Name1
Address 1
City state zip1
Name2
Address 2
City state zip2

if name1 is in a2
I would like for address 1 to go to B2 and city state to go to c2


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Move Rows to Columns

Are these data consistent?

i.e. 3 rows per address

If so, enter this in B2 and copy across to D2 then select B2:D2 and drag/copy
down until you get zeros.

=INDEX($A:$A,(ROWS($1:1)-1)*3+COLUMNS($A:B))

When happy, select columns B:D and copypaste specialvaluesokesc.

Delete Column A


Gord Dibben MS Excel MVP

On Tue, 27 Nov 2007 18:01:02 -0800, DOwens
wrote:

I have a list of names and addresses that are in rows. Does anyone know of
way to move the address and city state zip to columns so that I can do a mail
merge and print labels. I know I could cut & paste but that would take a
long time.

Example
Name1
Address 1
City state zip1
Name2
Address 2
City state zip2

if name1 is in a2
I would like for address 1 to go to B2 and city state to go to c2


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Move Rows to Columns

THANKS GORD - that worked perfectly, just what I needed. THANKS SO MUCH!!
Dianne

"Gord Dibben" wrote:

Are these data consistent?

i.e. 3 rows per address

If so, enter this in B2 and copy across to D2 then select B2:D2 and drag/copy
down until you get zeros.

=INDEX($A:$A,(ROWS($1:1)-1)*3+COLUMNS($A:B))

When happy, select columns B:D and copypaste specialvaluesokesc.

Delete Column A


Gord Dibben MS Excel MVP

On Tue, 27 Nov 2007 18:01:02 -0800, DOwens
wrote:

I have a list of names and addresses that are in rows. Does anyone know of
way to move the address and city state zip to columns so that I can do a mail
merge and print labels. I know I could cut & paste but that would take a
long time.

Example
Name1
Address 1
City state zip1
Name2
Address 2
City state zip2

if name1 is in a2
I would like for address 1 to go to B2 and city state to go to c2



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Move Rows to Columns

Good to hear.

Thanks for the feedback.

Gord

On Wed, 28 Nov 2007 04:59:01 -0800, DOwens
wrote:

THANKS GORD - that worked perfectly, just what I needed. THANKS SO MUCH!!
Dianne

"Gord Dibben" wrote:

Are these data consistent?

i.e. 3 rows per address

If so, enter this in B2 and copy across to D2 then select B2:D2 and drag/copy
down until you get zeros.

=INDEX($A:$A,(ROWS($1:1)-1)*3+COLUMNS($A:B))

When happy, select columns B:D and copypaste specialvaluesokesc.

Delete Column A


Gord Dibben MS Excel MVP

On Tue, 27 Nov 2007 18:01:02 -0800, DOwens
wrote:

I have a list of names and addresses that are in rows. Does anyone know of
way to move the address and city state zip to columns so that I can do a mail
merge and print labels. I know I could cut & paste but that would take a
long time.

Example
Name1
Address 1
City state zip1
Name2
Address 2
City state zip2

if name1 is in a2
I would like for address 1 to go to B2 and city state to go to c2




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
name,address in same column different rows. How move to columns kimbafred Charts and Charting in Excel 8 July 20th 07 02:12 AM
How do I move items from columns into rows without cut/paste? Biller Excel Discussion (Misc queries) 1 October 12th 06 04:55 PM
how do I move data in prexisting rows to columns? darryl Excel Worksheet Functions 1 July 15th 06 10:08 AM
Move Data from rows to columns... Dan B Excel Worksheet Functions 2 January 6th 06 04:47 PM
Move rows to columns Daniell Excel Worksheet Functions 2 March 24th 05 11:51 PM


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