consolidating data

Jungo

New Member
Joined
May 30, 2022
Messages
5
Office Version
  1. 2019
Platform
  1. Windows
Hi there,

I am having a hard time consolidating data based on multiple data points.

I am trying to get a total quantity of all like sizes of a component.

from this data set i should have:
3 components that are 9.5 x 5.5 x 1.5
39 components that are 9.25 x 5.5 x 1.5
6 components that are 16.75 x 3.5 x 1.5


the sizes and names and number of lines are always changing, but i am trying to figure out how to consolidate quantities when all columns match, except quantity.

any thoughts, help my brain out.

thanks!

QuantityDescriptionLength(L)Width(W)Thickness(T)MaterialSTATIONDONE
1​
PLATE - CRIPPLE
9.5​
5.5​
1.5​
SPRUCECORRIDOR
1​
PLATE - CRIPPLE
9.5​
5.5​
1.5​
SPRUCECORRIDOR
1​
PLATE - CRIPPLE
9.5​
5.5​
1.5​
SPRUCECORRIDOR
12​
PLATE - CRIPPLE
9.25​
5.5​
1.5​
SPRUCECORRIDOR
8​
PLATE - CRIPPLE
9.25​
5.5​
1.5​
SPRUCECORRIDOR
6​
PLATE - CRIPPLE
9.25​
5.5​
1.5​
SPRUCECORRIDOR
9​
PLATE - CRIPPLE
9.25​
5.5​
1.5​
SPRUCECORRIDOR
4​
PLATE - CRIPPLE
9.25​
5.5​
1.5​
SPRUCECORRIDOR
5​
PLATE - CRIPPLE
16.75​
3.5​
1.5​
SPRUCECORRIDOR
1​
PLATE - CRIPPLE
16.75​
3.5​
1.5​
SPRUCECORRIDOR
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Use Group By in Power Query

Power Query:
let
    Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
    #"Grouped Rows" = Table.Group(Source, {"Description", "Length(L)", "Width(W)", "Thickness(T)"}, {{"Total", each List.Sum([Quantity]), type text}})
in
    #"Grouped Rows"

Book3
ABCDEFGHIJKLM
1QuantityDescriptionLength(L)Width(W)Thickness(T)MaterialSTATIONDONEDescriptionLength(L)Width(W)Thickness(T)Total
21PLATE - CRIPPLE9.55.51.5SPRUCECORRIDORPLATE - CRIPPLE9.55.51.53
31PLATE - CRIPPLE9.55.51.5SPRUCECORRIDORPLATE - CRIPPLE9.255.51.539
41PLATE - CRIPPLE9.55.51.5SPRUCECORRIDORPLATE - CRIPPLE16.753.51.56
512PLATE - CRIPPLE9.255.51.5SPRUCECORRIDOR
68PLATE - CRIPPLE9.255.51.5SPRUCECORRIDOR
76PLATE - CRIPPLE9.255.51.5SPRUCECORRIDOR
89PLATE - CRIPPLE9.255.51.5SPRUCECORRIDOR
94PLATE - CRIPPLE9.255.51.5SPRUCECORRIDOR
105PLATE - CRIPPLE16.753.51.5SPRUCECORRIDOR
111PLATE - CRIPPLE16.753.51.5SPRUCECORRIDOR
Sheet1
 
Upvote 0

Forum statistics

Threads
1,214,895
Messages
6,122,128
Members
449,066
Latest member
Andyg666

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