Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Transposing and Linking.

Transposing and Linking

Written by Allen Wyatt (last updated March 21, 2020)
This tip applies to Excel 97, 2000, 2002, and 2003


9

Excel offers many different ways to paste information that you have copied. You can see these different methods when you choose the Paste Special option from the Edit menu. Two of the most popular pasting methods are transposing and linking.

  • Transpose. This turns the orientation of your copied data ninety degrees. If you had previously copied five cells from a column, they are pasted as five cells in a row.
  • Linking. You do this by choosing Paste Link from the Paste Special dialog box. It causes Excel to paste references to the original data instead of copied values. When you change the original data, the information is automatically changed in the place where you did the Paste Link.

Unfortunately, it seems that these two options are mutually exclusive. If you select the Transpose option, the Paste Link button is grayed out so you can no longer select it.

There are two ways you can get around this. One involves modifying the pasting process, and the other involves the use of a formula. The first method is as follows:

  1. Copy the data you want to transpose and link, as you normally would.
  2. Select any cell in an unused worksheet.
  3. Choose Paste Special from the Edit menu. This displays the Paste Special dialog box. (See Figure 1.)
  4. Figure 1. The Paste Special dialog box.

  5. Click on the Paste Link button. Your information is pasted, as a link, in the worksheet. Make sure it remains selected.
  6. Press Ctrl+H to display the Replace dialog box. (See Figure 2.)
  7. Figure 2. The Replace dialog box.

  8. In the Find What area, type an equal sign.
  9. In the Replace With area, type a pound sign followed by an equal sign.
  10. Click on Replace All. All the information you just pasted is essentially converted from formulas into text. Make sure it remains selected.
  11. Press Ctrl+C to copy the range to the Clipboard.
  12. Select the cell where you want the final transposed and linked range to reside.
  13. Choose Paste Special from the Edit menu. This displays the Paste Special dialog box.
  14. Choose the Transpose check box.
  15. Click on OK. The information is pasted, but it is transposed into the final location. Make sure it remains selected.
  16. Press Ctrl+H to display the Replace dialog box.
  17. In the Find What area, type a pound sign followed by an equal sign.
  18. In the Replace With area, type an equal sign.
  19. Click on Replace All. All the information you just pasted is converted back to formulas.

This may seem like a lot of steps, but it is not that bad in reality. Also, if you find yourself doing this procedure a lot, you can create a macro that does it for you.

If you would rather use the formula process, follow these steps:

  1. Make sure the range of cells you want to link and transpose have been given a name. For this example, let's say you named it MyRange.
  2. Count the number of rows and columns in the range.
  3. Starting at the cell where you want the information to end up, select a range that has the opposite number of rows and columns. Thus, if the original range had 3 columns and 2 rows, the target range would have 2 columns and 3 rows.
  4. Type this formula: =TRANSPOSE([Book1]Sheet1!MyRange). You should substitute different workbook, sheet, and range names, as necessary.
  5. Press Shift+Ctrl+Enter.

At this point your information, linked from the original, appears in the selected range.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2652) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Transposing and Linking.

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

Nifty Zooming With the Mouse

Want to use the mouse to control the zoom level for your document? You can do it by combining your mouse use with the ...

Discover More

Converting PDF to Excel

Reports and other formal documents are often distributed in PDF format so that they can be read and printed on a variety ...

Discover More

Not Selecting Images when Selecting Text

When selecting text in a document that contains images, it is important to understand the relationship of those images ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More ExcelTips (menu)

Switching Editing Location

Excel allows you to edit the contents of a cell in two places—the cell itself or in the Formula bar. If you want to ...

Discover More

Quickly Updating Values

You can easily adjust the values in a range of cells by a certain amount. The key is to modify how you use the pasting ...

Discover More

Moving and Copying Cells

At the very heart of editing is the ability to move and copy cells in a worksheet. Understanding the differences between ...

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 nine minus 1?

2022-12-06 06:07:22

Richard Mansell

Brilliant! Transposing lost the links and I couldn't edit the cells. Thanks!


2022-01-02 23:47:33

Masthan

Absolutely amazing, indeed the steps are very easy and given in a way to execute easily. Thanks a ton. Masthan


2021-06-29 01:10:49

Malithi Nanayakkara

this is amazing ! Thank you so much


2021-01-19 20:04:40

Bimo Notowidigdo

This is simply brilliant .... Thank you for sharing this wonderful tip. Has made my work a lot easier and saved me so much time.


2020-12-29 00:59:13

Clint Ward

I use the keyboard short cuts to paste special - values - transpose and then do it again (while the tranposed cells that have the pasted values in them are still highlighted) and the paste link button is no longer greyed out and the past link works. (Office 365 Enterprise though...)


2020-10-12 09:14:39

Giel Verbeeck

Thank you for this tip. I spent the most time on finding the £ symbol, ultimately not needed at all as most other symbold would do too.


2020-10-01 20:28:15

Augustin Hong

CLEVER! This is a great hack.


2020-08-13 08:04:42

Himalaya Parajuli

Thank you for making my work easy, Transpose and Link :)


2020-04-03 02:28:55

brian

awesome trick - you just saved me a bunch of time


This Site

Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon 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.