Grouping and Ungrouping of Data

Riazq2

New Member
Joined
Mar 29, 2021
Messages
10
Office Version
  1. 365
Platform
  1. Windows
The raw data is exported with names repeated in different rows and payment amount is in one column. I want the data of thousands of employees in a way that the payment amount appears in different columns against each wage type and against each employee name in one row

Actual - Problem

Employee NumberName of employeeWage Type Long TextAmountPayment Date
1ABCBasic Pay644,47131.12.2020
1ABCHouse Rent Allowance354,45931.12.2020
1ABCUtilities Allowance109,56031.12.2020
1ABCCost of Medicine96,67131.12.2020
1ABCSecurity Guard Allowance30,00031.12.2020
1ABCConsultation Executives77,33731.12.2020
1ABCBasic Pay (A)-
1ABCHouse Rent Allowance (A)-
1ABCUtilities Allowance (A)-
1ABCCost Medicine (A)-
1ABCPF Deduction (A)-
1ABCPension Fund (A)-
1ABCConsultation (A)-
1ABCIncome Tax Deduction(241,085)31.12.2020
1ABCPF Deduction OG/Mgt(64,447)31.12.2020
1ABCSt.Welfare Foundation(50)31.12.2020
1ABCGroup Insurance(5,115)31.12.2020
1ABCBenevolent Fund E/O(400)31.12.2020
1ABCPension Fund116,00531.12.2020
1ABCBenevolent Fund Bank E/O40031.12.2020
1ABCPayment Amount790,87031.12.2020
1ABCHBF Inst150,10031.12.2020
1ABCM/Car Inst11,50031.12.2020
1ABCEid Advance Deduction48,93131.12.2020

Desired - Solution

Employee NumberPayment DateName of employeeBasic PayHouse Rent AllowanceUtilities AllowanceCost of MedicineSecurity Guard AllowanceConsultation ExecutivesBasic Pay (A)House Rent Allowance (A)Utilities Allowance (A)Cost Medicine (A)PF Deduction (A)Pension Fund (A)Consultation (A)Income Tax DeductionPF Deduction OG/MgtSt.Welfare FoundationGroup InsuranceBenevolent Fund E/OPension FundBenevolent Fund Bank E/OPayment AmountHBF InstM/Car InstEid Advance Deduction
131.12.2020ABC
644,471.00​
354,459.00​
109,560.00​
96,671.00​
30,000.00​
77,337.00​
0​
0​
0​
0​
0​
0​
0​
-241,085.00​
-64,447.00​
-50​
-5,115.00​
-400​
116,004.78​
400​
790,869.67​
150,100.00​
11,500.00​
48,931.33​
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Pivot your data

1617147710876.png
 
Upvote 0
the format is not correct
Sum of AmountWage Type Long Text
Employee NumberName of employeePayment DateBasic PayBasic Pay (A)Benevolent Fund Bank E/OBenevolent Fund E/OConsultation (A)Consultation ExecutivesCost Medicine (A)Cost of MedicineEid Advance DeductionGroup InsuranceHBF InstHouse Rent AllowanceHouse Rent Allowance (A)Income Tax DeductionM/Car InstPayment AmountPension FundPension Fund (A)PF Deduction (A)PF Deduction OG/MgtSecurity Guard AllowanceSt.Welfare FoundationUtilities AllowanceUtilities Allowance (A)Grand Total
1​
ABC31.12.2020
644471​
400​
-400​
77337​
96671​
48931.33​
-5115​
150100​
354459​
-241085​
11500​
790869.67​
116004.78​
-64447​
30000​
-50​
109560​
2119206.78​
(blank)
0​
0​
0​
0​
0​
0​
0​
0​
ABC Total
644471​
0​
400​
-400​
0​
77337​
0​
96671​
48931.33​
-5115​
150100​
354459​
0​
-241085​
11500​
790869.67​
116004.78​
0​
0​
-64447​
30000​
-50​
109560​
0​
2119206.78​
1 Total
644471​
0​
400​
-400​
0​
77337​
0​
96671​
48931.33​
-5115​
150100​
354459​
0​
-241085​
11500​
790869.67​
116004.78​
0​
0​
-64447​
30000​
-50​
109560​
0​
2119206.78​
Grand Total
644471​
0​
400​
-400​
0​
77337​
0​
96671​
48931.33​
-5115​
150100​
354459​
0​
-241085​
11500​
790869.67​
116004.78​
0​
0​
-64447​
30000​
-50​
109560​
0​
2119206.78​
 
Upvote 0

Forum statistics

Threads
1,215,603
Messages
6,125,771
Members
449,259
Latest member
rehanahmadawan

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top