SOLVED

How to transpose table?

Copper Contributor

My data is as below

 01/10/2002/10/2003/10/20
Name1334434
Name23012
Name3372824

 

 

And I want to convert it to the following layout:

 

NameDateOrders Created
Name101/10/2033
Name201/10/203
Name301/10/2037
Name102/10/2044
Name202/10/200

 

How would I go about this?

 

Thanks,
Morgan

3 Replies

@morgancampbell 

Is the number of filled-in date columns fixed? Or does it vary by name?

@Hans Vogelaar 

 

The number of columns are fixed for all names, regardless of data, so some of the cells are 0.

best response confirmed by morgancampbell (Copper Contributor)
Solution

@morgancampbell 

That's easier with Power Query - query table with data or named range; select column with names; unpivot other columns and do some cosmetic as data types and renaming of columns; land result back.

1 best response

Accepted Solutions
best response confirmed by morgancampbell (Copper Contributor)
Solution

@morgancampbell 

That's easier with Power Query - query table with data or named range; select column with names; unpivot other columns and do some cosmetic as data types and renaming of columns; land result back.

View solution in original post