This is my first post so please (kindly) let me know if I made an error in my question - and I apologize in advance if any are made.
I have 5 possible shifts (1-5) in this Shift column. For each Job Code in the 1st column I need to somehow merge each Job Code into 1 total 'qty' per each shift.
Here is a sample report of my 3 column table I am looking at:
[TABLE="class: grid, width: 283"]
<tbody>[TR]
[TD]Job Code[/TD]
[TD]qty[/TD]
[TD]Shift[/TD]
[/TR]
[TR]
[TD] Received[/TD]
[TD="align: right"]125[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD] Received[/TD]
[TD="align: right"]53[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD] Received[/TD]
[TD="align: right"]40[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD] Received[/TD]
[TD="align: right"]87[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD] Received[/TD]
[TD="align: right"]27[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD] Loaded[/TD]
[TD="align: right"]43[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD] Loaded[/TD]
[TD="align: right"]194[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD] Loaded[/TD]
[TD="align: right"]53[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD] Loaded[/TD]
[TD="align: right"]270[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD] Picked[/TD]
[TD="align: right"]71[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD] Picked[/TD]
[TD="align: right"]102[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD] Picked[/TD]
[TD="align: right"]25[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD] Picked[/TD]
[TD="align: right"]98[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD] Picked[/TD]
[TD="align: right"]75[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD] Picked[/TD]
[TD="align: right"]88[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD] Picked[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD] Picked[/TD]
[TD="align: right"]225[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD] Picked[/TD]
[TD="align: right"]62[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD] Picked[/TD]
[TD="align: right"]24[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD] Replenished[/TD]
[TD="align: right"]9[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD] Replenished[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD] Replenished[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD] Replenished[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD] Replenished[/TD]
[TD="align: right"]28[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Cases Picked[/TD]
[TD="align: right"]800[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD]Cases Picked[/TD]
[TD="align: right"]875[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]Cases Picked[/TD]
[TD="align: right"]431[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]Transfer[/TD]
[TD="align: right"]42[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Transfer[/TD]
[TD="align: right"]17[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]Transfer[/TD]
[TD="align: right"]104[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]Transfer[/TD]
[TD="align: right"]107[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Transfer[/TD]
[TD="align: right"]11[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD]Putaway[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]5[/TD]
[/TR]
</tbody>[/TABLE]
Expected (hopeful) outcome below...
For instance the 'Loaded' Job Code would look like this:
[TABLE="class: grid, width: 283, align: left"]
<tbody>[TR]
[TD]Job Code[/TD]
[TD]qty[/TD]
[TD]Shift[/TD]
[/TR]
[TR]
[TD]Loaded[/TD]
[TD="align: right"]53[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Loaded[/TD]
[TD="align: right"]194[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]Loaded[/TD]
[TD="align: right"]313[/TD]
[TD="align: right"]4[/TD]
[/TR]
</tbody>[/TABLE]
I have 5 possible shifts (1-5) in this Shift column. For each Job Code in the 1st column I need to somehow merge each Job Code into 1 total 'qty' per each shift.
Here is a sample report of my 3 column table I am looking at:
[TABLE="class: grid, width: 283"]
<tbody>[TR]
[TD]Job Code[/TD]
[TD]qty[/TD]
[TD]Shift[/TD]
[/TR]
[TR]
[TD] Received[/TD]
[TD="align: right"]125[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD] Received[/TD]
[TD="align: right"]53[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD] Received[/TD]
[TD="align: right"]40[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD] Received[/TD]
[TD="align: right"]87[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD] Received[/TD]
[TD="align: right"]27[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD] Loaded[/TD]
[TD="align: right"]43[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD] Loaded[/TD]
[TD="align: right"]194[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD] Loaded[/TD]
[TD="align: right"]53[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD] Loaded[/TD]
[TD="align: right"]270[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD] Picked[/TD]
[TD="align: right"]71[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD] Picked[/TD]
[TD="align: right"]102[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD] Picked[/TD]
[TD="align: right"]25[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD] Picked[/TD]
[TD="align: right"]98[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD] Picked[/TD]
[TD="align: right"]75[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD] Picked[/TD]
[TD="align: right"]88[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD] Picked[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD] Picked[/TD]
[TD="align: right"]225[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD] Picked[/TD]
[TD="align: right"]62[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD] Picked[/TD]
[TD="align: right"]24[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD] Replenished[/TD]
[TD="align: right"]9[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD] Replenished[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD] Replenished[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD] Replenished[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD] Replenished[/TD]
[TD="align: right"]28[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Cases Picked[/TD]
[TD="align: right"]800[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD]Cases Picked[/TD]
[TD="align: right"]875[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]Cases Picked[/TD]
[TD="align: right"]431[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]Transfer[/TD]
[TD="align: right"]42[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Transfer[/TD]
[TD="align: right"]17[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]Transfer[/TD]
[TD="align: right"]104[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]Transfer[/TD]
[TD="align: right"]107[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Transfer[/TD]
[TD="align: right"]11[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD]Putaway[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]5[/TD]
[/TR]
</tbody>[/TABLE]
Expected (hopeful) outcome below...
For instance the 'Loaded' Job Code would look like this:
[TABLE="class: grid, width: 283, align: left"]
<tbody>[TR]
[TD]Job Code[/TD]
[TD]qty[/TD]
[TD]Shift[/TD]
[/TR]
[TR]
[TD]Loaded[/TD]
[TD="align: right"]53[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Loaded[/TD]
[TD="align: right"]194[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]Loaded[/TD]
[TD="align: right"]313[/TD]
[TD="align: right"]4[/TD]
[/TR]
</tbody>[/TABLE]