[TABLE="width: 236"]
<tbody>[TR]
[TD]W1-A[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]Apples[/TD]
[/TR]
[TR]
[TD]W1-A[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]Strawberries[/TD]
[/TR]
[TR]
[TD]W1-A[/TD]
[TD]1[/TD]
[TD]3[/TD]
[TD]Raspberries[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 272"]
<tbody>[TR]
[TD]W1-A[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]Apples[/TD]
[/TR]
[TR]
[TD]W1-A[/TD]
[TD]2[/TD]
[TD]1[/TD]
[TD]Pears[/TD]
[/TR]
[TR]
[TD]W1-A[/TD]
[TD]3[/TD]
[TD]1[/TD]
[TD]Bananas[/TD]
[/TR]
[TR]
[TD]W1-A[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]Strawberries[/TD]
[/TR]
[TR]
[TD]W1-A[/TD]
[TD]1[/TD]
[TD]3[/TD]
[TD]Raspberries[/TD]
[/TR]
[TR]
[TD]W1-A[/TD]
[TD]3[/TD]
[TD]2[/TD]
[TD]Kiwi[/TD]
[/TR]
[TR]
[TD]W1-A[/TD]
[TD]4[/TD]
[TD]1[/TD]
[TD]Oranges[/TD]
[/TR]
[TR]
[TD]W1-A[/TD]
[TD]5[/TD]
[TD]1[/TD]
[TD]Clementines[/TD]
[/TR]
[TR]
[TD]W1-A[/TD]
[TD]6[/TD]
[TD]1[/TD]
[TD]Satsumas[/TD]
[/TR]
</tbody>[/TABLE]
I am trying to create a formula for the first table to be placed in column 4, that can look at it's 3 values to the left in columns A, B and C and find a match in the 2nd table. In this example, Table 1, A4 would return 'Apples' as it immediately finds a match for 'W1-A', '1' & '1' in the 1st row of Table 2. The 2nd row of Table 1 returns Strawberries as it finds it's matches in Row 4 of Table 2.
I am getting odd results using an INDEX & SUMPRODUCT functions. Can anyone help?
P.S. My table may not start in row 1 of the spreadsheet
<tbody>[TR]
[TD]W1-A[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]Apples[/TD]
[/TR]
[TR]
[TD]W1-A[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]Strawberries[/TD]
[/TR]
[TR]
[TD]W1-A[/TD]
[TD]1[/TD]
[TD]3[/TD]
[TD]Raspberries[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 272"]
<tbody>[TR]
[TD]W1-A[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]Apples[/TD]
[/TR]
[TR]
[TD]W1-A[/TD]
[TD]2[/TD]
[TD]1[/TD]
[TD]Pears[/TD]
[/TR]
[TR]
[TD]W1-A[/TD]
[TD]3[/TD]
[TD]1[/TD]
[TD]Bananas[/TD]
[/TR]
[TR]
[TD]W1-A[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]Strawberries[/TD]
[/TR]
[TR]
[TD]W1-A[/TD]
[TD]1[/TD]
[TD]3[/TD]
[TD]Raspberries[/TD]
[/TR]
[TR]
[TD]W1-A[/TD]
[TD]3[/TD]
[TD]2[/TD]
[TD]Kiwi[/TD]
[/TR]
[TR]
[TD]W1-A[/TD]
[TD]4[/TD]
[TD]1[/TD]
[TD]Oranges[/TD]
[/TR]
[TR]
[TD]W1-A[/TD]
[TD]5[/TD]
[TD]1[/TD]
[TD]Clementines[/TD]
[/TR]
[TR]
[TD]W1-A[/TD]
[TD]6[/TD]
[TD]1[/TD]
[TD]Satsumas[/TD]
[/TR]
</tbody>[/TABLE]
I am trying to create a formula for the first table to be placed in column 4, that can look at it's 3 values to the left in columns A, B and C and find a match in the 2nd table. In this example, Table 1, A4 would return 'Apples' as it immediately finds a match for 'W1-A', '1' & '1' in the 1st row of Table 2. The 2nd row of Table 1 returns Strawberries as it finds it's matches in Row 4 of Table 2.
I am getting odd results using an INDEX & SUMPRODUCT functions. Can anyone help?
P.S. My table may not start in row 1 of the spreadsheet
Last edited: