Search

Not so wild lookups

Share

In case, this is the first time you are hearing about Excel formula wildcards, check out the Using wildcards in Excel VLOOKUP formula tutorial.

So you know about wild cards like * ?, now how would you tell VLOOKUP to ignore them?

Say, you are genuinely interested in looking the value “* Payroll” in a lookup table. What then?

This is exactly the problem faced by Peter in our forum post VLOOKUP and cells with “*” NOT to be interpreted as wildcard

How to deal with wildcard problem?

Of course, you can use one of the three approaches,

1. Use formulas that ignore wildcards, like FIND() or = operator
2. Replace wildcards with some other symbol (for ex: | or @) and do the lookups
3. Or, just use ~ to tell Excel to ignore the wildcards

How to tell VLOOKUP to ignore the wildcards – Video

In this short video, learn how to use the ~ character to nullify the wildcard effect.

You may also watch this video on our YouTube channel.

Other creative ways to lookup

Here at Chandoo.org, I am always on the lookup for crazy, fun & creative lookup problems. Check out these examples to one up your lookup quotient.

What is your wildest lookup challenge?

Ever had a wild time with lookups? Late nights with naughty data, nasty lookups and ninth cup of coffee? Please share your crazy lookup experiences, tips and stories in the comments section.

Get FREE Excel + Power BI Tips

Simple, fun and useful emails, once per week.

Learn & be awesome.

Welcome to Chandoo.org

Thank you so much for visiting. My aim is to make you awesome in Excel & Power BI. I do this by sharing videos, tips, examples and downloads on this website. There are more than 1,000 pages with all things Excel, Power BI, Dashboards & VBA here. Go ahead and spend few minutes to be AWESOME.

Read my storyFREE Excel tips book

Overall I learned a lot and I thought you did a great job of explaining how to do things. This will definitely elevate my reporting in the future.
Rebekah S
Reporting Analyst

From simple to complex, there is a formula for every occasion. Check out the list now.

Calendars, invoices, trackers and much more. All free, fun and fantastic.

Power Query, Data model, DAX, Filters, Slicers, Conditional formats and beautiful charts. It's all here.

Still on fence about Power BI? In this getting started guide, learn what is Power BI, how to get it and how to create your first report from scratch.

Automatically Format Numbers in Thousands, Millions, Billions in Excel [2 Techniques]

Ever wanted to automatically format values in thousands, millions or billions in Excel? In this article, let me show you two powerful techniques to do just that.

Related Tips

Charts and Graphs

Excel Howtos

Learn Excel

Excel Howtos

Learn Excel

Learn Excel

2 Responses to “Not so wild lookups ”

1. MF says:

How to lookup only partially-matched value?? – Crazy lookup!!! | wmfexcel
http://wmfexcel.com/2014/01/23/how-to-lookup-only-partially-matched-value-crazy-lookup/

This is so far the wildest lookup i have encountered in workplace...
Cheers,

2. Michael (Micky) Avidan says:

I have a quick short comment/suggestion.
The VLOOKUP formula =VLOOKUP(C29,\$G\$20:\$H\$31,2,FALSE) (in cell B29) should return "Nothing" because cell H31 is Empty but, instead, it returns 0.
So, in order for it to return "Nothing" - I would add a short Suffix, such as: &"".
=VLOOKUP(C29,\$G\$20:\$H\$31,2,FALSE)&""
This way I cover all 3 possibilities:
Cell H31 has value, has 0, is empty.
--------------------------
Michael (Micky) Avidan
“Microsoft® Answers" - Wiki author & Forums Moderator
“Microsoft®” MVP – Excel (2009-2016)
ISRAEL

Get FREE Excel & Power-BI Newsletter

One email per week with Excel and Power BI goodness. Join 100,000+ others and get it free.