Skip to content

EXCEL: Swap rows into columns and vice versa

When you need to swap your rows into columns or columns into rows, it can be tricky. Not only is it time consuming, but you run the risk of mixing up your data. We’ll show you how to do it in just a few clicks.

Need to turn rows into columns in Excel — or columns into rows — without manually retyping your data? Excel’s Transpose feature makes it incredibly easy to flip the orientation of an entire table in just a few clicks. Whether you’re reorganizing reports, fixing imported data, or improving readability, transposing data can save you a significant amount of time.

What Does Transpose Mean in Excel?

Transposing data simply means switching your spreadsheet layout:

  • Rows become columns
  • Columns become rows

For example, a horizontal list of months can instantly become a vertical list, or vice versa.

How to Transpose Data in Excel

Excel offers a built-in Transpose feature that quickly rearranges your data while preserving its content.

Step-by-Step Guide:

1. Copy Your Data – Highlight the range of cells you want to transpose, including any headers or labels. Then:

  • Press Ctrl + C
  • Or right-click and select Copy

Important: You must use Copy, not Cut. The transpose feature does not work with cut data.

2. Choose a New Location – Click on an empty cell where you want the transposed data to appear. Make sure there is enough blank space:

  • Below the selected cell
  • To the right of the selected cell

This prevents Excel from overwriting existing data.

3. Paste as Transposed – Right-click the destination cell and look under Paste Options for the Transpose icon — it looks like a clipboard with switching arrows. Click it, and Excel will instantly flip your rows and columns.

Alternative Method: Paste Special

You can also transpose data using Paste Special:

  1. Right-click the destination cell
  2. Select Paste Special
  3. Check the Transpose box
  4. Click OK

Important Things to Know

Transposed Data Is Static – Using Paste Transpose creates a one-time copy of your data. This means:

  • Changes made to the original table will not automatically update the transposed version.
  • If the original data changes frequently, you may want to use a formula instead.

Excel Tables Must Be Converted First – If your data is formatted as an official Excel Table, the transpose option may appear greyed out. To fix this:

  1. Click anywhere inside the table
  2. Go to the Table Design tab
  3. Select Convert to Range

Once converted, you can use the transpose feature normally.

Create a Dynamic Transposed Table with the TRANSPOSE Formula

If you want your transposed data to update automatically whenever the original data changes, use the TRANSPOSE formula instead.

How to Use the TRANSPOSE Formula:

  1. Select an empty range of cells that matches the dimensions of your future transposed table.
  2. Enter the formula below and highlight your original data range: =TRANSPOSE(A1)
  3. In Microsoft 365 or Excel 2021, simply press Enter.
  4. In older versions of Excel, press Ctrl + Shift + Enter to create an array formula.

Excel will generate a live transposed version of your data that updates automatically whenever the source data changes.

Final Thoughts

The Transpose feature is one of Excel’s most useful time-saving tools for reorganizing spreadsheets quickly and efficiently. Whether you need a simple copy-and-paste solution or a dynamic formula-based approach, Excel gives you multiple ways to flip rows and columns without manual work.

By mastering transpose techniques, you can clean up your spreadsheets, improve readability, and work more efficiently with large datasets.

We regularly update the Tech Tips with new articles and advice from the IT West team so be sure to check back for the latest technical tips, tricks and guidance from our team of business IT experts.