Merging Rows
Posted: Wed Sep 28, 2005 6:07 am
I have a flat file of Account numbers and account balances. There are examples where the same account number is repeated on more than one row with more than one balance. I am wanting to create just one row per account number with a sum of all the balances for that account.
For example, below is an example of 3 rows with the same account number and the balance for each row.
For example, below is an example of 3 rows with the same account number and the balance for each row.
What I therefore want to end up with is one row with the following information.12345678 50
12345678 75
12345678 60
Any suggestions ??12345678 185