VLOOKUP HELP

%3CLINGO-SUB%20id%3D%22lingo-sub-2700307%22%20slang%3D%22en-US%22%3EVLOOKUP%20HELP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2700307%22%20slang%3D%22en-US%22%3E%3CP%3EHello%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20preform%20a%20VLOOKUP%20looking%20at%202%20different%20values%20between%20sheets%20before%20giving%20me%20the%20%22true%22%20value%20and%20I%20can't%20figure%20it%20out.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EExample%26nbsp%3B%3C%2FP%3E%3CP%3ESheet%201%3C%2FP%3E%3CP%3EITEM%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20LOT%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20QTY%3C%2FP%3E%3CP%3EAPPLES%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B1%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B4%3C%2FP%3E%3CP%3EAPPLES%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%202%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B6%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESheet%202%26nbsp%3B%3C%2FP%3E%3CP%3EITEM%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BLOT%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20QTY%3C%2FP%3E%3CP%3EAPPLE%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B1%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%23%23%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E**I%20am%20trying%20to%20make%20it%20look%20at%20Sheet%201%20and%20determine%20which%20Item%20and%20then%20look%20at%20lot%20%23%20to%20give%20me%20the%20QTY%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20anyone%20please%20help%20with%20this%3F%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you!%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2700307%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-2700341%22%20slang%3D%22en-US%22%3ERe%3A%20VLOOKUP%20HELP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2700341%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1141746%22%20target%3D%22_blank%22%3E%40AMORGAN723%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EVLOOKUP%20cannot%20look%20up%20in%20two%20columns.%3C%2FP%3E%0A%3CP%3EAlternatives%3A%3C%2FP%3E%0A%3CP%3E%3DSUMIFS('Sheet%201'!%24C%242%3A%24C%241000%2C%20'Sheet%201'!%24A%242%3A%24A%241000%2C%20A2%2C%20'Sheet%201'!%24B%242%3A%24B%241000%2C%20B2)%3C%2FP%3E%0A%3CP%3Eor%3C%2FP%3E%0A%3CP%3E%3DINDEX('Sheet%201'!%24C%242%3A%24C%241000%2C%20MATCH(1%2C%20INDEX(('Sheet%201'!%24A%242%3A%24A%241000%3DA2)*('Sheet%201'!%24B%242%3A%24B%241000%3DB2)%2C)%2C%200))%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

Hello

 

I am trying to preform a VLOOKUP looking at 2 different values between sheets before giving me the "true" value and I can't figure it out.

 

Example 

Sheet 1

ITEM                LOT                    QTY

APPLES               1                         4

APPLES                2                       6

 

Sheet 2 

ITEM               LOT                      QTY

APPLE                 1                         ##

 

**I am trying to make it look at Sheet 1 and determine which Item and then look at lot # to give me the QTY

 

Can anyone please help with this??

 

Thank you!                

 

1 Reply

@AMORGAN723 

VLOOKUP cannot look up in two columns.

Alternatives:

=SUMIFS('Sheet 1'!$C$2:$C$1000, 'Sheet 1'!$A$2:$A$1000, A2, 'Sheet 1'!$B$2:$B$1000, B2)

or

=INDEX('Sheet 1'!$C$2:$C$1000, MATCH(1, INDEX(('Sheet 1'!$A$2:$A$1000=A2)*('Sheet 1'!$B$2:$B$1000=B2),), 0))