VBABEGINER
Well-known Member
- Joined
- Jun 15, 2011
- Messages
- 1,284
- Office Version
- 365
- Platform
- Windows
hi all,
I need formula, where lookup values are in two different columns, and with combination of these 2 values I want to find an answer....
I use this formula, but these is something wrong..
I need formula, where lookup values are in two different columns, and with combination of these 2 values I want to find an answer....
[TABLE="width: 453"]
<colgroup><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Column A[/TD]
[TD]Column B[/TD]
[TD]Column C[/TD]
[TD]Column D[/TD]
[TD]Column E[/TD]
[/TR]
[TR]
[TD]E[/TD]
[TD]L[/TD]
[TD]p[/TD]
[TD]q[/TD]
[TD]r[/TD]
[/TR]
[TR]
[TD]30[/TD]
[TD]L1[/TD]
[TD]10[/TD]
[TD]40[/TD]
[TD]60[/TD]
[/TR]
[TR]
[TD]31[/TD]
[TD]L2[/TD]
[TD]20[/TD]
[TD]50[/TD]
[TD]70[/TD]
[/TR]
[TR]
[TD]31[/TD]
[TD]L1[/TD]
[TD]30[/TD]
[TD]60[/TD]
[TD]80[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Value to find[/TD]
[TD][/TD]
[TD]Answer Require..[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]31[/TD]
[TD]L1[/TD]
[TD="align: right"]80[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I use this formula, but these is something wrong..
=VLOOKUP(AND(A4,B4),A2:E4,3,FALSE)