abhishekkhosla
New Member
- Joined
- Apr 14, 2018
- Messages
- 3
Hi,
I am trying to learn how to use index match function when there is multiple variables. I am getting NA error below is the screen shot can somebody explain where i am going wrong and what i need to be careful when i am using the formula. I am using ctrl+shift+enter to sun this formuls
Forumla : =INDEX(C2:C8,MATCH(1,(F2=A2:A8)*(F3=B2:B8),0))
[TABLE="width: 500"]
<tbody>[TR]
[TD]First name[/TD]
[TD]Last Name[/TD]
[TD]Salary[/TD]
[/TR]
[TR]
[TD]James[/TD]
[TD]Smith[/TD]
[TD]64710[/TD]
[/TR]
[TR]
[TD]James[/TD]
[TD]Anderson[/TD]
[TD]122234[/TD]
[/TR]
[TR]
[TD]James[/TD]
[TD]Clark[/TD]
[TD]34556[/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD]Lewis[/TD]
[TD]1223434[/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD]mark[/TD]
[TD]122323[/TD]
[/TR]
[TR]
[TD]Mark[/TD]
[TD]Reed[/TD]
[TD]1224354[/TD]
[/TR]
</tbody>[/TABLE]
I need
[TABLE="width: 500"]
<tbody>[TR]
[TD]First Name[/TD]
[TD]Last Name[/TD]
[TD]Salary[/TD]
[/TR]
[TR]
[TD]James[/TD]
[TD]Clark[/TD]
[TD]?[/TD]
[/TR]
</tbody>[/TABLE]
I am trying to learn how to use index match function when there is multiple variables. I am getting NA error below is the screen shot can somebody explain where i am going wrong and what i need to be careful when i am using the formula. I am using ctrl+shift+enter to sun this formuls
Forumla : =INDEX(C2:C8,MATCH(1,(F2=A2:A8)*(F3=B2:B8),0))
[TABLE="width: 500"]
<tbody>[TR]
[TD]First name[/TD]
[TD]Last Name[/TD]
[TD]Salary[/TD]
[/TR]
[TR]
[TD]James[/TD]
[TD]Smith[/TD]
[TD]64710[/TD]
[/TR]
[TR]
[TD]James[/TD]
[TD]Anderson[/TD]
[TD]122234[/TD]
[/TR]
[TR]
[TD]James[/TD]
[TD]Clark[/TD]
[TD]34556[/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD]Lewis[/TD]
[TD]1223434[/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD]mark[/TD]
[TD]122323[/TD]
[/TR]
[TR]
[TD]Mark[/TD]
[TD]Reed[/TD]
[TD]1224354[/TD]
[/TR]
</tbody>[/TABLE]
I need
[TABLE="width: 500"]
<tbody>[TR]
[TD]First Name[/TD]
[TD]Last Name[/TD]
[TD]Salary[/TD]
[/TR]
[TR]
[TD]James[/TD]
[TD]Clark[/TD]
[TD]?[/TD]
[/TR]
</tbody>[/TABLE]