Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.newusers
|
|||
|
|||
Formating a single column of info into 3 columns
I need to take a single column of names in excel
and have the first line go to column B, the second line to column C the third line to Column D and than start all over agian. Thus I end up with 3 new columns. Thx EggHeadCafe - Software Developer Portal of Choice Fire and Forget Fun: RPC Pings, GET, POST and more. http://www.eggheadcafe.com/tutorials...t-fun-rpc.aspx |
#2
Posted to microsoft.public.excel.newusers
|
|||
|
|||
Formating a single column of info into 3 columns
Post your layout. Is it ALWAYS 3 lines and are there spaces between the
blocks. -- Don Guillett Microsoft MVP Excel SalesAid Software "Mike Clarke" wrote in message ... I need to take a single column of names in excel and have the first line go to column B, the second line to column C the third line to Column D and than start all over agian. Thus I end up with 3 new columns. Thx EggHeadCafe - Software Developer Portal of Choice Fire and Forget Fun: RPC Pings, GET, POST and more. http://www.eggheadcafe.com/tutorials...t-fun-rpc.aspx |
#3
Posted to microsoft.public.excel.newusers
|
|||
|
|||
Formating a single column of info into 3 columns
Sub ColtoRows()
Dim rng As Range Dim I As Long Dim J As Long Set rng = Cells(Rows.Count, 1).End(xlUp) J = 1 On Error Resume Next nocols = InputBox("Enter Final Number of Columns Desired") For I = 1 To rng.Row Step nocols Cells(J, "A").Resize(1, nocols).Value = _ Application.Transpose(Cells(I, "A") _ .Resize(nocols, 1)) J = J + 1 Next Range(Cells(J, "A"), Cells(rng.Row, "A")).ClearContents Exit Sub End Sub Gord Dibben MS Excel MVP On Fri, 30 Oct 2009 12:52:47 -0700, Mike Clarke wrote: I need to take a single column of names in excel and have the first line go to column B, the second line to column C the third line to Column D and than start all over agian. Thus I end up with 3 new columns. Thx EggHeadCafe - Software Developer Portal of Choice Fire and Forget Fun: RPC Pings, GET, POST and more. http://www.eggheadcafe.com/tutorials...t-fun-rpc.aspx |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Lookup info in one Column and then returning info in other columns | Excel Worksheet Functions | |||
Single column into multiple columns | Excel Discussion (Misc queries) | |||
swapping column info between 2 columns | Excel Worksheet Functions | |||
how to combine several columns into a single column | Excel Discussion (Misc queries) | |||
Convert one row and 50 columns of info to a single printable page | Excel Worksheet Functions |