A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Move rows into columns



 
 
Thread Tools Display Modes
  #1  
Old June 4th, 2010, 08:34 PM posted to microsoft.public.excel.misc
TR53
external usenet poster
 
Posts: 1
Default Move rows into columns

I have an Excel sheet that has 8000+ rows that include contact information.
I'd like to move them from all of those rows into 6 columns. Currently it
lookzs like:

name
title
company
address
city/state/zip
phone
....
....
....

And I'd like to create a formula to move it to 6 columns that look like this:

name title company address city/state/zip phone

I'm still an Excel novice but would appreciate any suggestions you might
have. Thanks!


  #2  
Old June 4th, 2010, 08:46 PM posted to microsoft.public.excel.misc
mike
external usenet poster
 
Posts: 3,942
Default Move rows into columns

You will need VBA code to get this done. If you would like I could whip up a
code for you if your willing to send me a copy of your workbook?

"TR53" wrote:

I have an Excel sheet that has 8000+ rows that include contact information.
I'd like to move them from all of those rows into 6 columns. Currently it
lookzs like:

name
title
company
address
city/state/zip
phone
...
...
...

And I'd like to create a formula to move it to 6 columns that look like this:

name title company address city/state/zip phone

I'm still an Excel novice but would appreciate any suggestions you might
have. Thanks!


  #3  
Old June 4th, 2010, 08:55 PM posted to microsoft.public.excel.misc
Steve
external usenet poster
 
Posts: 2,662
Default Move rows into columns

If your information is in column A starting in A1 then in cell B1 enter
=INDIRECT("A"&((ROW()-1)*6)+1)
copy this down column B to give all "names". In cell C1 enter
=INDIRECT("A"&((ROW()-1)*6)+2)
copy this down column C for all the "titles"
etc. etc. just increase the last nuber by 1 as you go across your 6 columns

Regards
Steve

"TR53" wrote:

I have an Excel sheet that has 8000+ rows that include contact information.
I'd like to move them from all of those rows into 6 columns. Currently it
lookzs like:

name
title
company
address
city/state/zip
phone
...
...
...

And I'd like to create a formula to move it to 6 columns that look like this:

name title company address city/state/zip phone

I'm still an Excel novice but would appreciate any suggestions you might
have. Thanks!


  #4  
Old June 5th, 2010, 01:10 AM posted to microsoft.public.excel.misc
Gord Dibben
external usenet poster
 
Posts: 20,252
Default Move rows into columns

Assuming column A with consistent sets of data........six cells to a set.

In B1 enter =INDEX($A:$A,(ROWS($1:1)-1)*6+COLUMNS($A:B)-1)

Copy across to G1

Select B1:G1 and copy down until you get zeros.


Gord Dibben MS Excel MVP

On Fri, 4 Jun 2010 12:34:38 -0700, TR53
wrote:

I have an Excel sheet that has 8000+ rows that include contact information.
I'd like to move them from all of those rows into 6 columns. Currently it
lookzs like:

name
title
company
address
city/state/zip
phone
...
...
...

And I'd like to create a formula to move it to 6 columns that look like this:

name title company address city/state/zip phone

I'm still an Excel novice but would appreciate any suggestions you might
have. Thanks!


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:26 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.