XML, expand tables nested within cell

gelu

Board Regular
Joined
Sep 30, 2022
Messages
85
Office Version
  1. 2021
Platform
  1. Windows
Hello Connoisseurs,

I am trying to import an xml table from this address - https://scsanctions.un.org/resources/xml/en/consolidated.xml

I have 4 difficulties/help requests,

  1. Is there a technique to expand both Individual and Entity at once?
  2. Is there a technique to expand all columns at once?
  3. Is there a technique to expand the tables within cells as rows in the big table? Can all of them be expanded at once?
Details below:


First difficulty - Expand All Tables at once

1 - I First expand Individual

2 – Then I go back to the source (in Query Settings) and expand Entity as well

Here is a picture:

1676110411397.png



Is there a technique to expand both of Individual and Entity at once?



Second Difficulty - Expand All Columns at once

Then, I need to take each column one by one and have them expanded.

1676110499127.png



Is there a technique to expand all columns at once?

Third Difficulty - Expand Tables nested within Cells

There are nested tables within the cells of the expanded columns (in many of them, actually)

1676110770217-png.85163


  • Is there a technique to expand the tables within cells as rows in the big table? Can all of them be expanded at once?

Your help would be very valuable. I cannot get to the bottom of it.

G
 

Attachments

  • 1676110770217.png
    1676110770217.png
    65 KB · Views: 39

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Forum statistics

Threads
1,215,143
Messages
6,123,287
Members
449,094
Latest member
GoToLeep

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