Templates, guides & honest tool reviews for small business

Sunday, November 29, 2026

Transpose in Excel: Paste Special and the TRANSPOSE Function

Transpose in Excel: switch rows and columns
Illustration: Transpose in Excel

To transpose in Excel, copy your data, right click the destination cell, and choose Paste Special, then tick Transpose. Rows become columns and columns become rows. This guide covers that method, the TRANSPOSE function that stays linked to the source, the difference between the two, and the errors people hit. The sample data is made up.

Transpose with Paste Special

  1. Select the range, for example A1:D2, and press Ctrl+C.
  2. Click an empty cell where the result should start, such as F1.
  3. Right click and choose Paste Special.
  4. Tick Transpose and click OK.

A table that was 2 rows by 4 columns becomes 4 rows by 2 columns. The pasted cells are plain values and formatting. They do not update if the source changes. If you copy cells that contain formulas, check the references after pasting, because they may shift.

Transpose in Excel with Paste Special
Four steps (illustration).

Transpose with the TRANSPOSE function

=TRANSPOSE(array)

In Excel 365 and Excel 2021 or later, type the formula in one cell and press Enter:

=TRANSPOSE(A1:D2)

The result spills into the cells it needs. If you change the source, the result changes too. The target cells must be empty, or you get a #SPILL! error. In older versions of Excel, TRANSPOSE is an array formula. Select a block of cells with the flipped size (4 rows by 2 columns here), type the formula, and press Ctrl+Shift+Enter.

TRANSPOSE function in Excel spills the result
2 rows by 4 columns becomes 4 by 2 (illustration).

Paste Special or TRANSPOSE?

  • Paste Special gives a one-time copy. You can edit the cells afterwards and it keeps formatting.
  • TRANSPOSE stays linked. You cannot edit a single result cell, and formatting is not copied.

Use Paste Special for a final report, and the function for a live view of changing data.

Paste Special versus TRANSPOSE function in Excel
Static copy or live link (illustration).

Flip a single column into a row

Select A1:A10, copy, and Paste Special with Transpose into B1. The ten cells become one row from B1 to K1. The same steps work in reverse for a row.

Keep the link to the source with Paste Link

Paste Special has a Paste Link button. If you tick Transpose together with it, Excel pastes links that follow the source cells. This is another way to stay linked without the function, but each cell is a separate formula.

Transpose and then clean up

After you flip data, you may need to remove copies or sort the new layout. Our guides to removing duplicates in Excel and the FILTER function help with that. If your source is one long text column, Text to Columns splits it first.

Transpose in Google Sheets

Google Sheets has the same options. Copy the range, right click, then Paste special, then Transposed. It also has a TRANSPOSE function: =TRANSPOSE(A1:D2).

Common problems

  • #SPILL! error. Something is in the way of the result. Clear those cells.
  • #VALUE! in an old array formula. You did not select a block of the right size, or you did not press Ctrl+Shift+Enter.
  • Transpose is greyed out. You copied a whole row or column, or you are pasting onto the same range. Choose an empty area.
  • Formulas show wrong values after paste. Relative references moved. Paste as values first.

Questions and answers

Can I transpose a table with merged cells?

Merged cells often cause errors. Unmerge them first.

Does transposing change the original?

No. The source stays where it is. You can delete it afterwards if you only need the flipped copy.

What is the shortcut for Paste Special?

In Windows Excel, press Ctrl+Alt+V after copying to open the Paste Special box.

Can I transpose a pivot table?

Copy it as values to another area first, then transpose. You cannot transpose the pivot table itself.

Fix common Excel transpose errors
Common problems (illustration).
العربية