TRANSPOSE Function in Excel: Flip Rows and Columns

TRANSPOSE Function in Excel: Flip Rows and Columns featured illustration

πŸ“Ž This article includes 1 downloadable practice file ↓

⏱ 2 min readUpdated 12 October 2026

LookupLevel: IntermediateAvailable in: Excel 2007+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. TRANSPOSE in practice
  5. Where you will use it
  6. Worked example
  7. Mistakes people make
  8. Related functions
  9. Continue learning

TRANSPOSE turns a vertical range horizontal and vice versa, and stays linked to the source.

Advertisement

Syntax

=TRANSPOSE(array)
Argument What it means
array Range to flip.

Examples

Example 1

=TRANSPOSE(A1:A12)

Months down a column become months across a row (spills in Excel 365; Ctrl+Shift+Enter in older versions).

πŸ’‘ One-off flip without a formula: Copy β†’ Paste Special β†’ Transpose.

TRANSPOSE in practice

Where you will use it

  • Turn a column into a row
  • Flip a table
  • Feed horizontal arrays to other functions

Worked example

First N months turned into a row.

RowsFormulaResult
3=TEXTJOIN(" | ",,TRANSPOSE(INDEX({"Apr";"May";"Jun";"Jul"},SEQUENCE(A2))))Apr | May | Jun
2=TEXTJOIN(" | ",,TRANSPOSE(INDEX({"Apr";"May";"Jun";"Jul"},SEQUENCE(A3))))Apr | May
4=TEXTJOIN(" | ",,TRANSPOSE(INDEX({"Apr";"May";"Jun";"Jul"},SEQUENCE(A4))))Apr | May | Jun | Jul

Results calculated in Excel.

Mistakes people make

MistakeWhat to do instead
Static copy neededPaste Special > Transpose instead
Spill blockedClear cells in the way

TOCOL Β· INDEX Β· MMULT

πŸ“š Part of the free Excel course: Beginner β†’ Expert Β· Try it in the Formula Lab or ask the AI Helper.

⚑ Interactive Practice Lab & Formula Tester:

Test formulas dynamically in our web formula laboratory or download the companion Excel workbook.

πŸ“Ž Practice files for this article

  • πŸ“—
    Practice workbook: Lookup & reference17 tasks on realistic sales data β€” type your formula, the Check column turns green when it is right. Answers sheet included.
    ⬇ XLSX Β· 35 KB

Free to use for learning. Files with macros (.bas) are plain text β€” import them with Alt+F11 β†’ File β†’ Import File, and always test on a copy.

✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free Β· AI can be wrong

Leave a Reply

Your email address will not be published. Required fields are marked *