A | B | C | D | E | F | G | H | I | |
1 | I want D1 in A1 | I want H1 in B1 | F350IR | 1 | |||||
2 | I want D2 in A2 | I want H2 in B2 | F350CP | 1 | |||||
3 | I want D3 in A3 | I want H3 in B3 | F350CP | 1 | |||||
4 | I want E4 in A4 | I want G4 in B4 | F010AC1101 | 1 | |||||
5 | I want E5 in A5 | I want G5 in B5 | F010AC1101 | 1 | |||||
6 | I want E6 in A6 | I want G6 in B6 | F010AC | 1 | |||||
7 | I want F7 in A7 | I want I7 in B7 | F247ST1111 | 1 | |||||
8 | I want F8 in A8 | I want I8 in B8 | F247ST1111 | 1 | |||||
9 | I want F9 in A9 | I want I9 in B9 | F247ST1111 | 1 |
<colgroup><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>
So what happens is, when I convert my report to excel, the data structure is intact, but Col A. data can be in Col. A or in Col. B or Col. C....
I have 9 columns of data in the report and it can span over 40 columns, so what I want to do is add 9 columns at the beginning, now I can want to do some kind of index, so that first data from Col. 10 (Col. J, if I am counting correctly) should come to Col. A, now if there is data in column K, it should come to Col. B....if there is no data in Col. K, then it should look for which ever column (in the same row) has some data and pull it to Col. B and so on....hope my question makes sense.
Thanks in advance,