Multi Criteria "Not Equal to" Range - Index Match formula

Dendrinos2

New Member
Joined
Nov 2, 2011
Messages
30
I am trying to come up with a Multi Criteria Index Match formula with a "not equal to function" (<>) where the the "<>" is in reference to a range of data not just a single cell. Im stuck on creating the reference to a range of values not just a single value. My thinking is I might need to use a double unary but I cant figure it out.

The table below is an example for formula with my data in cells A1:B6 - I want to replace the "<>"Grapes"" with a reference to a range - for example my range might reference the 2 cells below the formula (Grapes, Oranges)

The answer would then be "Peaches" - also I dont want to use an array constant as my "<>" reference range will be changing.

Any help would be greatly appreciated


Foods# of Items
Apples2
Bananas3
Grapes4
Oranges4
Peaches4
^=INDEX($A$2:$A$6,MATCH(1,INDEX(($B$2:$B$6=4)*($A$2:$A$6<>"Grapes"),0),0))
Grapes
Oranges

<tbody>
</tbody>
 
Last edited:

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Try:

Code:
=INDEX($A$2:$A$6,MATCH(1,INDEX(($B$2:$B$6=4)*(ISERROR(MATCH($A$2:$A$6,$A$9:$A$10,0))),0),0))
 
Upvote 0

Forum statistics

Threads
1,214,414
Messages
6,119,373
Members
448,888
Latest member
Arle8907

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