Results 1 to 7 of 7

XML Import help

Threaded View

  1. #1
    Registered User
    Join Date
    06-06-2012
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    13

    XML Import help

    Using Excel 2007

    I am having problems with reformatting imported XML data.

    First step is to retrieve an XML data file from a web location. The data is loaded into a separate worksheet. Unfortunately some of the data fields are not in a usable format. To correct the data for my use, I have a separate worksheet where I copy, and if necessary, manipulate some of the data fields in each input row. Each row of this new sheet reads a corresponding row in the XML table.This new sheet is then used to create pivot tables.

    The problem I have is that the XML data is dynamic, often changing every time I refresh the input. What this also does is change the XML table range, most importantly the number of rows brought in. When this happens, it causes the formulas in the second worksheet to get scrambled,. By this I mean that one row will have all of it's formulas pointing to a specific row in the XML table. The next row should be offset to the next row, but somehow it gets out of sequence, often jumping any number of rows.depending on how many input rows the XML feed has each time.

    Small example:

    ........Col A....................Col B........................Col c
    =XMLTable!A3.......= XMLTable!B3........=XMLTable!C3
    =XMLTable!A4.......= XMLTable!B4........=XMLTable!C4
    =XMLTable!A10.... = XMLTable!B10......=XMLTable!C10 Here's where the jump takes place.

    I can't come up with a way to get around this issue. Any help appreciated.
    Last edited by mnowinski; 02-27-2014 at 09:08 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Power Pivot SQL Data Import - How to update import filter
    By minnesotaart in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 10-29-2013, 12:39 PM
  2. Import exvel spreadsheet using a saved import specification
    By dubbdan in forum Access Tables & Databases
    Replies: 1
    Last Post: 08-19-2013, 05:13 PM
  3. Implementing TextFile import Delimiter settings on TXT Import VBA Script
    By Canuckle777 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-19-2013, 02:06 PM
  4. Import Macro sometimes adding data to end of last import
    By himynameisiain in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-30-2013, 07:06 AM
  5. Import External Data doesn't import
    By JakeAy in forum Excel General
    Replies: 7
    Last Post: 01-26-2010, 03:58 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1