TRANSPOSE Function
Flips rows and columns of an array.
Syntax
Parameters
| Parameter | Description | Required |
|---|---|---|
| array | The range or array of values to transpose. | Required |
Basic Example
Turn a column into a row
=TRANSPOSE(A1:A3)The three-row, one-column range becomes a one-row, three-column result.
Advanced Examples
Example 1: Rotate a table
A 2x3 block A1:C2Swap rows and columns
=TRANSPOSE(A1:C2)Example 2: Feed a transposed range to another function
Need rows as columns for a lookupUse inline as an array
=TRANSPOSE(A1:A5)How TRANSPOSE Works
TRANSPOSE swaps the row and column indices of the input array, so element (r, c) in the source appears at (c, r) in the result. In Microsoft 365 it spills the full result automatically; in older Excel it must be entered as an array formula across the target range.
Important Notes & Limitations
In older Excel, TRANSPOSE must be entered as an array formula (Ctrl+Shift+Enter); a single cell shows only one element.
The output range must have the transposed dimensions or results are truncated.
Transposing only flips orientation; it does not reshape to arbitrary dimensions.
Common Errors & Fixes
Only one value appearsLegacy Excel without array entry, or the formula placed in a single cell.Fix: Select the full target range and use Ctrl+Shift+Enter (or use Microsoft 365's dynamic arrays).
Download Practice File
TRANSPOSE
transposePractice TRANSPOSE with Real Data
Download a sample CSV file with pre-populated data and practice exercises for the TRANSPOSE function. Works in both Excel and Google Sheets.
File format: CSV (comma-separated values) - opens in Excel, Google Sheets, and all spreadsheet apps