Word does not have the ability to transpose cells in a table; that is, you cannot use Word to switch the orientation of columns to rows or vice versa. This article describes how to use Microsoft Excel to provide this functionality.
To transpose the rows and columns of your table, do the following:
- Open your Word document, select the table, and then click Copy on the Edit menu.
- Start Excel.
- In Excel, click Paste Special on the Edit menu, click Paste, select Text, and then click OK.
- Select the cells that contain the data that you want to transpose.
- On the Edit menu, click Copy.
- Select the upper-left cell of the paste area. Choose a blank area of your Excel worksheet.
- On the Edit menu, click Paste Special.
- Select the Transpose check box, and then click OK.
This action switches the orientation of data when you paste it. For example, data from the top row of the copied area appears in the left column of the paste area; data from the left column appears in the top row.
NOTE: If you get a Selection Not Valid error at this point, your paste area contains data. Make sure you select a blank area on your worksheet.
- Select the cells with the transposed data and click Copy on the Edit menu.
- Switch to Word. Place your insertion point where you want to paste the table.
- Click Paste Special on the Edit menu, choose Paste, select Formatted Text (RTF), and then click OK.
- Word tables are limited to 31 columns in Word 6.0 and 7.0, and to 63 in Word 98. If your original table has more than 31 (or 63) rows, and you transpose the rows with the columns, you will get the following error message when you paste the table in your Word document:
There is not enough memory to complete the operation.
- If your original table contains tabs, Excel will convert each tab to a new cell. Any text that follows the tab character will be moved to the next adjacent cell. To avoid this problem, replace the tabs with another character--such as the tilde (~)--that doesn't appear in your document. After you transpose and paste the table back into your Word document, replace the tilde character with a tab.
- If your Word table contains carriage returns, Excel will strip the carriage returns and run your text together with the preceding text. Use the method described in item 2, to replace the paragraph marks.
ID članka: 143321 – Zadnji pregled: 17. avg. 2005 – Revizija: 1