Find double record and merge

  • Thread starter Thread starter Chris
  • Start date Start date
C

Chris

Hi

I am using excel 2003.
I have 3 columns: ProductID, ProductName , Units Ordered.
I want to lookup double records in de column "Product ID".
Then I want to merge the double records in the column "Product ID", but he
must add the number of the record in the column Units Ordered.
Looks like this
Product ID Product Name UnitsOrdered
43301 Campylosel (20 boîtes gelose) 1
43301 Campylosel (20 boîtes gelose) 8

I must look like this
Product ID Product Name UnitsOrdered
43301 Campylosel (20 boîtes gelose) 9

Does anyone have an idea how I can do this automatically?

Thanks
 
A Pivot Table would add up all the unique entries for each product.
Use "Product Name" as your row field and "UnitsOrdered" as your data
item.


HTH,
JP
 
Chris,

Say you table was in column A, B & C and looked like this

1234 This thing 2
12324 That thing 3
1234 Another 5
43301 Campylosel (20 boîtes gelose) 1
1234 Widgets 5
43301 Campylosel (20 boîtes gelose) 8

In D1 enter wat you are looking for e.e 43301
In E1 enter the text - Campylosel (20 boîtes gelose)
In F1 the formula
=SUMPRODUCT((A1:A30=D1)*(B1:B30=E1)*(C1:C30))
Will return 9

Mike
 
Thanks Mike, but I would have to do that for more then 400 records. I would
like it to be more simple.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

how to find last value 6
Inventory Tracking Sheet 2
Locking Cells 4
I can't find vlookup values! 3
IF function 3
Return to last cursor?? 4
quick double-criteria lookup? 3
Handling No Existing Record 2

Back
Top