Solved

Problem with Wildcard and Vlookup combination

Posted on 2013-11-11
2
200 Views
Last Modified: 2013-11-20
Hi Guys, I am just trying out to figure why this Wildcard Vlookup does not work. Cell I542 contains a Vlaue of "52365.28, 2202088.28". In BC542, I have the formula Vlookup("*" & I542&"*",GBO,1,False). GBO is the range I am doing the lookup up on  and 2202088.28 is there, yet my formula is saying "#NA". Any ideas?
DummyRec2.xlsx
0
Comment
Question by:Justincut
2 Comments
 
LVL 32

Expert Comment

by:Rob Henson
ID: 39638552
You are telling the VLOOKUP to search a value containing all of "52365.28, 2202088.28" and allowing extra before or after but the cell that you are expecting it to find only contains the second half of the value therefore it will not find it.

Do you have the context of the WildCard the right way round?

If you were looking for "*"&2202088.28&"*" and the cell contained "52365.28, 2202088.28", the lookup should find it.

Thanks
Rob H
0
 
LVL 50

Accepted Solution

by:
barry houdini earned 500 total points
ID: 39638816
To make that work to extract the matching value, i.e. 22020288.28 try this formula

=LOOKUP(2^15,SEARCH(" "&GBO&","," "&I542&","),GBO)

regards, barry
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
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 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.

776 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