How to use wildcards "*" in a formulate like vlookup
I am looking for a formula like vlookup that can use wildcards to search text within a cell.
Excel example
=VLOOKUP(D1&"*",A1:B9,2,FALSE)
See attached
Best Answer
-
I was able to figure it out. But will take suggestions if they are out there.
Answers
-
Hi @gveilleux
You can use the CONTAINS function to check within a column to see if any cell contains a partial bit of text.
However instead of a VLOOKUP I would maybe suggest a JOIN(COLLECT, in case you have more than one match.
E.g:
=JOIN(COLLECT({Column to Return}, {Column with Criteria}, CONTAINS("Text", @cell)), ",")
Resources that may be useful: JOIN Function / COLLECT Function / CONTAINS Function / Create Efficient Formulas with @cell and @row / Cross-sheet formulas
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
I was able to figure it out. But will take suggestions if they are out there.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.5K Get Help
- 426 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 146 Just for fun
- 63 Community Job Board
- 466 Show & Tell
- 32 Member Spotlight
- 2 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!