Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Convert long column to rows

I have exported a large database that is all in one column, how do I change
it to rows? The Copy, Paste Special, Transpose doesn't work because of the
length of the column.

Thank you!


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Convert long column to rows

Hi,
I guess the information in that column is separate by , or spaces so you
need to do first a Text to columns , delimited, indicate the delimiters and
once you have the data in columns the transpose will work
Hope this help

"Excelchallenged" wrote:

I have exported a large database that is all in one column, how do I change
it to rows? The Copy, Paste Special, Transpose doesn't work because of the
length of the column.

Thank you!


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Convert long column to rows

You could transpose the long column to rows in pieces.

Say you have data in A1:A30000

You could split that into several chunks of rows.

Which version of Excel are you using and what is your actual range in column
A?


Gord Dibben MS Excel MVP

On Tue, 17 Mar 2009 08:18:09 -0700, Excelchallenged
wrote:

I have exported a large database that is all in one column, how do I change
it to rows? The Copy, Paste Special, Transpose doesn't work because of the
length of the column.

Thank you!


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Convert long column to rows

In this example, all the data is in column A in Sheet1. The following macro
will copy it into rows on Sheet2:

Sub xformit()
Dim s1 As Worksheet, s2 As Worksheet
Dim i As Long, j As Long, k As Long
Dim n As Long
Set s2 = Sheets("Sheet2")
Set s1 = Sheets("Sheet1")
s1.Activate
j = 1
k = 1
n = Cells(Rows.Count, 1).End(xlUp).Row
For i = 1 To n
s2.Cells(j, k).Value = Cells(i, 1).Value
k = k + 1
If k Columns.Count Then
k = 1
j = j + 1
End If
Next
End Sub
--
Gary''s Student - gsnu200839


"Excelchallenged" wrote:

I have exported a large database that is all in one column, how do I change
it to rows? The Copy, Paste Special, Transpose doesn't work because of the
length of the column.

Thank you!


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
Combine multiple columns into two long columns, Repeating rows in first column [email protected] Excel Discussion (Misc queries) 2 July 31st 06 09:45 PM
Combine multiple columns into two long columns, Repeating rows in first column [email protected] Excel Discussion (Misc queries) 0 July 31st 06 05:07 PM
Convert rows to one single long column? Spalding Excel Discussion (Misc queries) 2 November 21st 05 01:39 PM
How do you convert numbers as "text" to values for a long column . geoexcel Excel Discussion (Misc queries) 2 February 27th 05 04:31 PM
How can I convert a data from multiple rows into 1 column? yudi_lks Excel Worksheet Functions 10 January 30th 05 03:47 AM


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