Help with Index match

jono2494

New Member
Joined
Oct 1, 2013
Messages
7
Hello, I am trying to work index match with multiple criteria for the 1st time.

I am essentially looking up 3 bits of information, one is a product code say 1234 in cell G1, then look for that same code in the stds page A2:A1400. codes are all in column a.
I then match the month G1 and look across the columns a2:be2
finally I am looking for the country in F29 and then looking into the standards page column 1 rows 2:1400.

It is difficult to explain in words and not sure how add a worksheet in here, so hopefully this makes sense. I have put the formula below. At the moment it is returning wrong formula so it I must have something wrong.


=IF(ISERROR(INDEX(Stds!$A$2:$BE$1400,MATCH($E29,Stds!$A$2:$A$1400,0),MATCH(G$1,Stds!$A$2:$BE$2,0),MATCH($F29,Stds!$I$2:$I$1400,0))),"wrong formula",INDEX(Stds!$A$2:$BE$1400,MATCH($E29,Stds!$A$2:$A$1400,0),MATCH(G$1,Stds!$A$2:$BE$2,0),MATCH($F29,Stds!$I$2:$I$1400,0)))
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

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