Hello Champions,
I have a query, where I need to search a value from table with multiple condition. Using the Vlookup, I can get only look/search only one value, however, I need to search with two conditions.
Here is Example:
Database:
[TABLE="class: outer_border, width: 500"]
<tbody>[TR]
[TD]Col A
[/TD]
[TD]Col B
[/TD]
[TD]Result
[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]1[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]2[/TD]
[TD]Y[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]3[/TD]
[TD]Z[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]4[/TD]
[TD]Q[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]4[/TD]
[TD]P[/TD]
[/TR]
</tbody>[/TABLE]
Calculation:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Ref 1
[/TD]
[TD]Ref 2
[/TD]
[TD]Result
[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]4[/TD]
[TD]P
[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]2[/TD]
[TD]Y
[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]4[/TD]
[TD]Q[/TD]
[/TR]
</tbody>[/TABLE]
I need to get the results as marked in red. Where I need to search Ref 1 and Ref 2 with database table and get the corresponding result to calculation table, result column. Both Ref 1 and Ref 2 conditions should be true. Please help me to get this values
I have a query, where I need to search a value from table with multiple condition. Using the Vlookup, I can get only look/search only one value, however, I need to search with two conditions.
Here is Example:
Database:
[TABLE="class: outer_border, width: 500"]
<tbody>[TR]
[TD]Col A
[/TD]
[TD]Col B
[/TD]
[TD]Result
[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]1[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]2[/TD]
[TD]Y[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]3[/TD]
[TD]Z[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]4[/TD]
[TD]Q[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]4[/TD]
[TD]P[/TD]
[/TR]
</tbody>[/TABLE]
Calculation:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Ref 1
[/TD]
[TD]Ref 2
[/TD]
[TD]Result
[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]4[/TD]
[TD]P
[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]2[/TD]
[TD]Y
[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]4[/TD]
[TD]Q[/TD]
[/TR]
</tbody>[/TABLE]
I need to get the results as marked in red. Where I need to search Ref 1 and Ref 2 with database table and get the corresponding result to calculation table, result column. Both Ref 1 and Ref 2 conditions should be true. Please help me to get this values