Skip to content

How to transpose rows to columns in Excel in Excel

Flip a table or list so rows become columns and columns become rows, with the TRANSPOSE function or Paste Special on the ribbon.

The data runs down the sheet, but you need it across, or the other way round. A list of regions in a column should become headings in a row. Retyping is slow and error-prone. Transposing flips the layout in one step.

The formula is TRANSPOSE:

=TRANSPOSE(A1:C4)

Give it the range and it returns the same data turned a quarter-turn: row 1 becomes column 1, row 2 becomes column 2, and so on. A 4-row by 3-column block becomes a 3-row by 4-column block. In Microsoft 365 the result spills into the cells below and to the right of where you typed, so those cells must be empty. The result stays linked to the source: change a number in the original and the flipped copy updates.

In older versions TRANSPOSE has to be entered as an array formula: select a block of the right final size, type the formula, and press Ctrl+Shift+Enter.

If you want a one-off flip without a live link, use Paste Special. Copy the range, right-click the cell where you want the result, and choose Paste Special, tick Transpose, and select OK. Or on the Home tab open the Paste menu and pick Transpose from the paste options. This pastes fixed values and formats, and does not update.

Transpose does not change the data itself, only its layout. Formulas that point at a transposed spill must use the spill's first cell with a hash, such as E1#, to refer to the whole result.

When you have a long list to spread over several rows rather than one, look at WRAPROWS and WRAPCOLS. The Analysis track works with dynamic arrays.

2 ways to do it

1TRANSPOSE formula (stays linked)

=TRANSPOSE(A1:C4)

  1. Pick the top-left cell for the result. Make sure the cells it will fill are empty.
  2. Type =TRANSPOSE( and select the source range, then close the bracket and press Enter.
  3. The flipped data spills out. In older versions, select the full output block first and press Ctrl+Shift+Enter.

2Paste Special > Transpose (fixed copy)

  1. Select the data and copy it with Ctrl+C.
  2. Right-click the first cell of the destination and choose Paste Special, or open Home > Paste > Paste Special.
  3. Tick Transpose and select OK. The pasted copy does not follow later changes.

Try it yourself

Solve it in the sheet. Every answer is checked, with hints if you need them.

Task 1 of 2

In E2, flip the table in A1:C4 so its rows become columns. Leave the cells to the right and below empty.

Answer in E2.

E2
A
B
C
D
E
F
G
H
I
1
Region
Q1
Q2
Flipped table
2
East
120
135
3
West
98
110
4
North
76
88
5
Days across
6
Mon
7
Tue
8
Wed
9
Thu
10
Fri
11

Learn it properly, one graded sheet at a time.

Tracks take you from the basics to modelling.