Vlookup with mutiple lookup values

Wa_Wa

Board Regular
Joined
Jan 19, 2007
Messages
61
Is there a way to use vlookup to look up mutiple values?

An examples

Worksheet 1
A----B
Big--Cat
Big--Dog

Worksheet 2
A----B---C
Big--Cat--1
Big--Dog--2

so would vlookup(A2&B2,Worksheet2!A1:C3,3) - would return 2
ie want the value for Big+Dog not the first return of Big in table 2

hopefully this doesn't sound too stupid - oh and I am not able to use a pivot table at the moment
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Here is one way. I have done it on a single sheet, but the concept will work across two.

This is an array formula so should be entered without the {} but confirmed with Ctrl+Shift+Enter, not just Enter. If confirmed correctly, Excel will insert the {}. Formula can then be copied down.

Excel Workbook
ABCDEFG
1SmallCat4BigCat1
2BigDog2BigDog2
3SmallMouse3SmallMouse3
4BigCat1SmallCat4
Lookup Multiple
 
Upvote 0

Forum statistics

Threads
1,214,944
Messages
6,122,391
Members
449,080
Latest member
Armadillos

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