Hey guys,
I was curious, is it possible to concatenate the table array. For example the lookup value would be concatenated as well. Recently someone posted a thread and I mentioned to use SUM or SUMPRODUCT since they want to return numbers. It got me thinking, would it be possible to do a VLOOKUP instead. I understand SUMPRODUCT can do that.
This would look something like:
=VLOOKUP(A11&B11,A2:A6&B2:B6,2,FALSE)
Evaluating the lookup value shows "123Europe"
Evaluating the table array shows {"123US";"456Asia";"123Europe";"333Europe";"456US"}
Thanks in advance
Excel 2010
<tbody>
[TD="align: center"]1[/TD]
[TD="align: right"][/TD]
[TD="align: center"]2[/TD]
[TD="align: right"]123[/TD]
[TD="align: right"]555[/TD]
[TD="align: center"]3[/TD]
[TD="align: right"]456[/TD]
[TD="align: right"]987[/TD]
[TD="align: center"]4[/TD]
[TD="align: right"]123[/TD]
[TD="align: right"]556[/TD]
[TD="align: center"]5[/TD]
[TD="align: right"]333[/TD]
[TD="align: right"]789[/TD]
[TD="align: center"]6[/TD]
[TD="align: right"]456[/TD]
[TD="align: right"]988[/TD]
[TD="align: center"]7[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]8[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]9[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]10[/TD]
[TD="align: right"][/TD]
[TD="align: center"]11[/TD]
[TD="align: right"]123[/TD]
[TD="align: right"]556[/TD]
[TD="align: center"]12[/TD]
[TD="align: right"]333[/TD]
[TD="align: right"]789[/TD]
</tbody>
I was curious, is it possible to concatenate the table array. For example the lookup value would be concatenated as well. Recently someone posted a thread and I mentioned to use SUM or SUMPRODUCT since they want to return numbers. It got me thinking, would it be possible to do a VLOOKUP instead. I understand SUMPRODUCT can do that.
This would look something like:
=VLOOKUP(A11&B11,A2:A6&B2:B6,2,FALSE)
Evaluating the lookup value shows "123Europe"
Evaluating the table array shows {"123US";"456Asia";"123Europe";"333Europe";"456US"}
Thanks in advance
Excel 2010
A | B | C | |
---|---|---|---|
Order | Region | ||
US | |||
Asia | |||
Europe | |||
Europe | |||
US | |||
Order | Region | ||
Europe | |||
Europe |
<tbody>
[TD="align: center"]1[/TD]
[TD="align: right"][/TD]
[TD="align: center"]2[/TD]
[TD="align: right"]123[/TD]
[TD="align: right"]555[/TD]
[TD="align: center"]3[/TD]
[TD="align: right"]456[/TD]
[TD="align: right"]987[/TD]
[TD="align: center"]4[/TD]
[TD="align: right"]123[/TD]
[TD="align: right"]556[/TD]
[TD="align: center"]5[/TD]
[TD="align: right"]333[/TD]
[TD="align: right"]789[/TD]
[TD="align: center"]6[/TD]
[TD="align: right"]456[/TD]
[TD="align: right"]988[/TD]
[TD="align: center"]7[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]8[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]9[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]10[/TD]
[TD="align: right"][/TD]
[TD="align: center"]11[/TD]
[TD="align: right"]123[/TD]
[TD="align: right"]556[/TD]
[TD="align: center"]12[/TD]
[TD="align: right"]333[/TD]
[TD="align: right"]789[/TD]
</tbody>
Sheet12
Last edited: