Notifications
Clear all
General Excel Questions & Answers
4
Posts
2
Users
0
Reactions
145
Views
Topic starter
Hello All,
I am trying to figure out a formula based method to convert a horizontal data set into a vertical one for Pivot table analyses...Any ideas?
Please see attached file..
Thanks-
PB
Posted : 08/10/2020 10:32 pm
Hi PB,
As I said in my email, Power Query is the solution here. If you have not used PQ then you will be amazed at what it can do to transform data into a useable format.
Following the instructions here to unpivot nested column headers
https://www.myonlinetraininghub.com/power-query-unpivot-scenarios
you end up with a table as you want.
In the attached file I've created a query that will do this for you and the resulting table is the green one on Sheet1.
Sorting in my table isn't exactly as you have in your example because sorting text (the Channel name) doesn't work as you have it in your results table. For example Channel10 comes before Channel2.
Regards
Phil
Posted : 09/10/2020 12:47 am
Topic starter
Thank you, Phil.
Posted : 09/10/2020 8:04 am
You're welcome.
Posted : 09/10/2020 8:38 am