r/ExcelPowerQuery • u/r10m12 • Aug 13 '25
Specific data from rows to columns
Hi,
I have this big file loaded into Power query. It's item related.
There are mostly a few rows for each item as you can see on the print screen under 'CURRENT'
My goal is to change this in power query [since it's already loaded in PQ to perform other additional changes] to achieve the layout as displayed under 'DESIRED'.
Additional info,
-Same Item can have one or more rows [mostly <6]
-COL2 can be empty
-Only the COL2 with values are wanted in it's own column. But that's not mandatory, empty column from empty field is also okay
If it helps to achieve this, I may create Nth columns on forehand to be filled with the COL2 value, that's no problem.
Any idea or advice that may help me to achieve this?

View all comments
Show parent comment
2
u/declutterdata Aug 15 '25
Hi u/r10m12 ,
you don't have to feel sorry. If I don't want to take my time to solve it, I wouldn't. It is completely my choice.
Sure! I duplicated your table in the first step in PQ itself. It doesn't matter where the data comes from. Manually like this, from a table in the file, from another file, ...
It just has to be this kind of table. 🙂
Best regards,
Phillip | DeclutterData 🙋🏻♂️