SheetRocks
Documentation/Formulas/TRANSPOSE

TRANSPOSE

Returns the result after transposing the rows and columns of an array or range.

Syntax

TRANSPOSE(array)

Arguments

Argument Description Required
array The range or an array to interchange the rows and columns. Required

Examples

Transpose a 2x3 array to 3x2

=TRANSPOSE(A1:C2)
Result ⇒ Array: [["A","1"], ["B","2"], ["C","3"]]
A B C
1 A B C
2 1 2 3

Convert row to column

=TRANSPOSE(A1:C1)
Result ⇒ Array: [["Red"], ["Green"], ["Blue"]]
A B C
1 Red Green Blue

Convert column to row

=TRANSPOSE(A1:A3)
Result ⇒ Array: [["Jan", "Feb", "Mar"]]
A
1 Jan
2 Feb
3 Mar

Related Functions

Other Data functions:


← Back to Formula Reference