A Microsoft Excel forum. ExcelBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » ExcelBanter forum » Excel Newsgroups » Excel Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How Do I reverse axis in a spreadsheet



 
 
Thread Tools Display Modes
  #1  
Old July 10th 05, 11:03 PM
ChrisH
external usenet poster
 
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
Ads
  #2  
Old July 10th 05, 11:43 PM
Max
external usenet poster
 
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 <at>yahoo<dot>com
----
"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  
Old July 11th 05, 05:26 AM
Biff
external usenet poster
 
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 <at>yahoo<dot>com
> ----
> "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  
Old July 11th 05, 07:03 AM
Max
external usenet poster
 
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 <at>yahoo<dot>com
----


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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:44 PM.


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