?
Solved

Vlookup - match to duplicates

Posted on 2014-04-14
3
Medium Priority
?
381 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
[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 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 2000 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.

800 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