Quantcast
Channel: Split Excel column with XML inside - Super User
Viewing all articles
Browse latest Browse all 3

Split Excel column with XML inside

$
0
0

Is there a way to break an Excel column containing XML into severalcolumns like this:

BEFORE

| Apples | Pears | XML                              || ------ | ----- | ---------------------------------|| 35     | 18    | <Plums>34</Plums><Figs>19</Figs> || 86     | 55    | <Plums>12</Plums><Figs>62</Figs> || 99     | 12    | <Plums>18</Plums><Figs>23</Figs> |

AFTER

| Apples | Pears | Plums | Figs || ------ | ----- | ----- | ---- || 35     | 18    | 34    | 19   || 86     | 55    | 12    | 62   || 99     | 12    | 18    | 23   |

The original table comes from an SQL Server that stores XML in a textcolumn. If the XML column contained comma-separated values, I'd tellExcel to do Text to Columns. Is there a similar feature for XML?


Viewing all articles
Browse latest Browse all 3

Trending Articles