Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
Solved

# Problem with Wildcard and Vlookup combination

Posted on 2013-11-11
Medium Priority
223 Views
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
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

LVL 33

Expert Comment

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

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

Question has a verified solution.

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

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.