S
S Davis
Helo all,
I am having problems getting some data into the format I need. I'm
wondering if this is even possible actually. I'm sure it is, but I'd
prefer to keep things simple.
Data is coming in from a linked Excel table in a format like the
following
MRC VEH 1 2 3 4 5
101 AAA 12 34 56 78 90
101 BBB 12 34 56 78 90
101 CCC 12 34 56 78 90
102 AAA 12 34 56 78 90
102 BBB 12 34 56 78 90
102 CCC 12 34 56 78 90
103 etc...
MRC and VEH denote the cost centre and vehicle types. For those
combinations is an outlay (1,2,3,4,5) to display the coming months,
and their allocated budgets.
I'd like to use this table in Access, but I need the information
diplayed vertically, such as the following:
MRC VEH Mth VALUE
101 AAA 1 12
101 AAA 2 34
101 AAA 3 56
101 AAA 4 78
101 AAA 5 90
101 BBB 1 12
101 BBB 2 34
101 BBB 3 56
101 BBB 4 78
101 BBB 5 90
101 CCC 1 12
101 CCC 2 34
101 CCC 3 56
101 CCC 4 78
101 CCC 5 90
102 AAA 1 12
102 AAA 2 34
102 AAA 3 56
102 AAA 4 78
102 AAA 5 90
etc...
I'm sure you can all see what I'm getting at here. Unfortunately for
me, Idon't see any way to translate column names from an imported
table into a value that can be used (Mth).
If you can assist me in any way, I'd appreciate it!
Thanks,
-SD
I am having problems getting some data into the format I need. I'm
wondering if this is even possible actually. I'm sure it is, but I'd
prefer to keep things simple.
Data is coming in from a linked Excel table in a format like the
following
MRC VEH 1 2 3 4 5
101 AAA 12 34 56 78 90
101 BBB 12 34 56 78 90
101 CCC 12 34 56 78 90
102 AAA 12 34 56 78 90
102 BBB 12 34 56 78 90
102 CCC 12 34 56 78 90
103 etc...
MRC and VEH denote the cost centre and vehicle types. For those
combinations is an outlay (1,2,3,4,5) to display the coming months,
and their allocated budgets.
I'd like to use this table in Access, but I need the information
diplayed vertically, such as the following:
MRC VEH Mth VALUE
101 AAA 1 12
101 AAA 2 34
101 AAA 3 56
101 AAA 4 78
101 AAA 5 90
101 BBB 1 12
101 BBB 2 34
101 BBB 3 56
101 BBB 4 78
101 BBB 5 90
101 CCC 1 12
101 CCC 2 34
101 CCC 3 56
101 CCC 4 78
101 CCC 5 90
102 AAA 1 12
102 AAA 2 34
102 AAA 3 56
102 AAA 4 78
102 AAA 5 90
etc...
I'm sure you can all see what I'm getting at here. Unfortunately for
me, Idon't see any way to translate column names from an imported
table into a value that can be used (Mth).
If you can assist me in any way, I'd appreciate it!
Thanks,
-SD