Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
ChrisH
 
Posts: n/a
Default How Do I reverse axis in a spreadsheet

I have a fairly large (6MB) and mature spreadsheet that I need to have the
columns and rows reversed? (ie. names in the left column and measurements in
the top row) Is there a global function or is this one large pivot table?
--
Thank you,
Chris H
  #2   Report Post  
Max
 
Posts: n/a
Default

If its a one time job, try a copy paste special transpose ok over to a
new sheet.

If it's to be dynamic to the source, one way is via using TRANSPOSE()

Assume source range is in Sheet1, in A1:T5 (a 5R x 20C range)

In Sheet2,

Select A1:E20 (a 20R x 5C converse range)

Put in the formula bar: =TRANSPOSE(Sheet1!A1:T5)
Array-enter the formula by pressing CTRL+SHIFT+ENTER

A1:E20 returns a dynamic transpose of what's in A1:T5 in Sheet1

For a neater look, we could suppress extraneous zeros display via: Tools
Options View tab Uncheck "Zero values" OK
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"ChrisH" wrote in message
...
I have a fairly large (6MB) and mature spreadsheet that I need to have the
columns and rows reversed? (ie. names in the left column and measurements

in
the top row) Is there a global function or is this one large pivot table?
--
Thank you,
Chris H



  #3   Report Post  
Biff
 
Posts: n/a
Default

I'm guessing that a 6MB file might have more than a 5R x 20C range.

<vbg

Cheers!

Biff

"Max" wrote in message
...
If its a one time job, try a copy paste special transpose ok over to
a
new sheet.

If it's to be dynamic to the source, one way is via using TRANSPOSE()

Assume source range is in Sheet1, in A1:T5 (a 5R x 20C range)

In Sheet2,

Select A1:E20 (a 20R x 5C converse range)

Put in the formula bar: =TRANSPOSE(Sheet1!A1:T5)
Array-enter the formula by pressing CTRL+SHIFT+ENTER

A1:E20 returns a dynamic transpose of what's in A1:T5 in Sheet1

For a neater look, we could suppress extraneous zeros display via: Tools
Options View tab Uncheck "Zero values" OK
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"ChrisH" wrote in message
...
I have a fairly large (6MB) and mature spreadsheet that I need to have
the
columns and rows reversed? (ie. names in the left column and measurements

in
the top row) Is there a global function or is this one large pivot table?
--
Thank you,
Chris H





  #4   Report Post  
Max
 
Posts: n/a
Default

"Biff" wrote:
I'm guessing that a 6MB file might have more
than a 5R x 20C range. <vbg


Most probably! <g

Purely for ease of set-up, especially for huge source ranges, I'd prefer
using the non-array OFFSET (rather than TRANSPOSE)

Assume source range is in Sheet1, in A1:IV50 (a 50R x 256C range)

In Sheet2, with A1 containing:
=OFFSET(Sheet1!$A$1,COLUMNS($A$1:A1)-1,ROWS($A$1:A1)-1)

Just fill across & down (or down & across)
to cover the converse grid size (256R x 50C)
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----


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
can't change how data on 2nd axis is being displayed Rebekah Charts and Charting in Excel 1 May 4th 05 02:51 PM
How do I reverse a spreadsheet that is in the format of a subtota. Frank DiPietro Excel Discussion (Misc queries) 2 January 18th 05 05:15 PM
space between y axis and data points.. Dave R. Charts and Charting in Excel 3 January 8th 05 04:56 AM
Second X axis at top of chart? Phil Hageman Charts and Charting in Excel 1 December 29th 04 01:48 PM
scatterplot chart with reverse axis hls0005 Charts and Charting in Excel 4 December 18th 04 09:03 PM


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