3d input from Excel
Posted: Thu May 10, 2007 8:10 pm
I have an Excel data set that looks like this:
year unit variable1 variable2 variable3 variable4 ...
1990 A 1 2 6 9
1990 B 7 13 12 4
1990 C 1 5 8 0
. . . . . .
1991 A 1 2 6 9
1991 B 7 13 12 4
1991 C 1 5 8 0
. . . . . .
1992 A 1 2 6 9
1992 B 7 13 12 4
1992 C 1 5 8 0
. . . . . .
. . . . . .
. . . . . .
Note the values are not repeated, they are just examples. The years go from 1990 to 2006, there are 87 units and 4 variables.
Can someone suggest the best way to lay this out in Excel and and the code to use for GET XLS DATA?
Thanks.
year unit variable1 variable2 variable3 variable4 ...
1990 A 1 2 6 9
1990 B 7 13 12 4
1990 C 1 5 8 0
. . . . . .
1991 A 1 2 6 9
1991 B 7 13 12 4
1991 C 1 5 8 0
. . . . . .
1992 A 1 2 6 9
1992 B 7 13 12 4
1992 C 1 5 8 0
. . . . . .
. . . . . .
. . . . . .
Note the values are not repeated, they are just examples. The years go from 1990 to 2006, there are 87 units and 4 variables.
Can someone suggest the best way to lay this out in Excel and and the code to use for GET XLS DATA?
Thanks.