Displaying XML Data in excel Sheet. How for the following query ?

NimishK

Well-known Member
Joined
Sep 4, 2015
Messages
688
Anyone
How to to display the Following in XML with Following
<co name=""><add1><add2><PHP>
<a1><b1><city><Header>Co Name</Header>
<Address>Add1</Address>
<Address>Add2</Address>
<A1>
<B1>
<customer>ABC Co</customer>
<address>123 Main</address>
<city>Salem</city>
</B1>
</A1>



</PHP>
</city></b1></a1>Output in Excel should be like below as with XML file

ABC Co
N2345 Lane
NJ-23456

customer address city
ABC Co 123 Main Salem

Some how not able to display the Co name its Add1 and Add2
Thanks and Regards
NimishK
</add2></add1></co>
 
Last edited:

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Excuse me for the above post . Sorry I could not lay down in Proper format
Inconvenience Regretted
How to to display the Following in XML
XML Tags
PHP:
<Header>Co Name</Header><CoAddress>N2345 Lane </CoAddress><CoAddress>NJ-23456</Address>
PHP:
<A1>   <B1>	<customer>ABC Co</customer>	<address>123 Main</address>		                <city>Salem</city>   </B1></A1>


Output in Excel should bel ike below as with XML file


ABC Co
N2345 Lane
NJ-23456


customer address city
ABC Co 123 Main Salem


Thanks and Regards
NimishK
 
Last edited:
Upvote 0
maybe use PowerQuery
Import XML then transform to format what you want to achieve
 
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,165
Members
453,021
Latest member
Justyna P

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