Please Note: This article is written for users of the following Microsoft Excel versions: 2007 and 2010. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Quickly Transposing Cells.

Quickly Transposing Cells

Written by Allen Wyatt (last updated June 21, 2021)
This tip applies to Excel 2007 and 2010


2

You probably know the feeling—you start creating a worksheet, get a good way into it, and realize that you should have made your columns into rows and your rows into columns. In other words, you want to turn your data by 90 degrees and continue working with the sheet.

Fortunately, Excel provides an easy way to accomplish this very task. In Excel's terminology, this process is known as transposing data. To transpose your data, follow these steps:

  1. Select the range of cells you want to transpose.
  2. Press Ctrl+C to copy the data from the worksheet and place it in the Clipboard.
  3. Select the cell that will be at the top-left corner of your newly transposed data.
  4. Display the Home tab of the ribbon.
  5. Click the down-arrow under the Paste tool and then choose Transpose. Your data appears at the point you specified in step 3, but it is transposed.

Notice that in step 2 you must use the copy command (Ctrl+C) rather than the cut command (Ctrl+X). This is because you can't choose Paste Special from the Edit menu when you cut information. For this reason, you may want to copy information from one worksheet (steps 1 and 2) and paste it into another (steps 3 through 5). You can play with this method of pasting and select the method that is best for you.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (6248) applies to Microsoft Excel 2007 and 2010. You can find a version of this tip for the older menu interface of Excel here: Quickly Transposing Cells.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Triggering an Event when a Worksheet is Deactivated

One way you can use macros in a workbook is to have them automatically triggered when certain events take place. Here's ...

Discover More

Changing the Default Desktop Icons

When you first install Windows, it places only a limited number of icons on your desktop. You can, however, tell Windows ...

Discover More

Capitalizing Just a Surname

Changing the capitalization of text is, believe it or not, a common task in Excel. Common or not, it can be frustrating ...

Discover More

Program Successfully in Excel! John Walkenbach's name is synonymous with excellence in deciphering complex technical topics. With this comprehensive guide, "Mr. Spreadsheet" shows how to maximize your Excel experience using professional spreadsheet application development tips from his own personal bookshelf. Check out Excel 2013 Power Programming with VBA today!

More ExcelTips (ribbon)

Creating a Shortcut for Pasting Values

Excel's Paste Special command is used quite a bit. If you want to create some shortcuts for the command, here's some ways ...

Discover More

Quickly Updating Values

If you need to update a bunch of values in a worksheet by a standard amount, you can use the Paste Special feature of ...

Discover More

Dividing Values

When working with large numbers, you may need a way to quickly divide a range of those numbers by a specific value. ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is three less than 3?

2016-12-04 22:30:48

David

I knew that, but I went a long time before I discovered the transpose function which does the same thing but means if you use the same data in rows in one place and columns in another you only have to update the data in one place.

What I sometimes find myself wanting to do is present the transposed data in the reverse order. Is there a way to do that easily?


2016-05-16 19:24:03

Thomson

If you will need to transpose similar data a lot (e.g. Daily/Weekly/Monthly report) , you can setup a PowerQuery for this.

Just load it into Power Query -> Transform -> Transpose.

The Pro is you can just refresh the queue if data always located in same location.




This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.