Combining Duplicates

LordDragon

New Member
Joined
May 14, 2015
Messages
14
Greetings,

I have a page with 3 columns and an unknown number of rows. There is a header row at the top. This is an order sheet for parts. The items being added come from several lists, with some duplicate parts.

What I need is to take any duplicate parts (based on part number) and combine the quantities so the item is only on the list once, but the correct quantity is listed.

For example:

Part Name
Part Number
QTY Needed
Cable Comm 422 150ft
CBLASS174
6
Cable Comm 422 40ft
CBLASS446
1
Label, Cable ID, Do Not Unplug
LBL468
3
Label, Cable ID, Do Not Unplug
LBL468
7

<tbody>
</tbody>

Notice the duplicate parts. I want to be able to make this be:

Part Name
Part Number
QTY Needed
Cable Comm 422 150ft
CBLASS174
6
Cable Comm 422 40ft
CBLASS446
1
Label, Cable ID, Do Not Unplug
LBL468
10

<tbody>
</tbody>

Thanks.
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Try a Pivot Table

Part Name and Part Number ---> Row Labels
QTY Needed --> Values area

Click inside the Pivot Table
Design > in Layout group click in Report Layout and pick Show in Tabular Form

Done!


A
B
C
1
2
3
Part Name​
Part Number​
Sum of QTY Needed​
4
Cable Comm 422 150ft​
CBLASS174​
6​
5
Cable Comm 422 40ft​
CBLASS446​
1​
6
Label, Cable ID, Do Not Unplug​
LBL468​
10​
7
Grand Total​
17​

<tbody>
</tbody>


Hope this helps

M.
 
Upvote 0

Forum statistics

Threads
1,215,054
Messages
6,122,895
Members
449,097
Latest member
dbomb1414

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