Need to generate output into two columns using Vlookup or Index with Match formulas

jonathan92591

Board Regular
Joined
Oct 27, 2011
Messages
65
--
Excel version:Excel 2016
Computer operating system:Windows 7
Sample data:Sheet4

*ABCD
1NameFoodLookUpTableServings
2BobHamburgerBobHamburger2
3MarySaladMarySalad3
4JoeHotdogsBobHamburger4
5MikeCakeJoeHotdogs3
6JohnWaterMikeCake2
7**MarySalad6

<colgroup><col style="font-weight:bold; width:30px; "><col style="width:64px;"><col style="width:76px;"><col style="width:101px;"><col style="width:59px;"></colgroup><tbody>
</tbody>


Excel tables to the web >> Excel Jeanie HTML 4
Formulas/functions being used:I have tried versions of Vlookup and Index with Match.
Desired Output:Sheet4

*FG
1Output 1Output 2
2BobHamburger2
3BobHamburger4
4MarySalad3
5MarySalad6
6JoeHotdogs3
7MikeCake2
8JohnWater0

<colgroup><col style="font-weight:bold; width:30px; "><col style="width:101px;"><col style="width:64px;"></colgroup><tbody>
</tbody>


Excel tables to the web >> Excel Jeanie HTML 4
My goal:1: Search using concatenated column A and column B.
2: Search lookuptable column C.
3: Output in two columns, first column has concatenated columb A and column B, second column has column D data.
4: For examples where concatenated column A and columb B are not found, return a zero.
Error message:N/A
How error occurred:N/A
Generated in:Excel
Thank you, JT

<tbody>
</tbody>
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Hi all - My goal is to concatenate columns A and B. This gives me the lookup ID. Then using the combined lookup ID search the table/column C. Every time there is a match, it is listed along with column D data. For IDs that cannot be found in the table/column C, then return the ID name and a zero.
 
Upvote 0

Forum statistics

Threads
1,216,185
Messages
6,129,388
Members
449,506
Latest member
nomvula

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