Switch Rows with Columns — data transposing

Today, we want to learn how to trans­pose our data, i.e. how to switch columns with rows. 

Switch Rows with Columns — data transposing 

We have two solu­tions to choose, a sta­t­ic one and a dynam­ic one. 

Let’s use the first one. We need to copy our data (1) and then right click on our tar­get cell (2). From the pop-up menu, we select the Trans­pose option (3) (Fig. 1)

Transpose option
Fig. 1 Trans­pose option

We can see that our data has been trans­posed (Fig. 2)

Fig. 2 Trans­posed data

Now, let’s use the dynam­ic solu­tion. Here, we just use the TRANSPOSE func­tion and select the array we want to trans­pose (Fig. 3)

=TRANSPOSE(A1:B6)

TRANSPOSE function
Fig. 3 TRANSPOSE function

And we have our data trans­posed. How­ev­er, we can see here that Excel did­n’t copy the cell for­mat­ting. If we want the same for­mat­ting, we should copy it from some­where else (1) using the For­mat Painter (2) option, and use it in the tar­get place (3) (Fig. 4)

Copying the cell formatting
Fig. 4 Copy­ing the cell formatting

When we change some­thing in our orig­i­nal data, the data in the sta­t­ic solu­tion won’t change, but the func­tion will. 

In ver­sions old­er that the Dynam­ic Array Excel, we should select a prop­er range before putting the for­mu­la in a cell, then press the Ctrl + Shift + Enter com­bi­na­tion to enter it as an array formula. 


https://www.youtube.com/watch?v=sT7ShlUemPc