Hi,
I have a report that i download from an internal system (weekly). It lists all employees and details their compensation. However, it lists each compensation element in a seperate row - example below.
I need to be able to covert this so that one employee only takes up one row and the compensation elements are listed seperately as columns.
Does anyone have any ideas or suggestions on the best way to achieve this? I need to be able to use a system that can be refreshed weekly or each time an updated report is run.
Appreciate any help!
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Employee ID[/TD]
[TD]Employee Name[/TD]
[TD]Compensation[/TD]
[TD]Amount[/TD]
[/TR]
[TR]
[TD]123456[/TD]
[TD]J Bloggs[/TD]
[TD]Base salary[/TD]
[TD]xx[/TD]
[/TR]
[TR]
[TD]123456[/TD]
[TD]J Bloggs[/TD]
[TD]Car allowance[/TD]
[TD]xx[/TD]
[/TR]
[TR]
[TD]123456[/TD]
[TD]J Bloggs[/TD]
[TD]Housing allowance[/TD]
[TD]xx[/TD]
[/TR]
[TR]
[TD]234555[/TD]
[TD]B Smith[/TD]
[TD]Base salary[/TD]
[TD]xx[/TD]
[/TR]
[TR]
[TD]234555[/TD]
[TD]B Smith[/TD]
[TD]Car allowance[/TD]
[TD]xx[/TD]
[/TR]
</tbody>[/TABLE]
I have a report that i download from an internal system (weekly). It lists all employees and details their compensation. However, it lists each compensation element in a seperate row - example below.
I need to be able to covert this so that one employee only takes up one row and the compensation elements are listed seperately as columns.
Does anyone have any ideas or suggestions on the best way to achieve this? I need to be able to use a system that can be refreshed weekly or each time an updated report is run.
Appreciate any help!
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Employee ID[/TD]
[TD]Employee Name[/TD]
[TD]Compensation[/TD]
[TD]Amount[/TD]
[/TR]
[TR]
[TD]123456[/TD]
[TD]J Bloggs[/TD]
[TD]Base salary[/TD]
[TD]xx[/TD]
[/TR]
[TR]
[TD]123456[/TD]
[TD]J Bloggs[/TD]
[TD]Car allowance[/TD]
[TD]xx[/TD]
[/TR]
[TR]
[TD]123456[/TD]
[TD]J Bloggs[/TD]
[TD]Housing allowance[/TD]
[TD]xx[/TD]
[/TR]
[TR]
[TD]234555[/TD]
[TD]B Smith[/TD]
[TD]Base salary[/TD]
[TD]xx[/TD]
[/TR]
[TR]
[TD]234555[/TD]
[TD]B Smith[/TD]
[TD]Car allowance[/TD]
[TD]xx[/TD]
[/TR]
</tbody>[/TABLE]