Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Ferrin444
 
Posts: n/a
Default Changing fill orientation

I'm trying to get a table "transposed" by referencing the cells in another
worksheet. Currently it looks something like this

January February March April
M1
M2
M3
M4

I'd like it to look like this, while maintaining a dynamic link:

M1 M2 M3 M4 M5
January
February
March
April

I'd like to be able to reference the first cell and then drag the formula
either down (instead of rows incrementing, the columns would increment) and
the same for dragging the formula to the right. Is this possible????

ie
D1 D2 D3 D4
E1 E2 E3 E4
F1 F2 F3 F4

where D1 was the first reference brought in and the rest were dragged and
filled from there.

Can anyone help???
  #2   Report Post  
Myrna Larson
 
Posts: n/a
Default

Use the TRANSPOSE function. Let's say your table is in Sheet1!$C$23:$N$38.
That's 16 rows by 12 columns.

On the 2nd sheet, select an area that's 12 rows by 16 columns. In the upper
left cell of the selection, type the formula =TRANSPOSE(Sheet1!$C$23:$N$38)
and press CTRL+SHIFT+ENTER.

BTW, you'll have to redo the formula if the size of the range changes (you add
or delete rows or columns).


On Wed, 26 Jan 2005 10:19:04 -0800, Ferrin444
wrote:

I'm trying to get a table "transposed" by referencing the cells in another
worksheet. Currently it looks something like this

January February March April
M1
M2
M3
M4

I'd like it to look like this, while maintaining a dynamic link:

M1 M2 M3 M4 M5
January
February
March
April

I'd like to be able to reference the first cell and then drag the formula
either down (instead of rows incrementing, the columns would increment) and
the same for dragging the formula to the right. Is this possible????

ie
D1 D2 D3 D4
E1 E2 E3 E4
F1 F2 F3 F4

where D1 was the first reference brought in and the rest were dragged and
filled from there.

Can anyone help???


  #3   Report Post  
John Mansfield
 
Posts: n/a
Default

As an example assume you have this data with "M1" in cell A2 and "Jan" in
cell B1. The total area should be A1:E5:

Jan Feb Mar Apr
M1 1 5 9 13
M2 2 6 10 14
M3 3 7 11 15
M4 4 8 12 16

Go to the formula bar. Select the area A8:E11. Go to the formula bar and
type in the formula:

=TRANSPOSE(B1:E5)

Hit the CONTROL - ALT - ENTER keys at the same time.

The table will look like this:

Jan 1 2 3 4
Feb 5 6 7 8
Mar 9 10 11 12
Apr 13 14 15 16

Go to the formula bar. Select the area B7:E7. Go to the formula bar and
type in the formula:

=TRANSPOSE(A2:A5)

Hit the CONTROL - ALT - ENTER keys at the same time.

The finished table looks like this:

M1 M2 M3 M4
Jan 1 2 3 4
Feb 5 6 7 8
Mar 9 10 11 12
Apr 13 14 15 16


----
Regards,
John Mansfield
http://www.pdbook.com


"Ferrin444" wrote:

I'm trying to get a table "transposed" by referencing the cells in another
worksheet. Currently it looks something like this

January February March April
M1
M2
M3
M4

I'd like it to look like this, while maintaining a dynamic link:

M1 M2 M3 M4 M5
January
February
March
April

I'd like to be able to reference the first cell and then drag the formula
either down (instead of rows incrementing, the columns would increment) and
the same for dragging the formula to the right. Is this possible????

ie
D1 D2 D3 D4
E1 E2 E3 E4
F1 F2 F3 F4

where D1 was the first reference brought in and the rest were dragged and
filled from there.

Can anyone help???

  #4   Report Post  
Myrna Larson
 
Posts: n/a
Default

Typo there. It's CTRL+SHIFT+ENTER.

On Wed, 26 Jan 2005 10:59:03 -0800, "John Mansfield"
wrote:

As an example assume you have this data with "M1" in cell A2 and "Jan" in
cell B1. The total area should be A1:E5:

Jan Feb Mar Apr
M1 1 5 9 13
M2 2 6 10 14
M3 3 7 11 15
M4 4 8 12 16

