Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Aloysicus
 
Posts: n/a
Default horizontal data to vertical data

I have a set of data list in the horizontal manner. Is there a macro that
can send this data vertically instead of manually doing it?

Thanks in advance.
Aloysicus


  #2   Report Post  
Max
 
Posts: n/a
Default

One way ..

Assume source data is in Sheet1, A1:E1

In Sheet2

Put in A1:
=OFFSET(Sheet1!$A$1,COLUMNS($A$1:A1)-1,ROWS($A$1:A1)-1)

Copy A1 down by as many rows as there are columns in Sheet1, i.e. down to A5

A1:A5 will return whats in A1:E1 in Sheet1

--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Aloysicus" wrote in message
...
I have a set of data list in the horizontal manner. Is there a macro that
can send this data vertically instead of manually doing it?

Thanks in advance.
Aloysicus




  #3   Report Post  
cycling-rod
 
Posts: n/a
Default


From Excel Help:
Switch rows of cells to columns or columns to rows
Data from the top row of the copy area appears in the left column of
the paste area, and data from the left column appears in the top row.
1 Select the cells that you want to switch.
2 Click Copy .
3 Select the upper-left cell of the paste area.
The paste area must be outside the copy area.
4 On the Edit menu, click Paste Special.
Show me
5 Select the Transpose check box.


--
cycling-rod
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
Horizontal data to vertical data Aloysicus Excel Discussion (Misc queries) 4 April 10th 05 01:52 PM
tranfere vertical data to horizontal tabel dagfinn Excel Worksheet Functions 2 January 29th 05 06:19 PM
Pulling data from 1 sheet to another Dave1155 Excel Worksheet Functions 1 January 12th 05 05:55 PM
Flip the X and Y data on a chart so that the Y data is vertical. Haynesz Charts and Charting in Excel 1 December 3rd 04 01:14 PM
How can I insert a vertical column break between data to create a. Mark Wisdom Excel Worksheet Functions 1 November 23rd 04 04:10 AM


All times are GMT +1. The time now is 08:56 PM.

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

About Us

"It's about Microsoft Excel"