sra wrote...
>As you can see in your example, there are order #'s in the same column
as
>service codes. Is there a way to keep that from happening or a way to
sort
>them out after the fact?
....
That's why I asked a few responses ago,
"This is what 3 transformed records would look like, but if there had
been
only the first 2 records for this customer, would service code abc have
appeared in col E?"
If you want all order numbers to appear to the left of all service
codes, you need to accept some unused columns between the last order
number and the first service code for accounts with fewer than the
maximum number of orders. And you'd need to hard-code that maximum
number of orders.
The main alternative would be using pairs of columns going left to
right to hold order numbers in the first column of the paid and
corresponding service code in the second column.
Which do you want?
Bookmarks