Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default transpose 1 column of 100 items to 10 x 10 array

I frequently copy data into EXCEL that comes in as a column of data, but
needs to be put in an array to mail merge ect.
ie. name, address, city, zip repeated for a hundred names in column A,
needs to go into an array 4 columns wide and 20 rows deep.
thanks in advance, rob
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default transpose 1 column of 100 items to 10 x 10 array

One way...

Assume you have data like this in the range A2:A9

name1
address1
city1
zip1
name2
address2
city2
zip2

Enter this formula in C2:

=INDEX($A$2:$A$21,(ROWS(C$2:C2)-1)*4+COLUMNS($A1:B1)-1)

Copy across to F2 then down to C3:F3

The result will be:

name1...address1...city1...zip1
name2...address2...city2...zip2

--
Biff
Microsoft Excel MVP


"kidsDad" wrote in message
...
I frequently copy data into EXCEL that comes in as a column of data, but
needs to be put in an array to mail merge ect.
ie. name, address, city, zip repeated for a hundred names in column A,
needs to go into an array 4 columns wide and 20 rows deep.
thanks in advance, rob



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default transpose 1 column of 100 items to 10 x 10 array

Assume you have data like this in the range A2:A9
=INDEX($A$2:$A$21,(ROWS(C$2:C2)-1)*4+COLUMNS($A1:B1)-1)


Typo in the formula range. Should be:

=INDEX($A$2:$A$9,(ROWS(C$2:C2)-1)*4+COLUMNS($A1:B1)-1)

--
Biff
Microsoft Excel MVP


"T. Valko" wrote in message
...
One way...

Assume you have data like this in the range A2:A9

name1
address1
city1
zip1
name2
address2
city2
zip2

Enter this formula in C2:

=INDEX($A$2:$A$21,(ROWS(C$2:C2)-1)*4+COLUMNS($A1:B1)-1)

Copy across to F2 then down to C3:F3

The result will be:

name1...address1...city1...zip1
name2...address2...city2...zip2

--
Biff
Microsoft Excel MVP


"kidsDad" wrote in message
...
I frequently copy data into EXCEL that comes in as a column of data, but
needs to be put in an array to mail merge ect.
ie. name, address, city, zip repeated for a hundred names in column A,
needs to go into an array 4 columns wide and 20 rows deep.
thanks in advance, rob





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
how do I transpose items from another sheet? Katie Excel Discussion (Misc queries) 4 September 1st 09 08:01 PM
Transpose array sum SnoHo71 Excel Worksheet Functions 2 January 9th 08 10:52 PM
transpose - array problem bretp Excel Discussion (Misc queries) 1 November 12th 07 12:18 PM
Transpose Array drbobsled Excel Discussion (Misc queries) 1 December 1st 06 01:50 AM
Conditional transpose to Array reachthepalace Excel Discussion (Misc queries) 0 March 1st 06 10:36 PM


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