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

Removing Pictures for a Worksheet in VBA

Excel allows you to add pictures to your worksheet, even within a macro. However, you might have a bit harder time ...

Discover More

Making a Longer Quick Access Toolbar

The Quick Access Toolbar is where you put all the tools to which you need quick access. (Makes sense, huh?) There are ...

Discover More

Limiting Directories in the FILENAME Field

When you use the FILENAME field in a document, it can include the full path name that leads to your file. This might be ...

Discover More

Solve Real Business Problems Master business modeling and analysis techniques with Excel and transform data into bottom-line results. This hands-on, scenario-focused guide shows you how to use the latest Excel tools to integrate data from multiple tables. Check out Microsoft Excel 2013 Data Analysis and Business Modeling today!

More ExcelTips (menu)

Selecting a Word

There are a few editing tricks you can apply in Excel the same as you do in Word. Selecting a word from the text in a ...

Discover More

Symbols Convert to Numbers in Excel

Insert a symbol into a cell, and it should stay there, right? What if the symbol changes to another character, such as a ...

Discover More

Creating New Windows

If you need to look at different parts of the same worksheet at the same time, the answer is to create windows for your ...

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 seven minus 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.