Site icon Professor Excel

Transpose and Link Data to Source in Excel

excel, paste, tranpose, link, cells

When you copy and paste cells in Excel, you can either paste them as links or transpose them. Excel doesn’t allow doing both at the same time. Unfortunately, you often need to link and transpose. But there are three ways for accomplishing this: Doing it manually, using the array formula {=TRANSPOSE()} or Professor Excel Tools.

The problem: “Paste Link” button is greyed out

When you set the tick at “Transpose”, the “Paste Link” button is greyed out.

You’ve copied a range of cells. Now you want to paste them. But instead of simply pasting them you also want to paste links and transpose (exchange rows and columns) them.

The problem: As soon as you set the tick at “Tranpose”, the “Paste Link” is greyed out.

Method 1: Use the OFFSET function

Workaround: Use the OFFSET formula for pasting links and tranpose them at the same time

The OFFSET function is powerful but unfortunately especially for beginners not very easy to use. Roughly said, you define a base cell and tell Excel which value counting from the base cell to return.

First: Prepare the number 0-2 (the maximum number of rows – 1) on the top and 0 to 1 on the left hand side. We use this as a reference. There are certainly more elegant ways (e.g. with ROW() or COLUMN()) but this is the fastest and easiest method. The following number match to the picture above:

  1. In our case, the base cell is the left top corner cell of the range we want to transpose and link. This base cell should not change when we copy and paste the formula so that we insert the $-signs.
  2. The second part of the OFFSET formula defines, how many rows your target cell is away from the base cell. We want this number to increase when we pull the formula to the right hand side. That’s why we don’t add a $-sign in front of the column (“F”). But when copying down the formula, the first row should be fixed with a $-sign.
  3. Similar for the columns: When we pull down the formula, we want the column index to increase. That’s why we fix the column but not the row.

The formula in the example above looks like this:


Method 2: Array formula “TRANSPOSE”

Steps for pasting as links and transposing in Excel at the same time

With an array formula you don’t have to drag and drop cells manually. Despite the advantage of not having to do anything manually, this way is slightly more complicated. Furthermore it comes with the disadvantages of all the array formulas: Their size is not (easily) changeable. So if the cell range of your source data changes, you usually have to set up the array formula again.

Follow these steps for setting a the array formula for pasting cells linked to their sources and transposing them (the numbers are corresponding with the picture on the right hand side):

  1. Copy the cells, which you want to transpose and link.
  2. Select the left top cell of the area you want to paste them to and open the paste special window by pressing Ctrl + Alt + v.
  3. Select “Formats”.
  4. Select “Transpose” and confirm with “OK”. Now, instead of values, just the original formatting is transposed. There are two reasons for this step: Getting to know the exact range for the transposed cells and at the same time already having the formats of the original cells.
  5. Select the whole paste area (or make sure it’s still selected after pasting the formats).
  6. Type this formula:
=TRANSPOSE('Original Range')

and press Ctrl + Shift + Enter. If you only press Enter (without Ctrl + Shift) Excel won’t recognize your formula as an array formula. The curly brackets will be created automatically.

Method 3: Paste as link and transpose manually

Let’s take a look at the obvious method: Doing it manually. If your cell range is not too large it’s often the fastest solution. Of course, doing things manually is a source for possible errors.

Do you want to boost your productivity in Excel?

Get the Professor Excel ribbon!

Add more than 120 great features to Excel!

Method 4: Professor Excel Tools

Professor Excel Tools: Paste as Link and Tranpose with 2 clicks

As all the previous methods have some major disadvantages, pasting as link and transposing data was one of the first functions we’ve included in our Excel add-in:

  1. Select your data and press copy on the left hand side of the Professor Excel ribbon.
  2. Select your target cell and press “Paste Link & Transpose” right next to the copy button.

This function works across workbook as long as source and target workbooks are open at the same time.

This function is included in our Excel Add-In ‘Professor Excel Tools’

(No sign-up, download starts directly)

More than 35,000 users can’t be wrong.

Exit mobile version