?
Solved

Problem with Wildcard and Vlookup combination

Posted on 2013-11-11
2
Medium Priority
?
216 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
[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 Comments
 
LVL 33

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 2000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
This article describes a serious pitfall that can happen when deleting shapes using VBA.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

770 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