Solved

Need help with a Vlookup to bring a data from one tab to another based on a simple match

Posted on 2013-01-25
5
270 Views
Last Modified: 2013-01-29
I have a list of products in the source tab.  These have start dates.

I am trying to move the appropriate date into the target tab based on and only when the product in the source matches the product int the target.

I have tried a Vlookup but i cannot get it to work.

Please help.
TEst-1.xlsx
0
Comment
Question by:Element_Can
5 Comments
 
LVL 43

Accepted Solution

by:
Saqib Husain, Syed earned 500 total points
ID: 38821477
Enter this formula in E4 and copy down

=IFERROR(VLOOKUP(A4,SOURCE!$A:$G,7,0),"")
0
 
LVL 26

Expert Comment

by:redmondb
ID: 38821486
Hi, Element_Can.

As I had come up with the same formula, I wouldn't normally post but check the size of the attached file. By deleting the blank rows at the end of TARGET and DESIRED RESULTS, the file size has been reduced from 2,460K to 91K.

Regards,
Brian.TEst-1-V2.xlsx
0
 
LVL 92

Expert Comment

by:Patrick Matthews
ID: 38822289
Not looking for points here, as ssaqibh appears to have the right formula for you :)

Please check out my article on troubleshooting VLOOKUP: http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/A_2637-Six-Reasons-Why-Your-VLOOKUP-or-HLOOKUP-Formula-Does-Not-Work.html

It explains the most common pitfalls in using that function.
0
 

Author Closing Comment

by:Element_Can
ID: 38831720
This worked great.  I am not 100% sure what i was doing wrong on my work but this worked fine.  

Thanks,

I have a follow up question....not sure if i post it here or as a new question but i'll do both.

IF there are multiple resulting answers, can i have them present in the destination file sequentially?
0
 
LVL 92

Expert Comment

by:Patrick Matthews
ID: 38831872
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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 …
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

760 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

19 Experts available now in Live!

Get 1:1 Help Now