Pivot table question

bwlytkr

Board Regular
Joined
Jun 8, 2012
Messages
175
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
I am trying to build a pivot table that will sum up the total number of Transfer items in the Wa Cd column and total the # of actual reported hours for the entire Job Number. If I filter on the transfer item it will only total the number of transfers. Is this possible in a pivot table? Below is a sample of the data. As you can see the job numbers have hours on multiple lines but only 1 transfer item for each job. Any help would be greatly appreciated. Thanks John



State CdCmc CdPWO CategoryJob NbrWC NameDistrict NmWa CdActual Reported Hours
FLBRVC POLE PWO5L3841TITUSVILLE FL NORTH END0
FLBRVC POLE PWO5L3841TITUSVILLE FL NORTH PLAC1.75
FLBRVC POLE PWO5L3841TITUSVILLE FL NORTH REMO0.75
FLBRVC POLE PWO5L3841TITUSVILLE FL NORTH TRNSFR4
FLBRVC POLE PWO6N7004TITUSVILLE FL NORTH END0
FLBRVC POLE PWO6N7004TITUSVILLE FL NORTH PLAC2.5
FLBRVC POLE PWO6N7004TITUSVILLE FL NORTH REMO2.5
FLBRVC POLE PWO6N7004TITUSVILLE FL NORTH SPL2
FLBRVC POLE PWO6N7004TITUSVILLE FL NORTH TRNSFR5.5
<colgroup><col width="64" style="width: 48pt;" span="2"> <col width="90" style="width: 68pt; mso-width-source: userset; mso-width-alt: 3291;"> <col width="79" style="width: 59pt; mso-width-source: userset; mso-width-alt: 2889;"> <col width="104" style="width: 78pt; mso-width-source: userset; mso-width-alt: 3803;"> <col width="64" style="width: 48pt;"> <col width="56" style="width: 42pt; mso-width-source: userset; mso-width-alt: 2048;"> <col width="137" style="width: 103pt; mso-width-source: userset; mso-width-alt: 5010;"> <tbody> </tbody>
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
You mean like this?

Sum of Actual Reported Hours Column Labels
Row Labels END PLAC REMO SPL TRNSFR Grand Total
PWO5L3841 - 1.8 0.8 4.0 6.5
PWO6N7004 - 2.5 2.5 2.0 5.5 12.5
Grand Total - 4.3 3.3 2.0 9.5 19.0

If so, COlumns is Wa Cd, Rows is Job Nbr, and Values is sum of Actual Reported Hours.
 
Last edited:
Upvote 0
Thanks but I am trying to put it in a summary format since I have regional data with 1000's of lines of data. Is it possible to do something similar to below but only pull the transfer data in the Wa Cd column but give me the total hrs for the job

Row LabelsCount of Wa CdSum of Actual Reported Hours
FL891026467.5
(blank)
Grand Total891026467.5
<colgroup><col width="120" style="width: 90pt; mso-width-source: userset; mso-width-alt: 4388;"> <col width="131" style="width: 98pt; mso-width-source: userset; mso-width-alt: 4790;"> <col width="246" style="width: 185pt; mso-width-source: userset; mso-width-alt: 8996;"> <tbody> </tbody>
 
Upvote 0

Forum statistics

Threads
1,214,940
Messages
6,122,361
Members
449,080
Latest member
Armadillos

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