LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default how to marge many columns to single column

Sub allcolumnstoa()
lc = Cells.SpecialCells(xlCellTypeLastCell).Column
For i = 2 To lc
slr = Cells(Rows.Count, i).End(xlUp).Row
dlr = Cells(Rows.Count, "a").End(xlUp).Row + 1
Range(Cells(1, i), Cells(slr, i)).Copy Cells(dlr, "a")
Next i
'below line deletes old columns
Range(Cells(1, 2), Cells(1, lc)).EntireColumn.Delete
End Sub

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"alansi" wrote in message
...
Dear friends i have many paralled columns that i want to converte it to
single column by making each column follow the other. for example

A E I
B F J
C G K
D H L

i want to change it to single column without copy and past because i have
too many columns.
as follow

A
B
C
D
E
F
G
H
I
J
K
L

any idea how to make it in excle

thanks


 
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 convert multiple columns to a single column? scottflinders Excel Discussion (Misc queries) 5 November 12th 06 02:13 PM
Single column into multiple columns Heidi Excel Discussion (Misc queries) 3 November 1st 06 09:27 PM
HOW I MARGE THE COLUMNS FOR EXAMPLE 1 2 3 4 5 PUT IN ONE COLUMNS . danish Excel Worksheet Functions 2 October 2nd 06 05:22 PM
how to combine several columns into a single column jims Excel Discussion (Misc queries) 9 August 15th 05 12:00 PM
split a single column into 2 separate columns Eve Excel Worksheet Functions 2 March 14th 05 07:33 PM


All times are GMT +1. The time now is 02:10 PM.

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

About Us

"It's about Microsoft Excel"