Hello!
I am trying to accomplish a task in Excel to avoid multiple "messy" manual steps.
This is a simplified version of my workbook:
[TABLE="class: grid, width: 100"]
<tbody>[TR]
[TD]Employee[/TD]
[TD]Item No.[/TD]
[TD]Description[/TD]
[TD]Pack[/TD]
[TD]Size[/TD]
[TD]Color[/TD]
[TD]Quantity[/TD]
[TD]Year[/TD]
[/TR]
[TR]
[TD]Amy[/TD]
[TD]1111[/TD]
[TD]Item 1[/TD]
[TD]6[/TD]
[TD]10[/TD]
[TD]Red[/TD]
[TD]450[/TD]
[TD]2016[/TD]
[/TR]
[TR]
[TD]Amy[/TD]
[TD]1111[/TD]
[TD]Item 1[/TD]
[TD]6[/TD]
[TD]10[/TD]
[TD]Red[/TD]
[TD]300[/TD]
[TD]2017[/TD]
[/TR]
[TR]
[TD]Amy[/TD]
[TD]1112[/TD]
[TD]Item 2[/TD]
[TD]6[/TD]
[TD]10[/TD]
[TD]Tan[/TD]
[TD]300[/TD]
[TD]2016[/TD]
[/TR]
[TR]
[TD]Bill[/TD]
[TD]1112[/TD]
[TD]Item 2[/TD]
[TD]6[/TD]
[TD]10[/TD]
[TD]Tan[/TD]
[TD]300[/TD]
[TD]2016[/TD]
[/TR]
[TR]
[TD]Bill[/TD]
[TD]1113[/TD]
[TD]Item 3[/TD]
[TD]4[/TD]
[TD]32 [/TD]
[TD]Blue[/TD]
[TD]400[/TD]
[TD]2017[/TD]
[/TR]
[TR]
[TD]Amy[/TD]
[TD]1113[/TD]
[TD]Item 3[/TD]
[TD]4[/TD]
[TD]32[/TD]
[TD]Blue[/TD]
[TD]450[/TD]
[TD]2017[/TD]
[/TR]
[TR]
[TD]Bill[/TD]
[TD]1114[/TD]
[TD]Item 4[/TD]
[TD]6[/TD]
[TD]10[/TD]
[TD]Tan[/TD]
[TD]300[/TD]
[TD]2017[/TD]
[/TR]
</tbody>[/TABLE]
I need to figure out of the items my employees sold, which were new in 2017 and the total quantities. Using the above table, the result I want is:
[TABLE="class: grid, width: 100"]
<tbody>[TR]
[TD]Item No.[/TD]
[TD]Description[/TD]
[TD]Pack[/TD]
[TD]Size[/TD]
[TD]Color[/TD]
[TD]Quantity[/TD]
[/TR]
[TR]
[TD]1113[/TD]
[TD]Item 3[/TD]
[TD]4[/TD]
[TD]32[/TD]
[TD]Blue[/TD]
[TD]850[/TD]
[/TR]
[TR]
[TD]1114[/TD]
[TD]Item 4[/TD]
[TD]6[/TD]
[TD]10[/TD]
[TD]Tan[/TD]
[TD]300[/TD]
[/TR]
</tbody>[/TABLE]
Items 1111 and 1112 were both sold in 2016, so I do not want them. Amy and Bill both sold Item 1113 only in 2017, so I want the add their quantities for that item. And Item 1114 was sold only in 2017 by one person, so I basically just want to copy that line.
I can't figure out how to pick apart which items were only sold in 2017 and sum the quantities by item number. I'm not sure if there is a formula out there or if I need a macro.
Any help is appreciated. Thanks!
I am trying to accomplish a task in Excel to avoid multiple "messy" manual steps.
This is a simplified version of my workbook:
[TABLE="class: grid, width: 100"]
<tbody>[TR]
[TD]Employee[/TD]
[TD]Item No.[/TD]
[TD]Description[/TD]
[TD]Pack[/TD]
[TD]Size[/TD]
[TD]Color[/TD]
[TD]Quantity[/TD]
[TD]Year[/TD]
[/TR]
[TR]
[TD]Amy[/TD]
[TD]1111[/TD]
[TD]Item 1[/TD]
[TD]6[/TD]
[TD]10[/TD]
[TD]Red[/TD]
[TD]450[/TD]
[TD]2016[/TD]
[/TR]
[TR]
[TD]Amy[/TD]
[TD]1111[/TD]
[TD]Item 1[/TD]
[TD]6[/TD]
[TD]10[/TD]
[TD]Red[/TD]
[TD]300[/TD]
[TD]2017[/TD]
[/TR]
[TR]
[TD]Amy[/TD]
[TD]1112[/TD]
[TD]Item 2[/TD]
[TD]6[/TD]
[TD]10[/TD]
[TD]Tan[/TD]
[TD]300[/TD]
[TD]2016[/TD]
[/TR]
[TR]
[TD]Bill[/TD]
[TD]1112[/TD]
[TD]Item 2[/TD]
[TD]6[/TD]
[TD]10[/TD]
[TD]Tan[/TD]
[TD]300[/TD]
[TD]2016[/TD]
[/TR]
[TR]
[TD]Bill[/TD]
[TD]1113[/TD]
[TD]Item 3[/TD]
[TD]4[/TD]
[TD]32 [/TD]
[TD]Blue[/TD]
[TD]400[/TD]
[TD]2017[/TD]
[/TR]
[TR]
[TD]Amy[/TD]
[TD]1113[/TD]
[TD]Item 3[/TD]
[TD]4[/TD]
[TD]32[/TD]
[TD]Blue[/TD]
[TD]450[/TD]
[TD]2017[/TD]
[/TR]
[TR]
[TD]Bill[/TD]
[TD]1114[/TD]
[TD]Item 4[/TD]
[TD]6[/TD]
[TD]10[/TD]
[TD]Tan[/TD]
[TD]300[/TD]
[TD]2017[/TD]
[/TR]
</tbody>[/TABLE]
I need to figure out of the items my employees sold, which were new in 2017 and the total quantities. Using the above table, the result I want is:
[TABLE="class: grid, width: 100"]
<tbody>[TR]
[TD]Item No.[/TD]
[TD]Description[/TD]
[TD]Pack[/TD]
[TD]Size[/TD]
[TD]Color[/TD]
[TD]Quantity[/TD]
[/TR]
[TR]
[TD]1113[/TD]
[TD]Item 3[/TD]
[TD]4[/TD]
[TD]32[/TD]
[TD]Blue[/TD]
[TD]850[/TD]
[/TR]
[TR]
[TD]1114[/TD]
[TD]Item 4[/TD]
[TD]6[/TD]
[TD]10[/TD]
[TD]Tan[/TD]
[TD]300[/TD]
[/TR]
</tbody>[/TABLE]
Items 1111 and 1112 were both sold in 2016, so I do not want them. Amy and Bill both sold Item 1113 only in 2017, so I want the add their quantities for that item. And Item 1114 was sold only in 2017 by one person, so I basically just want to copy that line.
I can't figure out how to pick apart which items were only sold in 2017 and sum the quantities by item number. I'm not sure if there is a formula out there or if I need a macro.
Any help is appreciated. Thanks!