An application I use exports strings of data in an array in one cell, like so:
"data1"= value1; "data2"= value2; "data3"= value3; "data4"= value4; "data5"= value5;
I’d like an equation or macro or something that could split it like this:
----------------------------------------------------------------
| | data0 | data1 | data2 | data3 | data4 | data5 |
----------------------------------------------------------------
| 1 | ARRAY | value1 | value2 | value3 | value4 | value5 |
----------------------------------------------------------------
| 2 | ARRAY | value1 | value2 | value3 | value4 | value5 |
----------------------------------------------------------------
| 3 | ARRAY | value1 | value2 | value3 | value4 | value5 |
----------------------------------------------------------------
. . . . and so on.
Is this possible?
Here is a string from the document:
"search-terms1" = Chinese jade; "search-terms2" = Chinese archers; "search-terms3" = Antique jade; "search-terms4" = Asian jade; "search-terms5" = China history;
It will always be search-terms1 – search-terms5, but the ‘values’ will be different for each row.
Excel 2003 on Windows XP
This will start in A2 and go down for how ever many rows have data. It’s splits the values out into the columns to the right.