Hi,
I have the following file :
ROGER Jan 1000 4000 5000 20 80
ROGER Feb 2000 2000 4000 50 50
ROGER Mar 3000 3000 6000 50 50
TAMMY Jan 1000 4000 5000 20 80
TAMMY Feb 2000 2000 4000 50 50
TAMMY Mar 3000 3000 6000 50 50
TAMMY Apr 3000 3000 6000 50 50
Can I get this converted to the following format :
Name Month Loan1 Loan2 Total %Loan1 %Loan2
---- ----- ----- ----- ----- ------ ------
ROGER Jan 1,000 4,000 5,000 20 80
Feb 2,000 2,000 4,000 50 50
Mar 3,000 3,000 6,000 50 50
---- ---- -----
Sum: 6,000 9,000 15,000
TAMMY Jan 1,000 4,000 5,000 20 80
Feb 2,000 2,000 4,000 50 50
Mar 3,000 3,000 6,000 50 50
Apr 3,000 3,000 6,000 50 50
---- ---- -----
Sum: 9,000 12,000 21,000
---- ----- -----
Grant Total: 15,000 21,000 36,000
1) Forgive me if the formatting doesn't look nice when posted. But I hope you get my requirement ...
2) The column entries are dynamic. There could be more entries under Name, Month columns ...
Thanx in advance !
-Maria
I have the following file :
ROGER Jan 1000 4000 5000 20 80
ROGER Feb 2000 2000 4000 50 50
ROGER Mar 3000 3000 6000 50 50
TAMMY Jan 1000 4000 5000 20 80
TAMMY Feb 2000 2000 4000 50 50
TAMMY Mar 3000 3000 6000 50 50
TAMMY Apr 3000 3000 6000 50 50
Can I get this converted to the following format :
Name Month Loan1 Loan2 Total %Loan1 %Loan2
---- ----- ----- ----- ----- ------ ------
ROGER Jan 1,000 4,000 5,000 20 80
Feb 2,000 2,000 4,000 50 50
Mar 3,000 3,000 6,000 50 50
---- ---- -----
Sum: 6,000 9,000 15,000
TAMMY Jan 1,000 4,000 5,000 20 80
Feb 2,000 2,000 4,000 50 50
Mar 3,000 3,000 6,000 50 50
Apr 3,000 3,000 6,000 50 50
---- ---- -----
Sum: 9,000 12,000 21,000
---- ----- -----
Grant Total: 15,000 21,000 36,000
1) Forgive me if the formatting doesn't look nice when posted. But I hope you get my requirement ...
2) The column entries are dynamic. There could be more entries under Name, Month columns ...
Thanx in advance !
-Maria