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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
enable formatting rows through Thsworkbook VBA code 5 16
Excel formula - data format 5 22
Transposing this formula ... 5 17
V-Lookup 11 21
In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

821 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