Body
When to Use?
If you have a worksheet with data in columns that you need to rotate to rearrange it in rows, use the Transpose feature. With it, you can quickly switch data from columns to rows, or vice versa.
On the Windows desktop application
For example, if your data looks like this, with Sales Regions in the column headings and Quarters along the left side:
The Transpose feature rearranges the table such that the Quarters are showing in the column headings and the Sales Regions can be seen on the left, like this:
Note: If your data is in an Excel table, the Transpose feature is not available. You can convert the table to a range first, or you can use the TRANSPOSE function to rotate the rows and columns.
Here is how to do it:
- Select the range of data you want to rearrange, including any row or column labels, and press Ctrl+C.
Note: Ensure that you copy the data to do this, since using the Cut command or Ctrl+X will not work.
- Choose a new location in the worksheet where you want to paste the transposed table, making sure there is plenty of room to paste your data. The new table that you paste there will entirely overwrite any data / formatting that is already there.
Right-click over the top-left cell of where you want to paste the transposed table, and then choose Transpose.
- After rotating the data successfully, you can delete the original table and the data in the new table remains intact.
On the Web
You can paste data as transposed data within your workbook. Transpose reorients the content of copied cells when pasting. Data in rows is pasted into columns and vice versa.
Here is how you can transpose cell content:
-
Copy the cell range.
-
Select the empty cells where you want to paste the transposed data.
-
On the Home tab, select the Paste icon, and select Paste Transpose.