How do I remove duplicates and then merge two excel files?
February 7, 2007 6:25 PM
Subscribe
In MS Excel, how do I remove duplicates, clean up a document and merge two files together?
I have found a few threads in Google, but none of them have quite what I'm looking for, I'm hoping someone will have experience doing this. Right now, I have to do this manually, but I figure there has to be a more efficient way of completing this.
This is a bit complicated, but I'll try to simplify as best as I can:
I have two excel files, A and B.
File A contains the fields PART NUMBER and PRICE and is laid out as follows:
a1000 $1.25
a1000 $1.25
a1000 total $2.50
a1001 $3.25
a1001 total $3.25
a1002 $3.31
a1002 $3.31
a1002 total $6.62
etc. etc.
Questions:
1) How do I remove all the duplicate records?
2) How do I remove all the rows that contain the word "total" in the PART NUMBER field?
File B contains a master list of a lot more information for other parts and the formatting needs to be retained. After cleaning up File A, is there a import those values to a designated column for their corresponding part numbers in File B?
Any help would be MUCH appreciated.
posted by perpetualstroll to computers & internet (6 comments total)
11 users marked this as a favorite
For #1, you can select all the items and do a Data->Filter->Advanced Filter and Check off "Unique Records Only". Once filtered you can Copy and Paste the Filtered List into a new Worksheet
For the File B question, you can then use the "VLOOKUP" formula to insert a value from one Table to the other.
I'm no Excel Expert, and I'm sure there may be easier ways to do this...
posted by stew560 at 6:46 PM on February 7, 2007