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
269 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 7

Accepted Solution

by:
BusyMama earned 500 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

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

759 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