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

Deleting Every X Rows without a Macro

Grab some info from a source other than Excel, and you may find the need to delete a certain pattern of rows from a ...

Discover More

Viewing Workbook Statistics

Excel keeps track of a range of stats about each workbook you use. If you want to take a look at those stats, it's easy; ...

Discover More

Randomly Resetting Numbering

Have you ever been frustrated by the automatic numbering feature in Word? You are not alone. Fortunately, there are a few ...

Discover More

Excel Smarts for Beginners! Featuring the friendly and trusted For Dummies style, this popular guide shows beginners how to get up and running with Excel while also helping more experienced users get comfortable with the newest features. Check out Excel 2019 For Dummies today!

More ExcelTips (menu)

Inserting a Row or Column

When editing worksheets, it is important to know how to add rows and columns. Excel provides a couple of quick ways you ...

Discover More

Limiting Entry of Prior Dates

Want to establish a "bottom limit" on what dates can be entered in a cell? This tip presents two different ways you can ...

Discover More

Pasting Multiple Paragraphs Into a Single Cell

Copying information from one program (such as Word) to another (such as Excel) is a common occurrence. If you want to ...

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 two more than 2?

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.