Vlookup Help

Shantaram_c

New Member
Joined
Nov 6, 2003
Messages
20
Vlookup with Two Condtion

Name Palce qty
AAA ZZZZ 13
AAA yyyy 14
BBB yyyy 14
CCCC yyyy 13

Can i get qty for Name = AAA and Place = YYYY with Vlookup

shantarm
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.

fairwinds

MrExcel MVP
Joined
May 15, 2003
Messages
8,638
Hi,

You could do like this:

=INDEX(C1:C4,MATCH(F1&G1,A1:A4&B1:B4,0))

F1 is AAA and G1 is YYYY
 

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,210
Yes, by doing a multi-key lookup where you use concatenation wrt the source data...
Book7
ABCDEFGH
1ConcatNamePalceQty
2AAAZZZZAAAZZZZ13AAAYYYY14
3AAAyyyyAAAyyyy14
4BBByyyyBBByyyy14
5CCCCyyyyCCCCyyyy13
Sheet1


Formulas...

A2:

=B2&CHAR(127)&C2

H2:

=VLOOKUP(F2&CHAR(127)&G2,$A$2:$D$5,4,0)
 

Forum statistics

Threads
1,172,141
Messages
5,879,277
Members
433,417
Latest member
Razor_Rob

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top