Microsoft Office Tutorials and References
In Depth Information
Import Data from an XML File
Import Data from
an XML File
You can analyze data that currently resides in
XML format by importing that data into Excel
and then manipulating and analyzing the
resulting XML table.
XML is a standard that enables the
management and sharing of structured data
using simple text files. These XML files
organize data using tags, among other
elements, that specify the equivalent of a table
name and field names. Here is a simple XML
example that constitutes a single record in a
table named “Products”:
<Products>
<ProductName>Chai</ProductName>
<CompanyName>Liquid Depot</
CompanyName>
<ContactName>Sue Sellars</
ContactName>
</Products>
These XML files are readable by a wide variety
of database programs and other applications,
including Excel 2010. Excel usually stores
imported XML data in an XML table, a range
that looks and operates much like a regular
Excel table, except that it has a few XML-specific
features.
1 Click the cell where you
want the imported data
to appear.
2 Click the Data tab.
3 Click Get External Data.
4 Click From Other
Sources.
5 Click From XML Data
Import.
2
3
4
5
1
The Select Data Source
dialog box appears.
6 Select the folder that
contains the XML file you
want to import.
7 Click the XML file.
8 Click Open.
6
7
8
 
Search JabSto ::




Custom Search