Summarizing of Data. Can it be done thru Pivot?

ellyzadg

Board Regular
Joined
May 9, 2016
Messages
75
Hi,

I am trying to summarize my data based on rank and position with its corresponding wage.
I'm trying to do it on pivot but cannot produce my desired result. Thank you in advance!

Below is my data

[TABLE="width: 458"]
<colgroup><col span="2"><col><col></colgroup><tbody>[TR]
[TD="align: left"]DATA[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]RANK[/TD]
[TD]POSITION[/TD]
[TD]EMPLOYEE[/TD]
[TD]WAGE[/TD]
[/TR]
[TR]
[TD="align: left"]1 UNSKILLED[/TD]
[TD="align: left"]LABORER[/TD]
[TD="align: left"]Person 1[/TD]
[TD="align: right"]3012[/TD]
[/TR]
[TR]
[TD="align: left"]2 UNSKILLED[/TD]
[TD="align: left"]LABORER[/TD]
[TD="align: left"]Person 2[/TD]
[TD="align: right"]1004[/TD]
[/TR]
[TR]
[TD="align: left"]3 UNSKILLED[/TD]
[TD="align: left"]LABORER[/TD]
[TD="align: left"]Person 3[/TD]
[TD="align: right"]1004[/TD]
[/TR]
[TR]
[TD="align: left"]4 UNSKILLED[/TD]
[TD="align: left"]LABORER[/TD]
[TD="align: left"]Person 4[/TD]
[TD="align: right"]1004[/TD]
[/TR]
[TR]
[TD="align: left"]5 UNSKILLED[/TD]
[TD="align: left"]LABORER[/TD]
[TD="align: left"]Person 5[/TD]
[TD="align: right"]1004[/TD]
[/TR]
[TR]
[TD="align: left"]6 UNSKILLED[/TD]
[TD="align: left"]LABORER[/TD]
[TD="align: left"]Person 6[/TD]
[TD="align: right"]1004[/TD]
[/TR]
[TR]
[TD="align: left"]7 UNSKILLED[/TD]
[TD="align: left"]LABORER[/TD]
[TD="align: left"]Person 7[/TD]
[TD="align: right"]1004[/TD]
[/TR]
[TR]
[TD="align: left"]8 UNSKILLED[/TD]
[TD="align: left"]LABORER[/TD]
[TD="align: left"]Person 8[/TD]
[TD="align: right"]1004[/TD]
[/TR]
[TR]
[TD="align: left"]9 UNSKILLED[/TD]
[TD="align: left"]LABORER[/TD]
[TD="align: left"]Person 9[/TD]
[TD="align: right"]1004[/TD]
[/TR]
[TR]
[TD="align: left"]10 UNSKILLED[/TD]
[TD="align: left"]LABORER[/TD]
[TD="align: left"]Person 10[/TD]
[TD="align: right"]1004[/TD]
[/TR]
[TR]
[TD="align: left"]11 UNSKILLED[/TD]
[TD="align: left"]LABORER[/TD]
[TD="align: left"]Person 11[/TD]
[TD="align: right"]502[/TD]
[/TR]
[TR]
[TD="align: left"]12 UNSKILLED[/TD]
[TD="align: left"]LABORER[/TD]
[TD="align: left"]Person 12[/TD]
[TD="align: right"]502[/TD]
[/TR]
[TR]
[TD="align: left"]2 SEMI SKILLED[/TD]
[TD="align: left"]AIDE,SURVEY[/TD]
[TD="align: left"]Person 13[/TD]
[TD="align: right"]570[/TD]
[/TR]
[TR]
[TD="align: left"]2 SEMI SKILLED[/TD]
[TD="align: left"]AIDE,SURVEY[/TD]
[TD="align: left"]Person 14[/TD]
[TD="align: right"]570[/TD]
[/TR]
[TR]
[TD="align: left"]2 SEMI SKILLED[/TD]
[TD="align: left"]AIDE,SURVEY[/TD]
[TD="align: left"]Person 15[/TD]
[TD="align: right"]570[/TD]
[/TR]
[TR]
[TD="align: left"]2 SEMI SKILLED[/TD]
[TD="align: left"]AIDE,SURVEY[/TD]
[TD="align: left"]Person 16[/TD]
[TD="align: right"]502[/TD]
[/TR]
[TR]
[TD="align: left"]2 SEMI SKILLED[/TD]
[TD="align: left"]AIDE,SURVEY[/TD]
[TD="align: left"]Person 17[/TD]
[TD="align: right"]502[/TD]
[/TR]
[TR]
[TD="align: left"]2 SEMI SKILLED[/TD]
[TD="align: left"]AIDE,SURVEY[/TD]
[TD="align: left"]Person 18[/TD]
[TD="align: right"]502[/TD]
[/TR]
[TR]
[TD="align: left"]2 SEMI SKILLED[/TD]
[TD="align: left"]AIDE,SURVEY[/TD]
[TD="align: left"]Person 19[/TD]
[TD="align: right"]502[/TD]
[/TR]
[TR]
[TD="align: left"]2 SEMI SKILLED[/TD]
[TD="align: left"]AIDE,SURVEY[/TD]
[TD="align: left"]Person 20[/TD]
[TD="align: right"]502[/TD]
[/TR]
</tbody>[/TABLE]


While my desired result is:

[TABLE="width: 295"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]RANK[/TD]
[TD]Position[/TD]
[TD] Rate[/TD]
[/TR]
[TR]
[TD="align: left"]Unskilled[/TD]
[TD="align: left"]Laborer[/TD]
[TD="align: right"]3012[/TD]
[/TR]
[TR]
[TD="align: left"]Unskilled[/TD]
[TD="align: left"]Laborer[/TD]
[TD="align: right"]1004[/TD]
[/TR]
[TR]
[TD="align: left"]Unskilled[/TD]
[TD="align: left"]Laborer[/TD]
[TD="align: right"]502[/TD]
[/TR]
[TR]
[TD="align: left"]Skilled[/TD]
[TD="align: left"]Aide[/TD]
[TD="align: right"]570[/TD]
[/TR]
[TR]
[TD="align: left"]Skilled[/TD]
[TD="align: left"]Aide[/TD]
[TD="align: right"]502[/TD]
[/TR]
[TR]
[TD="align: left"]Skilled[/TD]
[TD="align: left"]Aide[/TD]
[TD="align: right"]502[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Yes this can be done via a pivot (not sure why the final 2 rows in your example desired result are identical)...

Arrange the pivot so that the fields RANK, POSITION and RATE are all in the ROWS area
Sort Rate from Largest to smallest
Right-click Unskilled and select MOVE, and then TO BEGINNING
Remove all sub-totals and Grand Totals
Change the Report Layout to tabular and select 'Repeat all Item labels'
 
Upvote 0
Yes this can be done via a pivot (not sure why the final 2 rows in your example desired result are identical)...

Arrange the pivot so that the fields RANK, POSITION and RATE are all in the ROWS area
Sort Rate from Largest to smallest
Right-click Unskilled and select MOVE, and then TO BEGINNING
Remove all sub-totals and Grand Totals
Change the Report Layout to tabular and select 'Repeat all Item labels'


Thank you njimack. I made a mistake on the last part. Anyways, I already tried the method you provided, But How can I remove those duplicated values? it still appears on the list of data. Thanks
 
Upvote 0

Forum statistics

Threads
1,223,099
Messages
6,170,107
Members
452,302
Latest member
TaMere

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