How to paste transposed and keep formula reference in Excel?
In Excel, the paste as transpose is useful when you want to transpose a column to a row, but if there are some formulas in the cells, while you paste them as transpose, the references will change as below screenshot shown. In this article, I introduce how to paste transposed and keep formula reference easily.
To transpose and keep reference in Excel, you can apply the Find and Replace function.
1. Select the cells you want to transpose, and press Ctrl + H to display Find and Replace dialog.
2. In the Find and Replace dialog, type = into Find what textbox, #= into Replace with textbox. See screenshot:
3. Click Replace All, a dialog pops out to remind you the number of replacements, click OK > Close to close dialogs.
4. Then press Ctrl + C to copy the selected cells, and select a cell to right click to open the context menu, and click Paste Special > Transpose to paste the cells in transposition.
5. Press Ctrl + H to enable Find and Replace dialog again, enter #= and = into Find what and Replace with textbox separately. See screenshot:
6. Click Replace All > OK > Close to finish operation and close dialogs. Now the formulas have been transposed and keep references. See screenshot:
Above method may be a little troublesome for you, but if you have Kutools for Excel, with its Convert Refers utility, you can quickly convert all references in the formulas to be absolute, and then transpose them.
After installing Kutools for Excel, please do as below:(Free Download Kutools for Excel Now!)
1. Select the cells you want to transpose, and click Kutools > More (in Formula group) > Convert Refers. See screenshot:
2. In the Convert Formula References dialog, check To absolute option, and click Ok. And then the references in selected formula cells have been converted to absolute.
3. Now you can transpose the cells. Pressing Ctrl + C to copy them, right click at a cell that will place the cells, and choose Transpose from the Paste Special sub menu form context menu. See screenshot:
You are guest
or post as a guest, but your post won't be published automatically.
- To post as a guest, your comment is unpublished.· 9 months agoBrilliant and simple!! Thanks!
- To post as a guest, your comment is unpublished.· 1 years agoI used the find-replace method and it saved me 4+ hours it would have taken to cut-paste. You sir/madame are a legend!
- To post as a guest, your comment is unpublished.· 2 years agoyou can use the "=transpose()" formula
- To post as a guest, your comment is unpublished.· 2 years agoduuuude: the "#=" is genus :D
I'll use it for many things, not just this.
- To post as a guest, your comment is unpublished.· 2 years agogenius! thanks for that