Forum Discussion
Splitting Data in multiple rows of single column into different columns
DhritimanL Since you explicitly asked for a PQ solution, I'm giving you just that. I suspect that your real data is much more complicated and you don't want a lot of manual interference with helper columns and complex formulae. Or do you just want to learn about PQ?
Just add to the blue table and refresh the green one, as long as you make sure that the Name is always in the row directly above the row that includes the string "urchase". PQ is case sensitive. This way, you will capture all occurrences of "purchases", "Purchases", "purchase" and "Purchase"
- DhritimanLNov 12, 2020Copper Contributor
Riny_van_Eekelen Thank you So much, yes indeed the actual data has other key words so i went ahead and edited the m-code and replaced "purchases" with the required words and a few other minor tweak to make it work like a charm for my data.
Much appreciated and grateful.
Thank you once again.
Kind regards
Dhritiman
- Riny_van_EekelenNov 12, 2020Platinum Contributor
DhritimanL Glad you could fix it.