Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
yudi_lks
 
Posts: n/a
Default How can I convert a data from multiple rows into 1 column?

HI.. Is there any way to convert multiple rows data into 1 single column?


Like this
1 2 3 4
5 6 7 8

Into
1
2
3
4
5
6
7
8

The problem is I have 687 rows, which I'm sure will take forever to do it
manually..

Many thanks!!

Yudi
  #2   Report Post  
Max
 
Posts: n/a
Default

Assuming data below is in Sheet1, cols A to D, from row1 down

1 2 3 4
5 6 7 8

etc

In Sheet2
-----------
Put in A1:
=OFFSET(Sheet1!$A$1,INT((ROWS($A$1:A1)-1)/4),MOD(ROWS($A$1:A1)-1,4))

Copy down until zeros appear signalling exhaution of data

--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----

"yudi_lks" wrote:

HI.. Is there any way to convert multiple rows data into 1 single column?


Like this
1 2 3 4
5 6 7 8

Into
1
2
3
4
5
6
7
8

The problem is I have 687 rows, which I'm sure will take forever to do it
manually..

Many thanks!!

Yudi

  #3   Report Post  
Michael
 
Posts: n/a
Default

Hi Max
Wouldn't the TRANSPOSE array be easier.

=TRANSPOSE($A$1:$D$2), with CSE

Regards
Michael

"Max" wrote:

Assuming data below is in Sheet1, cols A to D, from row1 down

1 2 3 4
5 6 7 8

etc

In Sheet2
-----------
Put in A1:
=OFFSET(Sheet1!$A$1,INT((ROWS($A$1:A1)-1)/4),MOD(ROWS($A$1:A1)-1,4))

Copy down until zeros appear signalling exhaution of data

--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----

"yudi_lks" wrote:

HI.. Is there any way to convert multiple rows data into 1 single column?


Like this
1 2 3 4
5 6 7 8

Into
1
2
3
4
5
6
7
8

The problem is I have 687 rows, which I'm sure will take forever to do it
manually..

Many thanks!!

Yudi

  #4   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

That would return a 2 column range

--
Regards,

Peo Sjoblom

(No private emails please, for everyone's
benefit keep the discussion in the newsgroup/forum)



"Michael" wrote in message
...
Hi Max
Wouldn't the TRANSPOSE array be easier.

=TRANSPOSE($A$1:$D$2), with CSE

Regards
Michael

"Max" wrote:

Assuming data below is in Sheet1, cols A to D, from row1 down

1 2 3 4
5 6 7 8

etc

In Sheet2
-----------
Put in A1:
=OFFSET(Sheet1!$A$1,INT((ROWS($A$1:A1)-1)/4),MOD(ROWS($A$1:A1)-1,4))

Copy down until zeros appear signalling exhaution of data

--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----

"yudi_lks" wrote:

HI.. Is there any way to convert multiple rows data into 1 single
column?


Like this
1 2 3 4
5 6 7 8

Into
1
2
3
4
5
6
7
8

The problem is I have 687 rows, which I'm sure will take forever to do
it
manually..

Many thanks!!

Yudi



  #5   Report Post  
Michael
 
Posts: n/a
Default

Hi Peo
I probably should have been more specific, but I was only pointing out the
option.

I know, I know....do it right or don't do it at all

Michael

"Peo Sjoblom" wrote:

That would return a 2 column range

--
Regards,

Peo Sjoblom

(No private emails please, for everyone's
benefit keep the discussion in the newsgroup/forum)



"Michael" wrote in message
...
Hi Max
Wouldn't the TRANSPOSE array be easier.

=TRANSPOSE($A$1:$D$2), with CSE

Regards
Michael

"Max" wrote:

Assuming data below is in Sheet1, cols A to D, from row1 down

1 2 3 4
5 6 7 8
etc

In Sheet2
-----------
Put in A1:
=OFFSET(Sheet1!$A$1,INT((ROWS($A$1:A1)-1)/4),MOD(ROWS($A$1:A1)-1,4))

Copy down until zeros appear signalling exhaution of data

--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----

