Have trouble transposing XML Data

GoranH

New Member
Joined
May 15, 2019
Messages
8
Good day,

I've having trouble transposing a bunch of XML bracket data horizontally.

Data is like so

[TABLE="width: 500"]
<tbody>[TR]
[TD]App[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]a[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]b[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]c[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]d[/TD]
[/TR]
[TR]
[TD]/App[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]App[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]a[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]c[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]d[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]e[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]f[/TD]
[/TR]
[TR]
[TD]/App[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


I need it to look like this
[TABLE="width: 500"]
<tbody>[TR]
[TD]App[/TD]
[TD]a[/TD]
[TD]b[/TD]
[TD]c[/TD]
[TD]d[/TD]
[TD]/App[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]App[/TD]
[TD]a[/TD]
[TD]c[/TD]
[TD]d[/TD]
[TD]e[/TD]
[TD]f[/TD]
[TD]/App[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

I also should note that there are 700k lines, so solution I tried with index match and transpose doesn't work as my excel breaks after about 5 thousand items.
I'll see to attach a more representative example bellow as soon as I find a way to attach a file.

https://ibb.co/Q97BM7k

Here's the link to the image, if that helps.
Q97BM7k


Q97BM7k
 
Last edited:

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
You can upload a XML or XLS file to a site like Drop Box and paste a link here.
 
Upvote 0

Forum statistics

Threads
1,223,945
Messages
6,175,555
Members
452,652
Latest member
eduedu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top