Index Match - Multiple Columns

bloodybrit90

Board Regular
Joined
Jul 18, 2011
Messages
111
I am having trouble with the =index(match function when I have multiple columns. What I am trying do is determine what product my company offers (Column A) based on a know competitor product (Column B and Column C). Below is an example of what I am attempting to do. When I use the formula below I receive #N/A

{=INDEX(A2:A5,MATCH(A9,B2:C5,0))}

Any help would be great!
A
B
C
1
My Company
Comp 1
Comp 2
2
A
B
3
AA
BB
CC
4
AAA
BBB
CCC
5
AAAA
BBBB
CCCC
6
7
8
Type Competitor Product Below
9
CC
10
11
My Company - Result Below
12
AA

<tbody>
</tbody>
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Try:
This is an array formula and must be entered with CTRL-SHIFT-ENTER.
Excel Workbook
ABC
1My CompanyComp 1Comp 2
2AB
3AABBCC
4AAABBBCCC
5AAAABBBBCCCC
6
7
8Type Competitor Product Below
9CC
10
11My Company - Result Below
12AA
Sheet
 
Upvote 0
Hi,

Try this

=IFERROR(INDEX(K31:K35,IFERROR(MATCH(K39,L31:L35,0),MATCH(K39,M31:M35,0))),"")
 
Upvote 0
Maybe something like this:
Array formula that needs to be entered with CTRL-SHIFT-ENTER.

Copy formula in A12 of the example below across as needed.
Excel Workbook
ABC
1My CompanyComp 1Comp 2
2AB
3AABBCC
4AAABBBCCC
5AAAABBBBCCCC
6AASDB1CC
7
8Type Competitor Product Below
9CC
10
11My Company - Result Below
12AAAASD
Sheet
 
Upvote 0
AhoyNC that worked perfectly. Thank you all for the help!!

I will have to spend some time reviewing the Search, row, column function to better familiarize myself.

Thanks again
 
Upvote 0

Forum statistics

Threads
1,215,022
Messages
6,122,726
Members
449,093
Latest member
Mnur

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