Multiple criteria VLOOKUP

J

Jason

Hi,

I have a seven column dataset (A1:G2000) and I want to lookup a value
based on 3 criteria: one for each of the 1st three columns, so where the
value in column A = X, column B = Y, column C = Z,
with XYZ being three criteria defined by three other cells.

Can anyone point me in the right direction. I'm wanting to figure out
how to do it without creating a helper column where columns A,B and C
are concatenated, and using the concatenating field as a lookup key.

Any help greatly appreciated,

Thanks....Jason
 
M

muddan madhu

Array formula

=INDEX(D1:D10,MATCH("x"&"y"&"z",A1:A10&B1:B10&C1:C10,0),0) ( use ctrl
+ shift + enter )

or

=SUMPRODUCT((A1:A10="x")*(B1:B10="y")*(C1:C10="z")*(D1:D10))
 
J

Jason

Thanks for the suggestions. I figured it out in the end, using a
similar approach to your SUMPRODUCT i.e.

=INDIRECT("D"&SUMPRODUCT(--(A1:A2000="X"),--(B1:B2000="Y"),--(C1:C2000="Z"),
ROW(D1:D2000))

Thanks again, the INDEX/MATCH approach is a useful approach,

Regards,

Jason
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top