A Microsoft Excel forum. ExcelBanter

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 » ExcelBanter forum » Excel Newsgroups » Excel Discussion (Misc queries)
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

trying to get data from rows to columns



 
 
Thread Tools Display Modes
  #1  
Old July 15th 12, 03:09 PM
Kathryn39 Kathryn39 is offline
Junior Member
 
First recorded activity by ExcelBanter: Jun 2012
Posts: 5
Default trying to get data from rows to columns

Hello!

I was wondering if anyone could help me; I have about 200 rows of data, with about 200 values in each row, but I would like to have the information that is in each row, to be in a column instead, just wondering is there a quick way of doing this as opposed to copying and pasting each of them?
All help appreciated!

thank you,

Kathryn
Ads
  #2  
Old July 15th 12, 05:26 PM
Spencer101 Spencer101 is offline
Senior Member
 
First recorded activity by ExcelBanter: Mar 2012
Posts: 658
Default

Quote:
Originally Posted by Kathryn39 View Post
Hello!

I was wondering if anyone could help me; I have about 200 rows of data, with about 200 values in each row, but I would like to have the information that is in each row, to be in a column instead, just wondering is there a quick way of doing this as opposed to copying and pasting each of them?
All help appreciated!

thank you,

Kathryn
Have a look in the Excel Help for how to use "Paste Special / Transpose".
Should do exactly what you're after.
  #3  
Old July 16th 12, 11:47 AM
Kathryn39 Kathryn39 is offline
Junior Member
 
First recorded activity by ExcelBanter: Jun 2012
Posts: 5
Default

Quote:
Originally Posted by Spencer101 View Post
Have a look in the Excel Help for how to use "Paste Special / Transpose".
Should do exactly what you're after.
Hi Spencer,

Thank you that worked great!
Kathryn
  #4  
Old July 16th 12, 02:39 PM posted to microsoft.public.excel.misc
Don Guillett[_2_]
external usenet poster
 
Posts: 1,506
Default trying to get data from rows to columns

On Sunday, July 15, 2012 9:09:40 AM UTC-5, Kathryn39 wrote:
> Hello!
>
> I was wondering if anyone could help me; I have about 200 rows of data,
> with about 200 values in each row, but I would like to have the
> information that is in each row, to be in a column instead, just
> wondering is there a quick way of doing this as opposed to copying and
> pasting each of them?
> All help appreciated!
>
> thank you,
>
> Kathryn
>
>
>
>
> --
> Kathryn39


This should do it

Sub transposeemSAS()
Dim lr As Long
Dim i As Long
lr = Cells(Rows.Count, 1).End(xlUp).Row
For i = 1 To lr
Rows(i).Copy
Cells(Rows.Count, i).End(xlUp)(2).PasteSpecial _
Paste:=xlPasteAll, Operation:=xlNone, _
SkipBlanks:=False, transpose:=True
'MsgBox i
Next i
Rows(1).Resize(lr).Delete
End Sub
  #5  
Old July 16th 12, 06:37 PM
Spencer101 Spencer101 is offline
Senior Member
 
First recorded activity by ExcelBanter: Mar 2012
Posts: 658
Default

Quote:
Originally Posted by Kathryn39 View Post
Hi Spencer,

Thank you that worked great!
Kathryn
Pleasure was all mine, Kathryn. Glad to be of help.
  #6  
Old October 9th 12, 04:18 PM
choganj choganj is offline
Junior Member
 
First recorded activity by ExcelBanter: Oct 2012
Location: Redwood City, USA
Posts: 1
Default

Quote:
Originally Posted by Kathryn39 View Post
Hello!

I was wondering if anyone could help me; I have about 200 rows of data, with about 200 values in each row, but I would like to have the information that is in each row, to be in a column instead, just wondering is there a quick way of doing this as opposed to copying and pasting each of them?
All help appreciated!

thank you,

Kathryn
Definitively you can copy from row and paste special to column but there are other methods around.

You can try recording a micro to do your job. On the other hand you can use OFFSET formula to do your job.

You can also visit http://www.techyv.com/questions/simp...ow-data-column for more information.

I hope this would be of some help.
 




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 On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Rows to Columns - Diff Size Rows of Data Mishelley Excel Programming 4 January 28th 09 02:00 PM
VBA code for moving data from even rows to columns after data in oddrows Steve G[_4_] Excel Programming 4 July 5th 08 05:26 PM
Data from rows into columns Dave Excel Discussion (Misc queries) 1 February 11th 08 02:35 PM
Arrange data spanning 8 columns and 3 rows to 24 columns and 1 row pfdino Excel Discussion (Misc queries) 2 March 19th 07 09:03 PM
Data from Rows into columns BCLivell Excel Discussion (Misc queries) 7 May 8th 06 08:27 PM


All times are GMT +1. The time now is 07:37 AM.


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