Transpose: creating vertical data from horizontal data ...
Transpose: creating vertical data from horizontal data (& vice versa)
- can be used to convert your current vertically formatted data into horizontally formatted data and vice versa. In this example we see the ‘horizontal’ data transposed to a ‘vertical’ format.
- Highlight the cells of data and copy (Control+C)
- Click into the first cell of the new location on the same or a different sheet.
- On the HOME tab click the dropdown arrow under Paste to show the full paste menu. Click Paste Special.
- Click Transpose at bottom right.
- Click OK. The data and its formats are applied in the new location.
Linking and transposing data
Clicking into the new cells will show quite neatly that the formulas have been maintained including references to cells that have changed their location. Those familiar with Paste Link will wonder if it is possible to both link and transpose the data. However, because Paste Link is disabled if you select Transpose (and vice versa) it looks like there is no way to link the two formats.
There is a work around that allows you to achieve this. It seems complicated but once done you can see it is quite simple.
- Highlight and copy your source data
- Click into the new location then, as before, open the Paste Special dialog and click Paste Link at bottom left.
- Note that while the cells will now contain links to the original data the cell formats are lost.
- Highlight this new set of data. Click Control+H to open the Find & Replace dialog. In Find what: enter an equal sign. In Replace with: enter an asterisk and an equal sign (no spaces). Note: the asterisk has no special function in this case; it is only to create text in the cell.
- Click Replace All then OK the confirmation dialog.
- The new interim data table will appear as below displaying the non-functional formulas in the cells.
- Highlight and copy the cells. Click the new location where you will transpose the cells.
- Paste Special > Transpose > OK. Now to reconvert the cells to linked formulas.
- Highlight the cells and click Control+H to open the Find & Replace dialog. Reverse the entries for Find what: and Replace with: entries you made earlier (as below).
- Click Replace All then Close.
Notice now that if you make changes to the original data source they are reflected in the transposed table. You can now delete the interim data table you create and reformat the cells to suit.
About the author
The Digital Practice Team promotes and supports the use of digital technology in professional practice. Based in Organisational Development. More about us here: http://www4.ntu.ac.uk/organisational-development/meet-the-team/index.html#digital-practice