suresh ullanki
Board Regular
- Joined
- Apr 29, 2013
- Messages
- 67
Dear All,
Can you please help me to transpose data. I have three columns "Emp_ID, Compensation Plan and Amount. I want Compensation Plan to be transposed to Basic salary, HRA, Bonus and Commuting Allowance by Columns. I have 4000 employees list which has more than 18k rows. Please help
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]EMP_ID[/TD]
[TD]Compensation Plan[/TD]
[TD]Amount[/TD]
[/TR]
[TR]
[TD]152[/TD]
[TD]Basic Salary[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]152[/TD]
[TD]HRA[/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD]152[/TD]
[TD]Bonus[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]152[/TD]
[TD]Commuting Allowance[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]153[/TD]
[TD]Basic Salary[/TD]
[TD]20[/TD]
[/TR]
[TR]
[TD]153[/TD]
[TD]HRA[/TD]
[TD]18[/TD]
[/TR]
[TR]
[TD]153[/TD]
[TD]Bonus[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]153[/TD]
[TD]Commuting Allowance[/TD]
[TD]2[/TD]
[/TR]
</tbody>[/TABLE]
Can you please help me to transpose data. I have three columns "Emp_ID, Compensation Plan and Amount. I want Compensation Plan to be transposed to Basic salary, HRA, Bonus and Commuting Allowance by Columns. I have 4000 employees list which has more than 18k rows. Please help
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]EMP_ID[/TD]
[TD]Compensation Plan[/TD]
[TD]Amount[/TD]
[/TR]
[TR]
[TD]152[/TD]
[TD]Basic Salary[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]152[/TD]
[TD]HRA[/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD]152[/TD]
[TD]Bonus[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]152[/TD]
[TD]Commuting Allowance[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]153[/TD]
[TD]Basic Salary[/TD]
[TD]20[/TD]
[/TR]
[TR]
[TD]153[/TD]
[TD]HRA[/TD]
[TD]18[/TD]
[/TR]
[TR]
[TD]153[/TD]
[TD]Bonus[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]153[/TD]
[TD]Commuting Allowance[/TD]
[TD]2[/TD]
[/TR]
</tbody>[/TABLE]