How To Use INDEX and MATCH with More Than One Lookup Criteria

Aimee S.

Board Regular
Joined
Sep 28, 2010
Messages
236
Office Version
  1. 365
Platform
  1. Windows
Hello Gurus.

=INDEX(PartsListData!$K$1:$T$500,MATCH("CAA Engineering",PartsListData!$K$1:$K$500,0),10) using CTRL SHIFT ENTER works with one criteria


How would I go about doing the same with the ability to check column K, and if "CAA Engineering" or "Technology Engineering" (key word being "or" since both will never exist at once, only one or the other will ever appear), return the integer value in column T which is 10 columns to the right?

I tried a method that separates the two conditions with an asterisk in the MATCH section but that produces a #VALUE error.

Help is always greatly appreciated.
Best,
Aimee
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Will there only ever be one match?
 
Upvote 0
100% Correct and I verified with the data customer just that point. Only one or the other, never both will appear, by nature of the CAA and Technology Engineering Processes being inherently distinct / unable to overlap.
 
Upvote 0
In that case I would use:

=LOOKUP(2,1/(("CAA Engineering"=PartsListData!$K$1:$K$500)+("Technology Engineering"=PartsListData!$K$1:$K$500)),PartsListData!$T$1:$T$500)
 
Upvote 0
That worked! Sorry for the delay - I was out of the office and my account is connected to my work email :) Thanks so much, Rory. This one sure caused a lot of head scratching!
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,324
Members
452,635
Latest member
laura12345

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