Microsoft KB Archive/118484

-

{|
 * width="100%"|

The information in this article applies to:
 * Microsoft Excel 97 for Windows
 * Microsoft Excel for Windows 95, versions 7.0, 7.0a
 * Microsoft Excel for Windows, versions 4.0, 4.0a, 5.0, 5.0c
 * Microsoft Excel for the Macintosh, versions 4.0, 5.0, 5.0a

SUMMARY
In Microsoft Excel, the Paste Special dialog box does not offer an option to simultaneously link and transpose a copied range. To do this, use the TRANSPOSE function. When you enter the TRANSPOSE function as an array, you can create a transposed link to an area that contains data.

MORE INFORMATION
For example, to link and transpose the following sample data

A1: 1  B1: 5 A2: 2  B2: 6 A3: 3  B3: 7 A4: 4  B4: 8 follow these steps:  Select a range equivalent in size to the range containing the data, but with rows and columns reversed. In this case, the original data range is four rows by two columns in size; therefore, the range you select should be two rows by four columns.  In the formula box, type the following formula: =TRANSPOSE(A1:B4) NOTE: You must enter this formula as an array formula. To enter a formula as an array formula in Microsoft Excel for Windows, press CTRL+SHIFT+ENTER. In Microsoft Excel for the Macintosh, press COMMAND+ENTER. 

The transposed data appears in the selected cells. You can create a transposed link between different worksheets by including the worksheet name in the TRANSPOSE formula. For example, the following formula

=TRANSPOSE(Sheet1!A1:B4) creates a transposed link to cells A1:B4 on Sheet1.
 * }

-

Last reviewed: September 3, 1998

© 1998 Microsoft Corporation. All rights reserved. Terms of Use.