I am trying to convert data from a crosstab type format into columns. I believe I am on the right track and have found a previous Tek-Tips thread that got me about halfway there, but I'm stuck. Here is what I am trying to do:
Current format:
1 2 3 4 5 23
b 325 2 56 7 4 x
c 46346 5364563 4 4 3 d
d 2 3 3 3 3 s
e 2 3 3 3 3 h
f 2 3 3 3 3 d
Desired format:
b 1 325
b 2 2
b 3 56
...
or even
b 1 325
c 1 46346
...
The order of the data is not important, I can sort after the fact. I need three columns with all the data from the table.
Here is what I have so far:
colA colB
b 1
c 2
d 3
e 4
f 5
by using the formula "=INDEX($A:$A,(COLUMNS($A:A)-1)+1+ROWS($2:2))" in colA and "=INDEX($1:$1,(ROWS($1:1)-1)+1+COLUMNS($A:A))" in colB. I do not know how to begin to get a third column with the data, nor do I know how to get the colA and B to repeat for each value in the table. If anyone could guide me, I would appreciate it!
Kelly
Current format:
1 2 3 4 5 23
b 325 2 56 7 4 x
c 46346 5364563 4 4 3 d
d 2 3 3 3 3 s
e 2 3 3 3 3 h
f 2 3 3 3 3 d
Desired format:
b 1 325
b 2 2
b 3 56
...
or even
b 1 325
c 1 46346
...
The order of the data is not important, I can sort after the fact. I need three columns with all the data from the table.
Here is what I have so far:
colA colB
b 1
c 2
d 3
e 4
f 5
by using the formula "=INDEX($A:$A,(COLUMNS($A:A)-1)+1+ROWS($2:2))" in colA and "=INDEX($1:$1,(ROWS($1:1)-1)+1+COLUMNS($A:A))" in colB. I do not know how to begin to get a third column with the data, nor do I know how to get the colA and B to repeat for each value in the table. If anyone could guide me, I would appreciate it!
Kelly