Z
Zb Kornecki
I am trying to convert data obtained from an outside system that comes in the
form of a list. Each account "acct" can have anywhere from 1-4 proc_codes as
shown in the first example below. I would like to convert this data to the
formate listed in the 2nd example below. Any help with this would be greatly
appreciated. Thank-you Zb
-----data list------
acct proc_code
12621167 8408
12621167 9300
12621167 E9179
12621168 5770
12621168 78701
12621168 25000
12621168 4019
12621169 462
12621169 7840
12621169 78900
12621169 78703
--------desired table
acct Proc1 proc2 proc3 proc4
12621167 8408
12621167 9300 E9179
12621168 5770 78701 25000 4019
12621169 462 7840 78900 78703
form of a list. Each account "acct" can have anywhere from 1-4 proc_codes as
shown in the first example below. I would like to convert this data to the
formate listed in the 2nd example below. Any help with this would be greatly
appreciated. Thank-you Zb
-----data list------
acct proc_code
12621167 8408
12621167 9300
12621167 E9179
12621168 5770
12621168 78701
12621168 25000
12621168 4019
12621169 462
12621169 7840
12621169 78900
12621169 78703
--------desired table
acct Proc1 proc2 proc3 proc4
12621167 8408
12621167 9300 E9179
12621168 5770 78701 25000 4019
12621169 462 7840 78900 78703