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]
{=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]