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:
- Copy the data you want to transpose and link, as you normally would.
- Select any cell in an unused worksheet.
- Choose Paste Special from the Edit menu. This displays the Paste Special dialog box. (See Figure 1.)
Figure 1. The Paste Special dialog box.
- Click on the Paste Link button. Your information is pasted, as a link, in the worksheet. Make sure it remains selected.
- Press Ctrl+H to display the Replace dialog box. (See Figure 2.)
Figure 2. The Replace dialog box.
- In the Find What area, type an equal sign.
- In the Replace With area, type a pound sign followed by an equal sign.
- Click on Replace All. All the information you just pasted is essentially converted from formulas into text. Make sure it remains selected.
- Press Ctrl+C to copy the range to the Clipboard.
- Select the cell where you want the final transposed and linked range to reside.
- Choose Paste Special from the Edit menu. This displays the Paste Special dialog box.
- Choose the Transpose check box.
- Click on OK. The information is pasted, but it is transposed into the final location. Make sure it remains selected.
- Press Ctrl+H to display the Replace dialog box.
- In the Find What area, type a pound sign followed by an equal sign.
- In the Replace With area, type an equal sign.
- 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:
- 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.
- Count the number of rows and columns in the range.
- 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.
- Type this formula: =TRANSPOSE([Book1]Sheet1!MyRange). You should substitute different workbook, sheet, and range names, as necessary.
- Press Shift+Ctrl+Enter.
At this point your information, linked from the original, appears in the selected range.
Comments for this tip:
lenogooch 19 Apr 2014, 02:30
Fantastic. So simple. Thank you for sharing
Moe 18 Apr 2014, 08:42
Thank you for the tip. Great.
Steph 08 Apr 2014, 08:49
ah.. genius thank you. Nice trick to remember £= and = ... who knew.
Mike 24 Mar 2014, 19:17
Brilliant tip, thank you.
BKelly 20 Mar 2014, 15:49
Thank you so much! This saved me some time. I used that =Transpose() array formula before, but it would not let me turn the transposed data into a table object. I thought I needed to write a macro, but with your copy/paste solution, I can now link my data and use a table object.
G3X 20 Nov 2013, 14:42
Fantastic solution! Thank you for sharing!
Jo Foster 14 Nov 2013, 05:19
This is fantastic, so easy to follow and is going to save me so much time. THANK YOU
from Mada 07 Nov 2013, 05:49
thank you very much. very clever. from Madagascar
Tony 06 Nov 2013, 10:22
This is so elegant - thank you! The trick of converting formulae to text and back I can imagine has other uses too.
rodeyns Nicolai 01 Nov 2013, 05:36
GREAT JOB. You are an angel now with a transpose PhD! I can't believe it works!!! and this after 10 years suffering, time wasting and frustrations!
The next step is you to sell the Microsoft gang your build in macro solution! Call it Quickstep transpose TP F1-MAX.
Go for it, a fortune is waiting.
Earle Wallbank 18 Oct 2013, 07:27
Simple = Best!
Thanks for this tip (I'm now using the manual method).
ech0 27 Aug 2013, 07:23
Thanks SO much - this helped me create dynamic forms containing calculated totals from multiple sheets. I appreciate your efforts :)
raza 20 Jul 2013, 05:37
great tip... worked for me and saved me huge amount of time.
Mac Benoy 15 Jun 2013, 02:51
Brilliant! I have used (and taught at uni) Excel for 22 years and learnt 2 new procedures - the TRANSPOSE command and ctrl-shift-enter for mass entry of formulae. THANKS
Itok 27 May 2013, 23:14
Many thanks for this great tips.....
it works for me :D
Greeting from Indonesia
Leave your own comment: