FormulaCraft

How to transpose rows to columns in Excel and Google Sheets

Topic:Data cleaning & shaping
Excel & Google Sheets
=TRANSPOSE(A1:B3)

Verified example

Computed by a real spreadsheet engine on the sample data below.

MonthSales
Jan100
Feb200
Mar300
Apr150
May250

=TRANSPOSE(A1:B3)Month, Jan, Feb | Sales, 100, 200

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1Static method: Copy the source range, go to the destination cell, right-click → Paste Special → Transpose (Excel) or Paste Special → Transposed (Sheets).
  2. 2Formula method: In an empty area, enter =TRANSPOSE(A1:B3) — in Excel 365 this spills automatically; in older Excel enter it as an array formula with Ctrl+Shift+Enter.
  3. 3Adjust the source range to match your actual data dimensions.

Tips

Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.

Frequently asked

Can TRANSPOSE handle a single row?

Yes — TRANSPOSE of a 1×N range returns an N×1 column, and vice versa.

Why do I get a #VALUE! error with TRANSPOSE in older Excel?

You must select a range the exact size of the transposed output, type the formula, and press Ctrl+Shift+Enter to enter it as an array formula.

More on Data cleaning & shaping

See all →

Formulas used

Related tasks

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: