L
Legacy 143009
Guest
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]PRODUCT NAME[/TD]
[TD]TYPE[/TD]
[TD]BRAND[/TD]
[/TR]
[TR]
[TD]PRODUCT1[/TD]
[TD]A[/TD]
[TD]Z[/TD]
[/TR]
[TR]
[TD]PRODUCT2[/TD]
[TD]A[/TD]
[TD]Z[/TD]
[/TR]
[TR]
[TD]PRODUCT3[/TD]
[TD]B[/TD]
[TD]Z[/TD]
[/TR]
[TR]
[TD]PRODUCT4[/TD]
[TD]B[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]PRODUCT5[/TD]
[TD]B[/TD]
[TD]X[/TD]
[/TR]
</tbody>[/TABLE]
I have the table above. I want to match a product array wtih two conditions. And return the values in an order:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]A[/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]B[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]X[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]PRODUCT4[/TD]
[TD]PRODUCT5[/TD]
[/TR]
[TR]
[TD]Z[/TD]
[TD]PRODUCT1[/TD]
[TD]PRODUCT2[/TD]
[TD][/TD]
[TD]PRODUCT3[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I've tried {=INDEX(Table1!A:A,MATCH(B1&A2;Table1!B:B&Table1!C:C,0))}
But it returns the first match value. When I copy to right it doesnt update product names.
For example nth value can be determined by column number.
Thanks
<tbody>[TR]
[TD]PRODUCT NAME[/TD]
[TD]TYPE[/TD]
[TD]BRAND[/TD]
[/TR]
[TR]
[TD]PRODUCT1[/TD]
[TD]A[/TD]
[TD]Z[/TD]
[/TR]
[TR]
[TD]PRODUCT2[/TD]
[TD]A[/TD]
[TD]Z[/TD]
[/TR]
[TR]
[TD]PRODUCT3[/TD]
[TD]B[/TD]
[TD]Z[/TD]
[/TR]
[TR]
[TD]PRODUCT4[/TD]
[TD]B[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]PRODUCT5[/TD]
[TD]B[/TD]
[TD]X[/TD]
[/TR]
</tbody>[/TABLE]
I have the table above. I want to match a product array wtih two conditions. And return the values in an order:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]A[/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]B[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]X[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]PRODUCT4[/TD]
[TD]PRODUCT5[/TD]
[/TR]
[TR]
[TD]Z[/TD]
[TD]PRODUCT1[/TD]
[TD]PRODUCT2[/TD]
[TD][/TD]
[TD]PRODUCT3[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I've tried {=INDEX(Table1!A:A,MATCH(B1&A2;Table1!B:B&Table1!C:C,0))}
But it returns the first match value. When I copy to right it doesnt update product names.
For example nth value can be determined by column number.
Thanks
Last edited by a moderator: