Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to program excel to compare two columns and give an answer of yes or no if duplicates are found?

Posted on 2011-09-02
3
Medium Priority
?
274 Views
Last Modified: 2012-05-12
I have an old list of inventory with the unique key of part numbers. Then I have another spreadsheet which identifies what prart numbers are no longer in production. I dont want to erase them i just need to compare and have outlook populate another column which will read out "yes" or "no". Basically compare two columns and if it finds duplicates to populate another column with the word yes.
0
Comment
Question by:Osram34
  • 2
3 Comments
 
LVL 7

Accepted Solution

by:
BusyMama earned 2000 total points
ID: 36475558
=IF(VLOOKUP(your cell with the part number here,your worksheet and range here,your column with the matching value here,FALSE)<>"","No","Yes")

Mine looks like this
=IF(VLOOKUP(C63,Sheet1!F1:G2,1,FALSE)<>"","Yes","No")

You must have the worksheet with the part numbers no longer in production sorted by part number.
0
 

Author Comment

by:Osram34
ID: 36475574
Let me give it a shot and ill get back to you might need little more info but thanks seems like you know your stuff busymama... ohh and i love the screen name :)
0
 

Author Closing Comment

by:Osram34
ID: 36475691
BusyMoma just made me un busy!! thanks
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
With its various features, Office 365 can not only help you with your day-to-day business tasks, it can also do wonders for your marketing campaign.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

877 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question