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
 

Some videos you may like

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

Peter_SSs

MrExcel MVP, Moderator
Joined
May 28, 2005
Messages
48,400
Office Version
  1. 365
Platform
  1. Windows
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
 

Watch MrExcel Video

Forum statistics

Threads
1,127,865
Messages
5,627,341
Members
416,242
Latest member
Kas O

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
Top