vlookup with multiple criteria

PGD15

Board Regular
Joined
Aug 5, 2016
Messages
137
Hi,

Got a question i'm trying to write a vlookup with multiple criteria.

I've writen.

=Vlookup(G1&D4,'daily breakdown'!a2:av154,30,false)

But i keep getting an error message.

what am i doing wrong?
 
Last edited:

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Your basic formula is
Code:
=VLOOKUP(val1&val2,data,col_index,0)

You got that part right.

Vlookup can only do 1 lookup criteria, so we need to concatenate the two criterion into one lookup. That means you'll have to also have the first column in the lookup data table be a concatenated string as well, containing both pieces we are looking up. Otherwise it will not match.
 
Last edited:
Upvote 0
by concatenated you mean such as

Value1 Value 2
or
Value1Value2?

edit:

I did manage to get the formula to return 1 value correctly... my way just got an error for all the other values :'( so i thought this would be possible
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,733
Messages
6,126,541
Members
449,316
Latest member
sravya

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