Contact

TRANSPOSE Function in Google Sheets: Syntax, Examples & Compatibility

Array Intermediate Google Sheets

Learn how to rotate a rectangular dataset so rows become columns and columns become rows in Google Sheets. Includes syntax, two verified-by-reasoning results, troubleshooting and portability notes.

Verification status: See the evidence and test scope described in this guide. How formula examples are checked

Quick answer: rotate a rectangular dataset so rows become columns and columns become rows in Google Sheets. The reproducible examples below use explicit values so the formula’s meaning is testable without a large workbook.

Evidence: The function name and syntax are documented in the linked vendor function reference. Expected outputs were independently reasoned or checked outside the application. These are not native Google Sheets test results. A guide being published here does not certify every software release or file-import scenario.

Availability and version history

  • Introduced: Introduction version not established by the official history reviewed.
  • Availability: Documented in the rolling Google Sheets service; examples use the web spreadsheet workflow.
  • Checked: October 14, 2026; official TRANSPOSE reference. Documentation check, not a new native test; existing example-verification notes retain their scope.

Syntax and arguments

=TRANSPOSE(array)

Supply a rectangular source range. The returned array requires enough unobstructed space to display the flipped dimensions.

Best use case: Rotate a rectangular dataset so rows become columns and columns become rows.

Set up the example sheet

Enter this two-column dataset into A2:B3:

Cell Value
A2 Pen
B2 12
A3 Pad
B3 5

Enter the formula in an unused cell. For a formula returning several values, leave an unobstructed area where those values can expand. These formulas use comma argument separators in a typical English-language locale; commas or semicolons inside quoted text are data, not argument separators. Adapt the separator if your regional settings require it.

Worked example 1: TRANSPOSE with known input

=TRANSPOSE(A2:B3)

Expected output: a 2×2 array with first row Pen, Pad and second row 12, 5.

The first source column becomes the first result row; the second source column becomes the second result row.

Worked example 2: a second TRANSPOSE case

=TRANSPOSE(A2:A3)

Expected output: one horizontal row containing Pen, Pad.

A two-row source column becomes two output columns.

Compare both results before replacing literal values or short sample ranges with your own workbook data. For a spilling formula, compare every output cell, not only the top-left result.

Practical advice and troubleshooting

When this formula helps: Place the formula where the expanded output has enough room; do not pre-fill cells that the result needs.

Important edge case: Older Excel releases may require legacy array-entry behavior, whereas modern dynamic-array Excel and Google Sheets normally spill results.

If the result differs, first verify the text-versus-number types of the input cells, the argument separators for your locale, and the range size. For dynamic arrays, inspect occupied cells in the output area. After importing a file, check function names and the destination application’s support as well as the input data.

Compatibility and version considerations

Workbook compatibility hinges on whether the destination application supports dynamic array spill or older array-formula conventions.

Google Sheets is a rolling service; record the check date and spreadsheet locale. Verify the destination application and release separately when exporting a workbook.

Function availability and parameter behavior must be judged for the specific application and release; a function documented in one spreadsheet does not automatically work in another.

Editorial verification: Direct function documentation reviewed October 14, 2026. The two example outputs are independently reasoned; no native application run, screenshot, or version-specific output is claimed. Review the editorial testing standards if you require stronger proof before importing a workbook.