vlookup excel

Forum home » Delegate support and help forum » Microsoft Office general help » Vlookup in Excel

Vlookup in Excel

resolvedResolved · Low Priority · Version 2007

Ginger has attended:
Upgrade to Office 2007 course

Vlookup in Excel

Is there a way to vlookup for phrases that contain the target word, rather than just the exact word match; the "true" option is too general for this; I run into this problem often for example with country or company lists that are written with slightly different names in the two sheets.

RE: vlookup in Excel

Hi Ginger, thanks for your query. Concatenate wildcards onto either side of the lookup value:

=VLOOKUP("*"&B19&"*", A1:C15, 3, FALSE)

That should find the lookup value even if it is in the middle of another string.

Hope this helps,

Anthony

RE: vlookup in Excel

Thanks! Btw, is there a keyboard shortcut for these wildcards, as there is with the dollar signs?

Also, is there any way to pick up matches that are acronyms which don't actually contain the full word?

RE: vlookup in Excel

Hi Ginger. The wildcards don't have an associated shortcut, unlike the dollar signs in formulas, you have to type the relevant wildcard into the formula as written. As for acronyms, you could potentially look for parts of the lookup value in the table array but that would involve an additional step to chop up the lookup value according to your specific criteria. Also, since it is an acronym, you would potentially be looking for just one letter which would be a minefield in a text field!

Hope this helps,

Anthony

 

Training courses

 

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Microsoft Office tip:

Short cut tips

Instead of just seeing the default setting of screentip names, when you place the mouse pointer over the toolbar, you can also see the keyboard short cut for accessing the button as well.

To this click on Tools, Customise, options tab.

Under Other you will see the option of Show shortkeys in screentip

View all Microsoft Office hints and tips


Server loaded in 0.05 secs.