jimrward
Well-known Member
- Joined
- Feb 24, 2003
- Messages
- 1,877
- Office Version
- 2016
- 2013
- 2011
- 2010
- 2007
- Platform
- Windows
I have an external XML feed, which varies in the number of columns and rows, the information I need is in different columns positions which I cannot control
my first take was to import the data to an excel table, scan the headers for the columns I need and create a lookup table to use INDIRECT however this bogs it down due to the number of rows and INDIRECT is a volatile nasty function
my second take was to use structured references to pull in and play with the data TABLE1[@name]="Jim" etc this works brilliantly for the one set of data, as soon as I go to my XML table sheet, control A delete the data, and load a different XML file, excel in its infinite or in most cases lack of wisdom decides upon a different table name for the next set of data and of course the formula references collapse with #ref errors.
anyone got any tried and tested methods to keep the XML data as always say TABLE1, or ways to keep the formulae from bombing out
my first take was to import the data to an excel table, scan the headers for the columns I need and create a lookup table to use INDIRECT however this bogs it down due to the number of rows and INDIRECT is a volatile nasty function
my second take was to use structured references to pull in and play with the data TABLE1[@name]="Jim" etc this works brilliantly for the one set of data, as soon as I go to my XML table sheet, control A delete the data, and load a different XML file, excel in its infinite or in most cases lack of wisdom decides upon a different table name for the next set of data and of course the formula references collapse with #ref errors.
anyone got any tried and tested methods to keep the XML data as always say TABLE1, or ways to keep the formulae from bombing out