consolidate two excel lists

Hello Experts

I have two lists with common data.  
I need to create one list with no duplicates.  

list one is an excel sheet with data from an attached .csv file.
list two is an attached access table.  
Is there a way to "Lookup" from more than one list?

AJP     Excel Lists
Allen PrinceTraining DeveloperAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

RamanhpCommented:
please refer the attachement
Consolidated-List.xlsx
Patrick MatthewsCommented:
AMixMaster,

1) There was no attached file

2) What if a single product has multiple codes?  For example, if list 1 has:

Prod1,Code1
Prod2,Code2
Prod3,Code3
Prod4,Code4

and list 2 has:

Prod1,Code5
Prod5,Code6
Prod6,Code7
Prod2,Code2

then what would the expected output be?  Note that Prod1 appears on both lists but with different codes, and that Prod2 appears on both lists but using the same code.

Patrick
ukerandiCommented:
hi check my example in the attached Excel file, Click on command1 button. if you want to more than 30 records you need to go code page and edit amount what you want
RemoveDuplicates.xls

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Learn Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

Allen PrinceTraining DeveloperAuthor Commented:
Product codes are unique
Allen PrinceTraining DeveloperAuthor Commented:
We would need to consolidate the lists first brfore running a pivot table.
Still need the code to eliminate the duplicates
ukerandiCommented:
have you run my code
Allen PrinceTraining DeveloperAuthor Commented:
ukerandi,

Your post was one second before my last comment!

Actually, I need a lookup with reference to different columns to be dispalyed.
However, Your code does what the example asks for.

Thanks

AJP

ps
Check this Guy out  :)  www.cpearson.com
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.