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


[TABLE="width: 500"]
<tbody>[TR]
[TD]Foods[/TD]
[TD]# of Items[/TD]
[/TR]
[TR]
[TD]Apples[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]Bananas[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]Grapes[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]Oranges[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]Peaches[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]^=INDEX($A$2:$A$6,MATCH(1,INDEX(($B$2:$B$6=4)*($A$2:$A$6<>"Grapes"),0),0))[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Grapes[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Oranges[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 
Last edited:

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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