YUAN_DUMALE
New Member
- Joined
- Oct 23, 2014
- Messages
- 11
Hi,
I am currently working on a report. And what i wanted to do was to add all the amount paid in one row per Employee ID.
Please refer below:
[TABLE="width: 710"]
<colgroup><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Employee ID[/TD]
[TD]Company[/TD]
[TD]Employee Name[/TD]
[TD]Applicable Month[/TD]
[TD]Claim Type[/TD]
[TD]Amount Paid[/TD]
[/TR]
[TR]
[TD="align: right"]1235[/TD]
[TD]test[/TD]
[TD]Doe, John[/TD]
[TD]April[/TD]
[TD]Education[/TD]
[TD="align: right"]100.00[/TD]
[/TR]
[TR]
[TD="align: right"]1235[/TD]
[TD]test[/TD]
[TD]Murdock, Frank[/TD]
[TD]April[/TD]
[TD]General Utilities[/TD]
[TD="align: right"]987.00[/TD]
[/TR]
[TR]
[TD="align: right"]1241[/TD]
[TD]test[/TD]
[TD]Santos, May[/TD]
[TD]April[/TD]
[TD]Wellness & Welfare[/TD]
[TD="align: right"]500.00[/TD]
[/TR]
[TR]
[TD="align: right"]1234[/TD]
[TD]test[/TD]
[TD]Cruz, Juan[/TD]
[TD]April[/TD]
[TD]Travel and Holidays[/TD]
[TD="align: right"]599.00[/TD]
[/TR]
[TR]
[TD="align: right"]1241[/TD]
[TD]test[/TD]
[TD]Santos, May[/TD]
[TD]April[/TD]
[TD]Travel and Holidays[/TD]
[TD="align: right"]658.00[/TD]
[/TR]
</tbody>[/TABLE]
Output should be:
[TABLE="width: 710"]
<colgroup><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Employee ID[/TD]
[TD]Company[/TD]
[TD]Employee Name[/TD]
[TD]Applicable Month[/TD]
[TD]Claim Type[/TD]
[TD]Amount Paid[/TD]
[/TR]
[TR]
[TD="align: right"]1235[/TD]
[TD]test[/TD]
[TD]Doe, John[/TD]
[TD]April[/TD]
[TD]Education[/TD]
[TD="align: right"]1087.00[/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD="align: right"]1241[/TD]
[TD]test[/TD]
[TD]Santos, May[/TD]
[TD]April[/TD]
[TD]Wellness & Welfare[/TD]
[TD="align: right"]1158.00[/TD]
[/TR]
[TR]
[TD="align: right"]1234[/TD]
[TD]test[/TD]
[TD]Cruz, Juan[/TD]
[TD]April[/TD]
[TD]Travel and Holidays[/TD]
[TD="align: right"]599.00[/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"][/TD]
[/TR]
</tbody>[/TABLE]
Needed to use macro for this one.
Thanks in advance! ^_^
I am currently working on a report. And what i wanted to do was to add all the amount paid in one row per Employee ID.
Please refer below:
[TABLE="width: 710"]
<colgroup><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Employee ID[/TD]
[TD]Company[/TD]
[TD]Employee Name[/TD]
[TD]Applicable Month[/TD]
[TD]Claim Type[/TD]
[TD]Amount Paid[/TD]
[/TR]
[TR]
[TD="align: right"]1235[/TD]
[TD]test[/TD]
[TD]Doe, John[/TD]
[TD]April[/TD]
[TD]Education[/TD]
[TD="align: right"]100.00[/TD]
[/TR]
[TR]
[TD="align: right"]1235[/TD]
[TD]test[/TD]
[TD]Murdock, Frank[/TD]
[TD]April[/TD]
[TD]General Utilities[/TD]
[TD="align: right"]987.00[/TD]
[/TR]
[TR]
[TD="align: right"]1241[/TD]
[TD]test[/TD]
[TD]Santos, May[/TD]
[TD]April[/TD]
[TD]Wellness & Welfare[/TD]
[TD="align: right"]500.00[/TD]
[/TR]
[TR]
[TD="align: right"]1234[/TD]
[TD]test[/TD]
[TD]Cruz, Juan[/TD]
[TD]April[/TD]
[TD]Travel and Holidays[/TD]
[TD="align: right"]599.00[/TD]
[/TR]
[TR]
[TD="align: right"]1241[/TD]
[TD]test[/TD]
[TD]Santos, May[/TD]
[TD]April[/TD]
[TD]Travel and Holidays[/TD]
[TD="align: right"]658.00[/TD]
[/TR]
</tbody>[/TABLE]
Output should be:
[TABLE="width: 710"]
<colgroup><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Employee ID[/TD]
[TD]Company[/TD]
[TD]Employee Name[/TD]
[TD]Applicable Month[/TD]
[TD]Claim Type[/TD]
[TD]Amount Paid[/TD]
[/TR]
[TR]
[TD="align: right"]1235[/TD]
[TD]test[/TD]
[TD]Doe, John[/TD]
[TD]April[/TD]
[TD]Education[/TD]
[TD="align: right"]1087.00[/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD="align: right"]1241[/TD]
[TD]test[/TD]
[TD]Santos, May[/TD]
[TD]April[/TD]
[TD]Wellness & Welfare[/TD]
[TD="align: right"]1158.00[/TD]
[/TR]
[TR]
[TD="align: right"]1234[/TD]
[TD]test[/TD]
[TD]Cruz, Juan[/TD]
[TD]April[/TD]
[TD]Travel and Holidays[/TD]
[TD="align: right"]599.00[/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"][/TD]
[/TR]
</tbody>[/TABLE]
Needed to use macro for this one.
Thanks in advance! ^_^