Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default rotating a spreadsheet

I need to rotate data in a spreadsheet, but not like transpose. What
I have is:

1 2 3
4 5 6
7 8 9

And I need to change it to:

7 4 1
8 5 2
9 6 3

or

3 6 9
2 5 8
1 4 7
In essence, landscape to portrait, is this possible?

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 50
Default rotating a spreadsheet



" wrote:

I need to rotate data in a spreadsheet, but not like transpose. What
I have is:

1 2 3
4 5 6
7 8 9

And I need to change it to:

7 4 1
8 5 2
9 6 3

or

3 6 9
2 5 8
1 4 7
In essence, landscape to portrait, is this possible?

Hi,

If you have have a large volume of data, the best way to do it
would be to scan the rows and put the cell values in columns appropriately -
with a Macro.

The macro needs to be worked out.

VJ

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default rotating a spreadsheet

Enter and run:

Sub spin_um()
Dim v(8)
s = Array("A1", "B1", "C1", "C2", "C3", "B3", "A3", "A2")
For i = 0 To 7
v(i) = Range(s(i)).Value
Next
For i = 0 To 7
k = i + 2
If k 7 Then
k = k - 8
End If
Range(s(k)).Value = v(i)
Next
End Sub
--
Gary's Student
gsnu200708


" wrote:

I need to rotate data in a spreadsheet, but not like transpose. What
I have is:

1 2 3
4 5 6
7 8 9

And I need to change it to:

7 4 1
8 5 2
9 6 3

or

3 6 9
2 5 8
1 4 7
In essence, landscape to portrait, is this possible?


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,886
Default rotating a spreadsheet

Hi Andrew

With your existing data in A1:C3, enter in say cell F1

=INDEX($A$1:$C$3,4-COLUMN(A1),ROW(A1))

Copy across through G1:H1
Copy F1:H1 to F2:F3

--
Regards

Roger Govier


wrote in message
ups.com...
I need to rotate data in a spreadsheet, but not like transpose. What
I have is:

1 2 3
4 5 6
7 8 9

And I need to change it to:

7 4 1
8 5 2
9 6 3

or

3 6 9
2 5 8
1 4 7
In essence, landscape to portrait, is this possible?



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default rotating a spreadsheet

Based on Roger's reply, for your second rotation:

=INDEX($A$1:$C$3,COLUMN(A1),4-ROW(A1))

"Roger Govier" wrote:

Hi Andrew

With your existing data in A1:C3, enter in say cell F1

=INDEX($A$1:$C$3,4-COLUMN(A1),ROW(A1))

Copy across through G1:H1
Copy F1:H1 to F2:F3

--
Regards

Roger Govier


wrote in message
ups.com...
I need to rotate data in a spreadsheet, but not like transpose. What
I have is:

1 2 3
4 5 6
7 8 9

And I need to change it to:

7 4 1
8 5 2
9 6 3

or

3 6 9
2 5 8
1 4 7
In essence, landscape to portrait, is this possible?




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
Rotating through a range of integers zealot Excel Discussion (Misc queries) 2 November 29th 06 10:55 PM
Rotating excel spreadsheet for use in photoshop/ using diamond cells tia sal2 [email protected] Excel Discussion (Misc queries) 3 October 22nd 06 02:48 AM
rotating list Shannon Excel Worksheet Functions 2 August 28th 06 12:09 PM
Rotating Scroll Bar PaulW Excel Discussion (Misc queries) 3 March 9th 06 01:33 PM
Rotating a chart, and more.. adambowie Charts and Charting in Excel 2 November 14th 05 09:47 AM


All times are GMT +1. The time now is 11:15 AM.

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"