Edit

Share via


WorksheetFunction.Transpose(Object) Method

Definition

Returns a vertical range of cells as a horizontal range, or vice versa. TRANSPOSE must be entered as an array formula in a range that has the same number of rows and columns, respectively, as an array has columns and rows. Use TRANSPOSE to shift the vertical and horizontal orientation of an array on a worksheet.

public:
 System::Object ^ Transpose(System::Object ^ Arg1);
public object Transpose (object Arg1);
Public Function Transpose (Arg1 As Object) As Object

Parameters

Arg1
Object

Array - an array or range of cells on a worksheet that you want to transpose. The transpose of an array is created by using the first row of the array as the first column of the new array, the second row of the array as the second column of the new array, and so on.

Returns

Applies to