Solved

Vlookup - match to duplicates

Posted on 2014-04-14
3
370 Views
Last Modified: 2014-04-14
Sheet one contains a list of stock codes with duplicates throughout.

I am trying to match the corresponding information in sheet two to each stock code in sheet one including duplicates.

I've tried using a vlookup but for some reason its not working for all duplicates???

Thanks
Rob
Excel-Question--vlookup-2.xlsx
0
Comment
Question by:rob700
  • 2
3 Comments
 
LVL 23

Expert Comment

by:NBVC
ID: 39998874
Are the duplicates going to have differences in the other columns?

At first glance they don't seem to.
0
 
LVL 23

Accepted Solution

by:
NBVC earned 500 total points
ID: 39998887
If there are not differences, try this formula:

=INDEX(Sheet2!B:B,MATCH($A2,Sheet2!$A:$A,0))

If there are differences, we will need to use helper columns, or array formulas.
0
 

Author Comment

by:rob700
ID: 39998907
No they were all the same. Thank-you!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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

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.
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 in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

828 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