Solved

Problem with Wildcard and Vlookup combination

Posted on 2013-11-11
2
196 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 31

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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

21 Experts available now in Live!

Get 1:1 Help Now