SOLVED
Home

Lookup formula using part of string

%3CLINGO-SUB%20id%3D%22lingo-sub-287190%22%20slang%3D%22en-US%22%3ELookup%20formula%20using%20part%20of%20string%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-287190%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%2C%3C%2FP%3E%3CP%3EApologies%20if%20my%20question%20has%20been%20asked%20before.%20I%20have%20tried%20searching%20and%20found%20similar%20queries%20but%20none%20exactly%20matching%20what%20I%20need%20to%20do%20and%20I%20don't%20have%20the%20knowledge%20to%20make%20the%20necessary%20tweak%20to%20apply%20it%20to%20my%20particular%20situation.%3C%2FP%3E%3CP%3EAny%20help%20greatly%20appreciated%20!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20a%20list%20of%20names%20separated%20by%20commas.%20E.g.%20Parker%2C%20Peter%3C%2FP%3E%3CP%3EI%20have%20separated%20this%20via%20text%20to%20columns.%3CBR%20%2F%3EI%20need%20to%20look%20up%20the%20name%20'Parker'%20to%20a%20column%2C%20Column%20B%2C%20of%20names%20from%20a%20different%20source.%3CBR%20%2F%3E%3CBR%20%2F%3EFor%20example%3B%20I%20believe%20Parker%2C%20Peter%20to%20be%20in%20Column%20B%2C%20however%20I%20think%20he%20is%20there%20as%20Parker%2C%20John%20Peter.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EI%20know%20how%20to%20do%20a%20lookup%20using%20ISNUMBER%20(SEARCH%20but%20what%20I%20don't%20know%20how%20to%20do%20is%20turn%20this%20into%20a%20vlookup%20so%20that%20I%20can%20return%20'Parker%2C%20John%20Peter'.%3CBR%20%2F%3E%3CBR%20%2F%3ESo%20to%20confirm%3B%20I%20need%20Parker%20in%20Column%20A%2C%20to%20lookup%20and%20return%20'Parker%2C%20John%20Peter'%20in%20Column%20B.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3CBR%20%2F%3EAlex%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-287190%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-287249%22%20slang%3D%22en-US%22%3ERe%3A%20Lookup%20formula%20using%20part%20of%20string%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-287249%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20Jan%2C%20very%20useful%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-287241%22%20slang%3D%22en-US%22%3ERe%3A%20Lookup%20formula%20using%20part%20of%20string%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-287241%22%20slang%3D%22en-US%22%3Eyou%20can%20use%20wildcards%20in%20VLOOKUP%20like%20so%3A%3CBR%20%2F%3E%3DVLOOKUP(A2%26amp%3B%22*%22%2CB2%3AB100%2C2%2CFALSE)%3C%2FLINGO-BODY%3E
Alex Gilbey
New Contributor

Hi All,

Apologies if my question has been asked before. I have tried searching and found similar queries but none exactly matching what I need to do and I don't have the knowledge to make the necessary tweak to apply it to my particular situation.

Any help greatly appreciated !

 

I have a list of names separated by commas. E.g. Parker, Peter

I have separated this via text to columns.
I need to look up the name 'Parker' to a column, Column B, of names from a different source.

For example; I believe Parker, Peter to be in Column B, however I think he is there as Parker, John Peter.


I know how to do a lookup using ISNUMBER (SEARCH but what I don't know how to do is turn this into a vlookup so that I can return 'Parker, John Peter'.

So to confirm; I need Parker in Column A, to lookup and return 'Parker, John Peter' in Column B.

 

Thanks,
Alex

2 Replies
Solution
you can use wildcards in VLOOKUP like so:
=VLOOKUP(A2&"*",B2:B100,2,FALSE)

Thanks Jan, very useful

Related Conversations
flashing a white screen while open new tab
cntvertex in Discussions on
13 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
22 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies
PacketMon Components are not loading in WAC 1909
HotCakeX in Windows Admin Center on
2 Replies