Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Combining columns

So,

the thing is I need to connect two columns into one, but in a way that it
puts one row from the first column, then a row from the second, and then
again from then first etc..
can that be done?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default Combining columns

Not sure what is wanted. Try this and tell if it works
=A1&B1
or
=A1&" "&B1
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"iznogud" wrote in message
...
So,

the thing is I need to connect two columns into one, but in a way that it
puts one row from the first column, then a row from the second, and then
again from then first etc..
can that be done?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Combining columns

no that didn't do it, it connected it into a single column, but what I need
is to take row from one column, and put a row from the second one underneath
it, and so on..
is there a place where I could put the tables somewhere here so I can write
on them in order to show you what I mean?

"Bernard Liengme" wrote:

Not sure what is wanted. Try this and tell if it works
=A1&B1
or
=A1&" "&B1
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"iznogud" wrote in message
...
So,

the thing is I need to connect two columns into one, but in a way that it
puts one row from the first column, then a row from the second, and then
again from then first etc..
can that be done?




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 200
Default Combining columns

If the functions in the freely downloadable file at
http://home.pacbell.net/beban are available to your workbook

=ArrayReshape(A1:B3,COUNTA(A1:B3),1)

Alan Beban

iznogud wrote:
no that didn't do it, it connected it into a single column, but what I need
is to take row from one column, and put a row from the second one underneath
it, and so on..
is there a place where I could put the tables somewhere here so I can write
on them in order to show you what I mean?

"Bernard Liengme" wrote:

Not sure what is wanted. Try this and tell if it works
=A1&B1
or
=A1&" "&B1
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"iznogud" wrote in message
...
So,

the thing is I need to connect two columns into one, but in a way that it
puts one row from the first column, then a row from the second, and then
again from then first etc..
can that be done?



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,231
Default Combining columns

iznogud wrote...
....
is to take row from one column, and put a row from the second
one underneath it, and so on..

....

Name the first column Col1 and the second Col2. If they're in the same
worksheet, and the topmost cell in the result range were X5,

X5:
=INDEX((Col1,Col2),INT((ROWS(X$5:X5)+1)/2),1,2-MOD(ROWS(X$5:X5),2))

Fill X5 down as far as needed.



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Combining columns

You may want to try this macro.

Sub columnmerge()
'original data is preserved and combine takes
'place in a new column try changing the "2" to a different number for more
columns
For i = 1 To 250 ' change to suit
ActiveSheet.Cells(i, 3) = ActiveSheet.Cells _
((i + 1 - ((i + 1) Mod 2)) / 2, ((i + 1) Mod 2) + 1)
Next i

End Sub

When done, delete the original columns if you wish.


Gord Dibben MS Excel MVP

On Fri, 18 May 2007 06:08:03 -0700, iznogud
wrote:

no that didn't do it, it connected it into a single column, but what I need
is to take row from one column, and put a row from the second one underneath
it, and so on..
is there a place where I could put the tables somewhere here so I can write
on them in order to show you what I mean?

"Bernard Liengme" wrote:

Not sure what is wanted. Try this and tell if it works
=A1&B1
or
=A1&" "&B1
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"iznogud" wrote in message
...
So,

the thing is I need to connect two columns into one, but in a way that it
puts one row from the first column, then a row from the second, and then
again from then first etc..
can that be done?





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
Combining Text from 2 Columns into 1 then Deleting the 2 Columns sleepindogg Excel Worksheet Functions 5 September 19th 08 12:36 AM
Combining columns jezzica85 Excel Discussion (Misc queries) 2 March 11th 06 12:22 PM
Combining Columns Petri M Excel Discussion (Misc queries) 2 November 30th 05 01:41 PM
Combining columns? sus Excel Worksheet Functions 1 November 18th 05 08:13 PM
combining columns all the way down sparkroms Excel Discussion (Misc queries) 3 July 8th 05 08:28 PM


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