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,
- Use formulas that ignore wildcards, like FIND() or = operator
- Replace wildcards with some other symbol (for ex: | or @) and do the lookups
- 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.
Download the example workbook
Click here to download the example workbook for this video. Play with the data and formulas to learn more.
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.
- Case sensitive lookups
- Pricing tier lookup
- Range lookup – find out which min max range has the value you want to lookup
- Lookup the first non blank value
- 2 way lookup – lookup both row & column values
- 3D lookup the maximum value
- Ultimate lookup trick – multi-condition lookup
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.













5 Responses to “Preparing Profit / Loss Pivot Reports [Part 2 of 6]”
[...] Preparing Pivot Table P&L using Data sheet [...]
[...] Preparing Pivot Table P&L using Data sheet [...]
[...] Preparing Pivot Table P&L using Data sheet [...]
I am not getting sound from the videos. I have checked all the settings and spent several hours searching the Internet to no avail.
Has anyone else had this problem?
Is there anyway to get the Grand Total to be broken out in the same fashion as the items above it? For instance, if you have in column 1, widget a, widget b, and have their sales by month in column 2, I'd like to see the grand total also be by month, for widget a & b combined.
I can't get anything other than a single line for the grand total, rather than the same format as the data above.
Widget A Month Sales
Jan 100
Feb 200
Widget B
Jan 150
Feb 250
Grand total - here I would also like to have Jan, Feb.
Jan 250
Feb 450