how to convert multiple columns of data into one single column?

  • Thread starter =?big5?B?qvykVA==?=
  • Start date
?

=?big5?B?qvykVA==?=

as subject, e.g.

from...

A B C D
Mary Peter Paul David
John Nancy Lucy Ken
Alice Annie Danny Jane

to...

A
Mary
John
Alice
Peter
Nancy
Annie
Paul
Lucy
Danny
David
Ken
Jane

Many thanks!
 
F

Frank Kabel

Hi
try the following formula on the second sheet in cell A1
=OFFSET('sheet1'!$A$1,MOD(ROW()-1,3,INT((ROW()-1)/3))
and copy down
 
?

=?big5?B?qvykVA==?=

thank you!

Frank Kabel said:
Hi
try the following formula on the second sheet in cell A1
=OFFSET('sheet1'!$A$1,MOD(ROW()-1,3,INT((ROW()-1)/3))
and copy down
 
?

=?big5?B?qvykVA==?=

Hello Frank,

I've tried but failed at first, finally, I added a closing bracket and
is successful....

lots of thanks.
 
Joined
Mar 10, 2011
Messages
1
Reaction score
0
Does anyone know how to modify the outcome of the formula offered here, such that the results keep the contents of each row ordered together in the column?

The input example remains the same -

A B C D
Mary Peter Paul David
John Nancy Lucy Ken
Alice Annie Danny Jane

However, the output needs to be like this -

A
Mary
Peter
Paul
David
John
Nancy
Lucy
Ken
Alice
Annie
Danny
Jane


Instead of -
A
Mary
John
Alice
Peter
Nancy
Annie
Paul
Lucy
Danny
David
Ken
Jane

Thanks for your help.
 
Joined
Sep 20, 2013
Messages
1
Reaction score
0
Seriously late post...but here is the formula to just move across the top line:

=OFFSET(Sheet1!$A$1,0,INT((ROW()-1)/1))

Output:
A1 (returns this value from Sheet1)
B1 (then moves across the spreadsheet to the next column)
C1
D1
E1
F1
G1
and so on...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top