"yudi_lks" wrote:

HI.. Is there any way to convert multiple rows data into 1 single
column?


Like this
1 2 3 4
5 6 7 8

Into
1
2
3
4
5
6
7
8

The problem is I have 687 rows, which I'm sure will take forever to do
it
manually..

Many thanks!!

Yudi






  #6   Report Post  
Max
 
Posts: n/a
Default

"Michael" wrote
...
Wouldn't the TRANSPOSE array be easier.
=TRANSPOSE($A$1:$D$2), with CSE


Think TRANSPOSE wouldn't be suitable here (as per Peo's response), since the
OP's intent was to strip the source grid's* contents out into a single column
...
*687 R x 4 C

--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
  #7   Report Post  
Yudi Setiawan
 
Posts: n/a
Default

OMG.. You are simply THE BEST man!!!.. Thanks for your tips...

Regards,
Yudi

"Max" wrote:

Assuming data below is in Sheet1, cols A to D, from row1 down

1 2 3 4
5 6 7 8

etc

In Sheet2
-----------
Put in A1:
=OFFSET(Sheet1!$A$1,INT((ROWS($A$1:A1)-1)/4),MOD(ROWS($A$1:A1)-1,4))

Copy down until zeros appear signalling exhaution of data

--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----

"yudi_lks" wrote:

HI.. Is there any way to convert multiple rows data into 1 single column?


Like this
1 2 3 4
5 6 7 8

Into
1
2
3
4
5
6
7
8

The problem is I have 687 rows, which I'm sure will take forever to do it
manually..

Many thanks!!

Yudi

  #8   Report Post  
Max
 
Posts: n/a
Default

You're welcome !
Glad it helped ..
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Yudi Setiawan" <Yudi wrote in message
...
OMG.. You are simply THE BEST man!!!.. Thanks for your tips...

Regards,
Yudi



  #9   Report Post  
Yudi Setiawan
 
Posts: n/a
Default

One more thing, so Max if I have 5 columns, I just have to change 4 to 5
right? Thanks..

Yudi

"Max" wrote:

Assuming data below is in Sheet1, cols A to D, from row1 down

1 2 3 4
5 6 7 8

etc

In Sheet2
-----------
Put in A1:
=OFFSET(Sheet1!$A$1,INT((ROWS($A$1:A1)-1)/4),MOD(ROWS($A$1:A1)-1,4))

Copy down until zeros appear signalling exhaution of data

--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----

"yudi_lks" wrote:

HI.. Is there any way to convert multiple rows data into 1 single column?


Like this
1 2 3 4
5 6 7 8

Into
1
2
3
4
5
6
7
8

The problem is I have 687 rows, which I'm sure will take forever to do it
manually..

Many thanks!!

Yudi

  #10   Report Post  
Max
 
Posts: n/a
Default

Yes, just change the number "4" in
both the INT(..) and MOD(...) parts to suit
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Yudi Setiawan" wrote in message
...
One more thing, so Max if I have 5 columns, I just have to change 4 to 5
right? Thanks..

Yudi





  #11   Report Post  
Yudi Setiawan
 
Posts: n/a
Default

Cool.. Thanks

"Max" wrote:

Yes, just change the number "4" in
both the INT(..) and MOD(...) parts to suit
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Yudi Setiawan" wrote in message
...
One more thing, so Max if I have 5 columns, I just have to change 4 to 5
right? Thanks..

Yudi




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
Convert multiple columns to rows Lois Lane Excel Worksheet Functions 8 January 10th 05 12:47 AM
Multiple rows of data on a single axis (charting) ramseysgirl Charts and Charting in Excel 8 December 29th 04 06:00 PM
how do I easily convert a single column of text (multiple rows si. philmah Excel Discussion (Misc queries) 2 December 16th 04 12:24 AM
how to convert multiple columns of data into one single column? Ah 3 Excel Worksheet Functions 1 November 12th 04 02:33 PM
Count rows based on multiple criteria Murph Excel Worksheet Functions 1 October 28th 04 07:13 AM


All times are GMT +1. The time now is 07:23 AM.

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"