#1   Report Post  
Spil
 
Posts: n/a
Default Transpose Macro

I want to have the data below (start) transposed via a macro to the data as
under
RESULT

thanks for your help

Start

January 1 2 3 4 5 6 7
February 8 9 10 11 12 13 14
March 15 16 17 18 19 20 21
April 22 23 24 25 26 27 28
May 29 30 31 32 33 34 35
June 36 37 38 39 40 41 42
July 43 44 45 46 47 48 49
August 50 51 52 53 54 55 56
September 57 58 59 60 61 62 63
October 64 65 66 67 68 69 70
November 70 71 72 73 74 75 76
December 77 78 79 80 81 82 83

RESULT

January February
1 8
2 9
3 10
4 11
5 12
6 13
7 14

  #2   Report Post  
R.VENKATARAMAN
 
Posts: n/a
Default

use something like this
===========
Selection.Copy
Range("J1").Select
Selection.PasteSpecial Paste:=xlAll, Operation:=xlNone,
SkipBlanks:=False _
, Transpose:=True

==============
the transposed material is copied in J1. change this J1 to suit you;.

Spil wrote in message
...
I want to have the data below (start) transposed via a macro to the data

as
under
RESULT

thanks for your help

Start

January 1 2 3 4 5 6 7
February 8 9 10 11 12 13 14
March 15 16 17 18 19 20 21
April 22 23 24 25 26 27 28
May 29 30 31 32 33 34 35
June 36 37 38 39 40 41 42
July 43 44 45 46 47 48 49
August 50 51 52 53 54 55 56
September 57 58 59 60 61 62 63
October 64 65 66 67 68 69 70
November 70 71 72 73 74 75 76
December 77 78 79 80 81 82 83

RESULT

January February
1 8
2 9
3 10
4 11
5 12
6 13
7 14





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
Help with macro looping and color query function kevinm Excel Discussion (Misc queries) 10 May 26th 05 01:25 AM
Transpose date macro Henry Lifton Excel Worksheet Functions 2 March 16th 05 06:12 PM
Playing a macro from another workbook Jim Excel Discussion (Misc queries) 1 February 23rd 05 10:12 PM
Date macro Hiking Excel Discussion (Misc queries) 9 February 3rd 05 12:40 AM
Moving down one row in a macro Cathy S. New Users to Excel 3 January 4th 05 09:02 PM


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