Solved

Vlookup - match to duplicates

Posted on 2014-04-14
3
364 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
VBA Code Mixed Combining Two User Forms 7 39
Out of stack space (Error 28) 5 24
onOpen 14 43
Rearrange Macro 7 26
INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
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.
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.

744 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now