In Microsoft Excel, you can flip your data sideways, a process known as “transposing data.” Let’s say after an hour of tedious work, you created a table with multiple rows and columns. Unfortunately, you see that the data’s positions are not right. You have to switch specific rows into columns and some columns into rows.
Instead of doing it one by one and copy-pasting data from each cell, which will take another thirty minutes of your time, you can simplify the process by transposing data. In this guide, we will mention three different ways to transpose data in Microsoft Excel.
Look at the screenshot below.
Fig. 1: Table showing different metrics of each quarter of 2023
As you can see, the columns include information on each quarter of 2023. The rows show different metrics, including revenue, expenses, and so on.
Let’s say you want to switch the columns with the rows in this table, as in have the metrics as the columns while the quarters (Q1 2023, Q2 2023…) are rows. In this case, you have to transpose data. One of the easiest ways to do it is by using the “Paste” drop-down menu.
Here’s how to use the “Paste” drop-down menu to transpose data in MS Excel:
Figure 2: Selecting the table
Figure 3: Copying the table
Figure 4: Transpose option under “Paste”
And there you have it! All your rows have switched to columns while the columns took the place of the rows.
Figure 5: Transposed table
You can also use the paste function by right-clicking and selecting “Transpose” as the paste function.
Using the “Paste” menu works to transpose a table, but the transposed table will not be linked to the original table. In this case, having a link between tables means whenever you make changes to the original table, the same changes will be applied to the modified, transposed table.
To have that link, you need to get help from Excel functions, specifically the “TRANSPOSE()” function. Here is how to do it:
Figure 6: Using the TRANSPOSE() function
Figure 7: Transposed table using the TRANSPOSE() function
Unlike using the “Paste” menu, you will notice that some formatting of the table has changed, specifically border opacity and colour fills. You will have to do them manually while using the TRANSPOSE() function, which may involve reapplying colour schemes, adjusting column widths, or making other formatting choices. Keep in mind that for larger datasets, TRANSPOSE() may require careful handling to avoid formula errors.
Let’s say you are working with complex data, and you can afford to have any kind of formula errors. In that case, instead of using the regular “Paste” menu or the TRANSPOSE() function, you can opt for the “Paste Special” option.
Using this method, you’ll ensure that data is pasted accurately and that any updates to the source table are automatically reflected in the transposed table. Follow these steps:
Figure 8: Using the “Paste Special” option to transpose data
Figure 9: Clicking “Paste Link” on the dialogue box
After following these steps, you’ll have a new table where rows and columns are swapped, and any changes made to the source data will automatically update in the transposed table.
You must remember that when you switch columns and rows, the cell address and dimensions of data will change, too. So, after transposing, you should change the colours of the cell and do other stylings according to your preference. All the methods mentioned here are easy and effective, and if you want to learn more and become an expert on Excel, check out the online courses available on Sikkhon.