SOLVED

Horizontal Dataset to Vertical Dataset

Copper Contributor

I have an issue about transforming Check-in dataset (Horizontal) to DB dataset (Vertical) as you can see in pic 1 and pic 2.

Is there a solution without macro to solve this issue, please?

 

- I used to do macro, that way I need to, because it's 2360 registed.

- Currently, I used manual vlookup as you can see in pic 2.

    (1st column as lookup_value, 2nd column as index.)

4 Replies

@james0862 Can be done fairly easily with Power Query, a built-in Excel feature. Not for the Mac though!

No VBA needed.

Is there a proper key word used for this issue for googling?
best response confirmed by james0862 (Copper Contributor)
Solution

@james0862 Attached a small example. A good starting point would be the site in the link below.

https://exceloffthegrid.com/power-query-introduction/ 

....and in particular, chapter 13 "Unpivoting data".

Thank you a lot @Riny_van_Eekelen, this help me lots.
I have search for this topic for 2 days.
1 best response

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

@james0862 Attached a small example. A good starting point would be the site in the link below.

https://exceloffthegrid.com/power-query-introduction/ 

....and in particular, chapter 13 "Unpivoting data".

View solution in original post