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!
[TABLE="class: grid, width: 300"]
<tbody>[TR]
[TD][/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]My Company
[/TD]
[TD]Comp 1
[/TD]
[TD]Comp 2
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]AA
[/TD]
[TD]BB
[/TD]
[TD]CC
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]AAA
[/TD]
[TD]BBB
[/TD]
[TD]CCC
[/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD]AAAA
[/TD]
[TD]BBBB
[/TD]
[TD]CCCC
[/TD]
[/TR]
[TR]
[TD]6
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8
[/TD]
[TD]Type Competitor Product Below
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]9
[/TD]
[TD]CC
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]11
[/TD]
[TD]My Company - Result Below
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]12
[/TD]
[TD]AA
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
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
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,223,264
Messages
6,171,081
Members
452,377
Latest member
bradfordsam

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