In Microsoft Excel, you can easily convert rows to columns or columns to rows in Excel Workbooks, and either uses the Transpose or Transpose function to get the output. The transpose function normally returns a transposed range of cells, which is used to switch the rows to columns and vice versa. I.e., we can convert vertical cells to a horizontal range of cells or horizontal cells to a vertical range of cells in Excel.
Here, we have some records of sales for some of the products (apple, orange, and cherry) for the months from January to June. We will try to convert the columns into rows so that we can visualize the records for the months as column headers, and we will utilize this dataset mainly to demonstrate the ways of converting multiple rows to columns easily.
In this section, we will use a TRANSPOSE array function to convert the following dataset's multiple rows into multiple columns and then gather the data. This array function works the same way as transpose. I.e., we can convert rows to columns and vice versa and also format another table below the main dataset.
The Paste Special method is useful when the user needs the original formatting to be continued and, by using the TRANSPOSE function, the converted table will change its data automatically, which means that whenever the user changes the data in the original table. It will automatically change the data in the transposed table as it is linked.