VLOOKUP+MATCH w/ Multiple Criteria

mazlovski

New Member
Joined
May 14, 2012
Messages
5
Is it somehow possible to use multpiple criteria for VLOOKUP+MATCH function combo? I'm trying to look up values by market. Because of the way the source file is set up I need to use two different criteria to bring in the correct value. I thought I could use AND(MATCH, MATCH) but that didn't work. Any suggestions?

ABCD
1TotalTotalTotal
2USCanadaMexico
3Sales Price

<tbody>
</tbody>

Thanks in advance.
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
=VLOOKUP("Sales Price",A:D,MATCH("Canada",INDEX(A:D,2,0),0),0)

Does this help? Note that the values US, Canda, etc. are assumed to be in row 2.
 
Upvote 0
I don't think it will; I should have been more specific with the table. The source file looks more like this table below:

A
B
CDE
1TotalProduct 1Product 2Total
2
USCanadaCanadaCanada
3
Sales Price

<tbody>
</tbody>

It has values that build up Total US, Total Canada, etc. That's why I need two criteria to bring in the right value.
 
Upvote 0
X2 = Product 2

Y2 = Canada

In Z2 control+shift+enter, not just enter:

=INDEX($B$3:$E$100,MATCH("Sales Price",$A$3:$A$100,0),MATCH(1,IF($B$1:$E$1=X2,IF($B$2:$E$2=Y2,1)),0))
 
Upvote 0

Forum statistics

Threads
1,215,429
Messages
6,124,841
Members
449,193
Latest member
MikeVol

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
Back
Top