vlookup

%3CLINGO-SUB%20id%3D%22lingo-sub-2833436%22%20slang%3D%22en-US%22%3Evlookup%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2833436%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ei%20have%20a%20sheet%20in%20which%20i%20have%20two%20columns%20A%20and%20B.%26nbsp%3B%3C%2FP%3E%3CP%3EColumn%20A%20has%204000%20entries%2C%20Column%20B%20has%20250%20entries.%20I%20want%20to%20compare%20Column%20B%20with%20Column%20A%20and%20want%20to%20fetch%20matching%20entries%20of%20Column%20B%20from%20Column%20A.%20Will%20the%26nbsp%3B%20below%20vlookup%20syntax%20help%20me.%20in%20other%20words%20lets%20say%20Column%20B%20has%20250%20entries%20and%20matching%20entries%20of%20Column%20B%20with%20Column%20A%20can%20be%20100.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3DFILTER(VLOOKUP(B1%3AB250%2CA%3AA%2C1%2CFALSE)%2CNOT(ISNA(VLOOKUP(B1%3AB250%2CA%3AA%2C1%2CFALSE))))%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2833436%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2833504%22%20slang%3D%22en-US%22%3ERe%3A%20vlookup%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2833504%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F139420%22%20target%3D%22_blank%22%3E%40Rising%20Flight%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EUse%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3DFILTER(B1%3AB250%2CISNUMBER(MATCH(B1%3AB250%2CA1%3AA4000%2C0)))%3C%2FP%3E%3C%2FLINGO-BODY%3E
Frequent Contributor

Hi All

 

i have a sheet in which i have two columns A and B. 

Column A has 4000 entries, Column B has 250 entries. I want to compare Column B with Column A and want to fetch matching entries of Column B from Column A. Will the  below vlookup syntax help me. in other words lets say Column B has 250 entries and matching entries of Column B with Column A can be 100.

 

=FILTER(VLOOKUP(B1:B250,A:A,1,FALSE),NOT(ISNA(VLOOKUP(B1:B250,A:A,1,FALSE))))

1 Reply

@Rising Flight 

Use

 

=FILTER(B1:B250,ISNUMBER(MATCH(B1:B250,A1:A4000,0)))