Google Sheets
TRANSPOSE function in Google Sheets
Transposes the rows and columns of an array or range of cells.
=TRANSPOSE(array_or_range)TRANSPOSE syntax and parameters
One argument, one required.
- array_or_rangeanyRequired
The array or range whose rows and columns will be swapped.
TRANSPOSE examples
Formulas you'll actually reuse.
Twelve month names down a column, laid across as headers:
=TRANSPOSE(A2:A13)Weight a row of scores by a column of weights — TRANSPOSE lines them up:
=SUMPRODUCT(B2:D2, TRANSPOSE(F2:F4))Result
84.5
TRANSPOSE in Excel
Same name — your formula ports as-is.
Try TRANSPOSE in the playground
Edit the example — nothing to install.
Preloaded with the TRANSPOSE formula from Example 1 — change anything and watch it respond.
Loading the editor…
Related functions
More ways Google Sheets gets this done.
- CHOOSECOLSCreates a new array from the selected columns in the existing range.ArrayExcel
- CHOOSEROWSCreates a new array from the selected rows in the existing range.ArrayExcel
- HSTACKAppends ranges horizontally and in sequence to return a larger array.ArrayExcel
- LINESTGiven partial data about a linear trend, calculates various parameters about the ideal linear trend using the least-squares method.ArrayExcel
- MDETERMReturns the matrix determinant of a square matrix specified as an array or range.ArrayExcel
- MINVERSEReturns the multiplicative inverse of a square matrix specified as an array or range.ArrayExcel