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
267 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 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

Gigs: Get Your Project Delivered by an Expert

Select from 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 will show you how to use shortcut menus in the Access run-time environment.
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…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

786 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