Concatenate double Vlookup in One Cell from two table

SAXON10

Board Regular
Joined
Jun 1, 2017
Messages
109
Hi,

I am trying to concatenate vlookup formula in one cell from two different table.

I am apply the following formula in formula required sheet but formula return NA.

B9=VLOOKUP(B$2,DATA!$G$4:$K$15,MATCH($A3,DATA!$H$2:$K$2,0)+1,FALSE)&VLOOKUP(B$2,DATA!$A$4:$E$15,MATCH($A3,DATA!$B$2:$E$2,0)+1,FALSE)

How to resolve the error. Please help me.

DATA SHEET:

[TABLE="width: 986"]
<colgroup><col><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]TABLE 1[/TD]
[TD]A2:E15[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]TABLE 2[/TD]
[TD]G2:K15[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]FRUIT[/TD]
[TD]BLUEBERRY[/TD]
[TD]BLACKCURRANT[/TD]
[TD]BLACKBERRY[/TD]
[TD]BILBERRY[/TD]
[TD][/TD]
[TD]FRUIT[/TD]
[TD]BLUEBERRY[/TD]
[TD]BLACKCURRANT[/TD]
[TD]BLACKBERRY[/TD]
[TD]BILBERRY[/TD]
[/TR]
[TR]
[TD]ORDER[/TD]
[TD]Q1[/TD]
[TD]Q2[/TD]
[TD]Q3[/TD]
[TD]Q4[/TD]
[TD][/TD]
[TD]ORDER[/TD]
[TD]Q1[/TD]
[TD]Q2[/TD]
[TD]Q3[/TD]
[TD]Q4[/TD]
[/TR]
[TR]
[TD]3969[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD][/TD]
[TD]4041[/TD]
[TD]QA[/TD]
[TD]OK[/TD]
[TD]QA[/TD]
[TD]OK[/TD]
[/TR]
[TR]
[TD]4022[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD][/TD]
[TD]4019[/TD]
[TD]OK[/TD]
[TD]OK[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[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD][/TD]
[TD]4000[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[/TR]
[TR]
[TD]4065[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD][/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD][/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]
FORMULA REQ SHEET:

RANGE A2:V6

[TABLE="width: 1258"]
<colgroup><col><col span="21"></colgroup><tbody>[TR]
[TD]FRUIT[/TD]
[TD]4041[/TD]
[TD]4019[/TD]
[TD]4061[/TD]
[TD]4079[/TD]
[TD]4062[/TD]
[TD]4068[/TD]
[TD]4069[/TD]
[TD]4080[/TD]
[TD]4058[/TD]
[TD]4000[/TD]
[TD]3969[/TD]
[TD]4022[/TD]
[TD]3987[/TD]
[TD]3944[/TD]
[TD]3994[/TD]
[TD]3996[/TD]
[TD]3995[/TD]
[TD]4017[/TD]
[TD]4067[/TD]
[TD]4040[/TD]
[TD]4065[/TD]
[/TR]
[TR]
[TD]BLUEBERRY[/TD]
[TD]QA[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]0[/TD]
[TD]OK[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]OK[/TD]
[TD] [/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]QA[/TD]
[TD]OK[/TD]
[/TR]
[TR]
[TD]BLACKCURRANT[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]0[/TD]
[TD]OK[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[/TR]
[TR]
[TD]BLACKBERRY[/TD]
[TD]QA[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]0[/TD]
[TD]OK[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[/TR]
[TR]
[TD]BILBERRY[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]0[/TD]
[TD]OK[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[TD]OK[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Hi,

Try This formula in Formula REQ SHEET.

=IFNA(VLOOKUP(B$1,DATA!$A$3:$E$13,MATCH($A2,DATA!$A$1:$E$1,0),0),"")&IFNA(VLOOKUP(B$1,DATA!$G$3:$K$12,MATCH($A2,DATA!$G$1:$K$1,0),0),"")
 
Upvote 0
Hi,

Try This formula in Formula REQ SHEET.

=IFNA(VLOOKUP(B$1,DATA!$A$3:$E$13,MATCH($A2,DATA!$A$1:$E$1,0),0),"")&IFNA(VLOOKUP(B$1,DATA!$G$3:$K$12,MATCH($A2,DATA!$G$1:$K$1,0),0),"")

Thank you so much for your help formula working fine. I need the same result with index match formula. Please help me.
 
Upvote 0

Forum statistics

Threads
1,225,757
Messages
6,186,848
Members
453,379
Latest member
gabriellegonzalez

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top