[TABLE="width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD][/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]H[/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD]Smith[/TD]
[TD]Jones[/TD]
[TD][/TD]
[TD]White[/TD]
[TD]Jones[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]True[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Jones[/TD]
[TD]Smith[/TD]
[TD][/TD]
[TD]True[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Smith[/TD]
[TD]Johnson[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Group1[/TD]
[TD]Group2[/TD]
[TD]Group3[/TD]
[TD]Group4[/TD]
[/TR]
</tbody>[/TABLE]
I am trying to lookup values A1 & B1 (Smith & Jones) to find the row in range D:E where both values occur regardless of order (can be Jones/Smith or Smith/Jones).
...and... if this matching row has a value of True in Table to right (columns F:I ), return the Group name of the column which is True.
Desired result for data above: For Smith & Jones - matches row 2 of range D:E - this row has a value of True in column G and would return the result of "Group2"
I will also need to adapt the formula for three values lookup for matches in a 3 column range.
It seems like would be pretty straightforward but my brain seems to be broken today.. any help is much appreciated!
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD][/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]H[/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD]Smith[/TD]
[TD]Jones[/TD]
[TD][/TD]
[TD]White[/TD]
[TD]Jones[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]True[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Jones[/TD]
[TD]Smith[/TD]
[TD][/TD]
[TD]True[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Smith[/TD]
[TD]Johnson[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Group1[/TD]
[TD]Group2[/TD]
[TD]Group3[/TD]
[TD]Group4[/TD]
[/TR]
</tbody>[/TABLE]
I am trying to lookup values A1 & B1 (Smith & Jones) to find the row in range D:E where both values occur regardless of order (can be Jones/Smith or Smith/Jones).
...and... if this matching row has a value of True in Table to right (columns F:I ), return the Group name of the column which is True.
Desired result for data above: For Smith & Jones - matches row 2 of range D:E - this row has a value of True in column G and would return the result of "Group2"
I will also need to adapt the formula for three values lookup for matches in a 3 column range.
It seems like would be pretty straightforward but my brain seems to be broken today.. any help is much appreciated!
Last edited: