Index Match multiple criteria returns incorrect value

tygrl510

Board Regular
Joined
Feb 9, 2009
Messages
54
Hi there,

I am trying to use Index Match multiple criteria function in excel but the value being returned is incorrect. Not sure how to fix it.

this is the array formula:
={IF(OR($AE4="PRIMARY";$AE4="MGDC A");$C4;INDEX(Formulary!$B$2:$B$10630;MATCH(1;($U4=Formulary!$J$2:$J$10630)*($Y4=Formulary!$N$2:$N$10630)*("PRIMARY"=Formulary!$T$2:$T$10630));0))}

the information being matched is located all in the same row.

Col C4: 11 digit numerical value
Col AE: status of the product
Formulary Col T: Matching status (in another sheet)
Formulary Col B: 11 digit numerical value (in another sheet)
Col U: Identifier (Numerical with hyphens)
Formulary Col J: Matching Identifier (in another sheet)
Col Y: Family of the product
Formulary Col N: Matching Family (in another sheet)

Any help is greatly appreciated.

Thanks,
Rio
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

Forum statistics

Threads
1,223,893
Messages
6,175,248
Members
452,623
Latest member
cliftonhandyman

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