W
wessman
Every week, I am handed an Excel file with the following format:
Col A Col B
Row 1 1 50009876
Row 2 50006549
Row 3 2 50004531
Row 4 50004563
Row 5 50007894
Row 6 3 50006547
Row 7 4 50004561
Row 8 50004512
....notice that Row 3 has a NULL value in cell A2. That is because
cells B1 and B2 are grouped under the value "1"; just as cells B3, B4
and B5 are grouped under "2"; B6 grouped under "3"; and B7 and B8
grouped under "4".
I need to import this Excel sheet into Access and then change the
above example data to the following, maintaining the sorted order:
Col A Col B
Row 1 1a 50009876
Row 2 1b 50006549
Row 3 2a 50004531
Row 4 2b 50004563
Row 5 2c 50007894
Row 6 3a 50006547
Row 7 4a 50004561
Row 8 4b 50004512
....any ideas on how I might achieve this?
Col A Col B
Row 1 1 50009876
Row 2 50006549
Row 3 2 50004531
Row 4 50004563
Row 5 50007894
Row 6 3 50006547
Row 7 4 50004561
Row 8 50004512
....notice that Row 3 has a NULL value in cell A2. That is because
cells B1 and B2 are grouped under the value "1"; just as cells B3, B4
and B5 are grouped under "2"; B6 grouped under "3"; and B7 and B8
grouped under "4".
I need to import this Excel sheet into Access and then change the
above example data to the following, maintaining the sorted order:
Col A Col B
Row 1 1a 50009876
Row 2 1b 50006549
Row 3 2a 50004531
Row 4 2b 50004563
Row 5 2c 50007894
Row 6 3a 50006547
Row 7 4a 50004561
Row 8 4b 50004512
....any ideas on how I might achieve this?