A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hello KH_69,
Welcome to the Microsoft Community Support!
In order to transform XML data in excel you can use Power Query in Excel to transform your imported XML data into the desired format. Here's how you can do it:
- Open Excel and go to Data → Get Data → From File → From XML.
- Select your XML file and import it.
- Once the data is loaded in a table format, click on Transform Data to open Power Query.
- Select the "Field" column.
- Click Transform → Pivot Column.
- In the Values Column dropdown, choose the "Name" field.
- Click OK—this will restructure your data.
- If needed, rearrange columns by dragging.
- Check that the values align under each appropriate column.
- Click Close & Load, and your transformed data will appear in Excel.
Alternatively, if you'd prefer a manual formula-based approach, you can use Excel's INDEX() and MATCH() functions to extract the data dynamically into a structured table.
Best Regards, Van Johnson | Microsoft Community Support Specialist