Go to the formula bar. Select the area A8:E11. Go to the formula bar and
type in the formula:

=TRANSPOSE(B1:E5)

Hit the CONTROL - ALT - ENTER keys at the same time.

The table will look like this:

Jan 1 2 3 4
Feb 5 6 7 8
Mar 9 10 11 12
Apr 13 14 15 16

Go to the formula bar. Select the area B7:E7. Go to the formula bar and
type in the formula:

=TRANSPOSE(A2:A5)

Hit the CONTROL - ALT - ENTER keys at the same time.

The finished table looks like this:

M1 M2 M3 M4
Jan 1 2 3 4
Feb 5 6 7 8
Mar 9 10 11 12
Apr 13 14 15 16


----
Regards,
John Mansfield
http://www.pdbook.com


"Ferrin444" wrote:

I'm trying to get a table "transposed" by referencing the cells in another
worksheet. Currently it looks something like this

January February March April
M1
M2
M3
M4

I'd like it to look like this, while maintaining a dynamic link:

M1 M2 M3 M4 M5
January
February
March
April

I'd like to be able to reference the first cell and then drag the formula
either down (instead of rows incrementing, the columns would increment) and
the same for dragging the formula to the right. Is this possible????

ie
D1 D2 D3 D4
E1 E2 E3 E4
F1 F2 F3 F4

where D1 was the first reference brought in and the rest were dragged and
filled from there.

Can anyone help???


  #5   Report Post  
Ferrin444
 
Posts: n/a
Default

Thank you both so very much! This seems to be doing the trick!

"Myrna Larson" wrote:

Typo there. It's CTRL+SHIFT+ENTER.

On Wed, 26 Jan 2005 10:59:03 -0800, "John Mansfield"
wrote:

As an example assume you have this data with "M1" in cell A2 and "Jan" in
cell B1. The total area should be A1:E5:

Jan Feb Mar Apr
M1 1 5 9 13
M2 2 6 10 14
M3 3 7 11 15
M4 4 8 12 16

Go to the formula bar. Select the area A8:E11. Go to the formula bar and
type in the formula:

=TRANSPOSE(B1:E5)

Hit the CONTROL - ALT - ENTER keys at the same time.

The table will look like this:

Jan 1 2 3 4
Feb 5 6 7 8
Mar 9 10 11 12
Apr 13 14 15 16

Go to the formula bar. Select the area B7:E7. Go to the formula bar and
type in the formula:

=TRANSPOSE(A2:A5)

Hit the CONTROL - ALT - ENTER keys at the same time.

The finished table looks like this:

M1 M2 M3 M4
Jan 1 2 3 4
Feb 5 6 7 8
Mar 9 10 11 12
Apr 13 14 15 16


----
Regards,
John Mansfield
http://www.pdbook.com


"Ferrin444" wrote:

I'm trying to get a table "transposed" by referencing the cells in another
worksheet. Currently it looks something like this

January February March April
M1
M2
M3
M4

I'd like it to look like this, while maintaining a dynamic link:

M1 M2 M3 M4 M5
January
February
March
April

I'd like to be able to reference the first cell and then drag the formula
either down (instead of rows incrementing, the columns would increment) and
the same for dragging the formula to the right. Is this possible????

ie
D1 D2 D3 D4
E1 E2 E3 E4
F1 F2 F3 F4

where D1 was the first reference brought in and the rest were dragged and
filled from there.

Can anyone help???



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
fill series grayed out (not available, disactivated) Michel Dion (from IMS Health in Canada) Excel Discussion (Misc queries) 1 December 17th 04 02:35 AM
Changing chart orientation Melissa Charts and Charting in Excel 3 December 10th 04 10:15 PM
Identifying the Active Fill Color Steve Conary Excel Discussion (Misc queries) 3 December 9th 04 04:45 AM
Auto Fill Options Patti B Excel Discussion (Misc queries) 3 December 9th 04 12:49 AM
Changing Cell Fill Colour Nick Excel Discussion (Misc queries) 4 December 6th 04 10:05 PM


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