Search This Blog

Wednesday, March 22, 2023

XML files on Excell, the easy way

 If you have an XML data file and you would like to read that on excel just follow those steps below. 

Yes, you can open and work with XML files in Microsoft Excel. Excel can import XML data and display it in a structured table format. To open an XML file in Excel, follow these steps:

  • Open Microsoft Excel.
  • Click on the "File" tab in the top-left corner.
  • Choose "Open" from the menu.
  • In the file browser dialog, navigate to the folder where the XML file is stored.
  • In the "File type" dropdown menu (usually located at the bottom-right corner of the file browser dialog), select "XML Files (*.xml)".
  • Choose the XML file you want to open and click "Open".

Excel will import the XML data and display it in a structured table format. You can then work with the data in Excel, such as filtering, sorting, or applying formulas.

Please note that Excel may not correctly interpret or display very complex XML files or those with specific formatting requirements. In such cases, you may need to use specialized XML editing software or work with the XML file programmatically using a programming language such as Python or Java.

If you then would like to manipulate that data you can follow the instructions below: 

If you open the file on Google Sheets you can use the QUERY command.


In Excel the equivalent of this Google sheets command: "=QUERY(TabName!A:R,"SELECT N,O,P,Q,R,H")"

In Microsoft Excel, you can use Power Query to achieve similar functionality to Google Sheets' QUERY function. Power Query is a data transformation and analysis feature that allows you to import, manipulate, and analyze data from various sources.

To replicate the Google Sheets QUERY command in Excel, follow these steps:

  • Click on the "Data" tab in the Excel ribbon.
  • In the "Get & Transform Data" group, click "Get Data" and then choose "Combine Queries" > "Append Queries as New".
  • In the "Append Queries" window, choose "Two or more tables" and click "Add Table".
  • Choose the source sheet (in your example, it's "TabName") and click "OK".
  • In the Power Query Editor, select the columns you want to include in your query (in your example, columns N, O, P, Q, R, and H).
  • Click the "Home" tab in the Power Query Editor, and then click "Close & Load".

Excel will create a new sheet with the selected columns from the source sheet. Note that Power Query in Excel does not use the same QUERY language as Google Sheets, and you may need to learn the Power Query interface to manipulate and filter the data further.


Keep in mind that Power Query might not be available in all versions of Excel. It is available in Excel 2010 Professional Plus and later versions, as well as in Office 365.

Labels

problems (8) windows 10 (7) Windows 7 (6) thunderbird (5) iPhone (3) Excel (2) MacOS (2) calendar (2) chrome (2) lightning (2) problem (2) tips (2) Apple on windows (1) Bluetooth (1) Costco (1) Disk Incentory X (1) Excel tips (1) GrandPerspective (1) MS Office (1) Mac (1) MacMini (1) Magic trackpad (1) Microsoft Compatibility Telemetry (1) N900 (1) Netgear (1) Office 2007 (1) OneNote (1) TWS (1) ThunderBrowse (1) Timezone (1) Trello on Thunderbird (1) Ventura (1) WNDR4500 (1) Web (1) WebPG (1) Window Maximize (1) Windows XP (1) adobe (1) associations (1) auto-complete (1) autocomplete (1) cell color (1) changes (1) conditional format (1) consolidation (1) day of the week (1) disabled (1) dish (1) dish network (1) disk (1) embedded document (1) excell (1) extension (1) file utilities (1) finger (1) fingerprint (1) firefox (1) folder consolidation (1) font (1) font size (1) forgot password (1) google sheets (1) high cpu usage (1) i7-TWS (1) iOS 10 (1) iPhone 5 (1) iPhone device (1) issue (1) itunes (1) japanese (1) java (1) keyboard (1) language (1) lock screen (1) log in problems (1) login problems (1) lower bill (1) mac os (1) magic mouse (1) mail (1) maximize (1) media server (1) mouse drifting (1) mouse problems (1) pdf (1) picture management (1) pictures (1) pivot table (1) portege z30-a (1) reading japanese (1) recovery (1) reduce (1) reference same cell (1) rename device (1) rikai (1) search (1) security (1) snipping (1) snipping tool (1) spotlight (1) telemetry (1) time (1) todo (1) toshiba (1) treemaps (1) unique values (1) update (1) utilities (1) weekday format (1) word (1) worksheets (1)