Need help on how to calculate 2 different fields from different worksheets and get total sum of the quantity.
example. I'm using excel 2013, i have DAY and NIGHT shift data which I wanted to merged into 1 full day shift with grand total of the quantity based on machine / date respectively. Is this possible using Pivot Table?
here is the link of the file for reference:
https://onedrive.live.com/redir?res...465&authkey=!AML6Ttn34AYA5cM&ithint=file,xlsx
Day Shift
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Machine No.[/TD]
[TD]Commodity[/TD]
[TD]Quantity[/TD]
[TD]Date[/TD]
[/TR]
[TR]
[TD]C1[/TD]
[TD]UFP Housing[/TD]
[TD]1040[/TD]
[TD]3 Jan[/TD]
[/TR]
[TR]
[TD]B14[/TD]
[TD]Spyglass[/TD]
[TD]15600[/TD]
[TD]4 jan[/TD]
[/TR]
[TR]
[TD]A3[/TD]
[TD]Hubble[/TD]
[TD]15060[/TD]
[TD]4 Jan[/TD]
[/TR]
</tbody>[/TABLE]
Night Shift
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Machine No.[/TD]
[TD]Commodity[/TD]
[TD]Quantity[/TD]
[TD]Date[/TD]
[/TR]
[TR]
[TD]A3[/TD]
[TD]Hubble[/TD]
[TD]14000[/TD]
[TD]4 Jan[/TD]
[/TR]
[TR]
[TD]A5[/TD]
[TD]Air Spoiler[/TD]
[TD]8840[/TD]
[TD]4 jan[/TD]
[/TR]
[TR]
[TD]A7[/TD]
[TD]MFP[/TD]
[TD]13550[/TD]
[TD]4 Jan[/TD]
[/TR]
</tbody>[/TABLE]
This should be the result when two files combined:
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Machine No.[/TD]
[TD]Commodity[/TD]
[TD]Quantity[/TD]
[TD]Date[/TD]
[/TR]
[TR]
[TD]C1[/TD]
[TD]UFP Housing[/TD]
[TD]1040[/TD]
[TD]3 Jan[/TD]
[/TR]
[TR]
[TD]B14[/TD]
[TD]Spyglass[/TD]
[TD]15600[/TD]
[TD]4 Jan[/TD]
[/TR]
[TR]
[TD]A3[/TD]
[TD]Hubble[/TD]
[TD]29060[/TD]
[TD]4 Jan[/TD]
[/TR]
[TR]
[TD]A5[/TD]
[TD]Air Spoiler[/TD]
[TD]8840[/TD]
[TD]4 Jan[/TD]
[/TR]
</tbody>[/TABLE]
adding machine A3 with the same date.
please help as i don't know how to do this one.
thanks.
example. I'm using excel 2013, i have DAY and NIGHT shift data which I wanted to merged into 1 full day shift with grand total of the quantity based on machine / date respectively. Is this possible using Pivot Table?
here is the link of the file for reference:
https://onedrive.live.com/redir?res...465&authkey=!AML6Ttn34AYA5cM&ithint=file,xlsx
Day Shift
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Machine No.[/TD]
[TD]Commodity[/TD]
[TD]Quantity[/TD]
[TD]Date[/TD]
[/TR]
[TR]
[TD]C1[/TD]
[TD]UFP Housing[/TD]
[TD]1040[/TD]
[TD]3 Jan[/TD]
[/TR]
[TR]
[TD]B14[/TD]
[TD]Spyglass[/TD]
[TD]15600[/TD]
[TD]4 jan[/TD]
[/TR]
[TR]
[TD]A3[/TD]
[TD]Hubble[/TD]
[TD]15060[/TD]
[TD]4 Jan[/TD]
[/TR]
</tbody>[/TABLE]
Night Shift
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Machine No.[/TD]
[TD]Commodity[/TD]
[TD]Quantity[/TD]
[TD]Date[/TD]
[/TR]
[TR]
[TD]A3[/TD]
[TD]Hubble[/TD]
[TD]14000[/TD]
[TD]4 Jan[/TD]
[/TR]
[TR]
[TD]A5[/TD]
[TD]Air Spoiler[/TD]
[TD]8840[/TD]
[TD]4 jan[/TD]
[/TR]
[TR]
[TD]A7[/TD]
[TD]MFP[/TD]
[TD]13550[/TD]
[TD]4 Jan[/TD]
[/TR]
</tbody>[/TABLE]
This should be the result when two files combined:
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Machine No.[/TD]
[TD]Commodity[/TD]
[TD]Quantity[/TD]
[TD]Date[/TD]
[/TR]
[TR]
[TD]C1[/TD]
[TD]UFP Housing[/TD]
[TD]1040[/TD]
[TD]3 Jan[/TD]
[/TR]
[TR]
[TD]B14[/TD]
[TD]Spyglass[/TD]
[TD]15600[/TD]
[TD]4 Jan[/TD]
[/TR]
[TR]
[TD]A3[/TD]
[TD]Hubble[/TD]
[TD]29060[/TD]
[TD]4 Jan[/TD]
[/TR]
[TR]
[TD]A5[/TD]
[TD]Air Spoiler[/TD]
[TD]8840[/TD]
[TD]4 Jan[/TD]
[/TR]
</tbody>[/TABLE]
adding machine A3 with the same date.
please help as i don't know how to do this one.
thanks.
Last edited: