How to create double vlookup in Excel?

adan96

New Member
Joined
Jul 30, 2018
Messages
7
2f9592ebe0b99.jpg.html

I'm gonna search for Country Code for the criteria below:
2f9592ebe0b99.jpg.html
https://zapodaj.net/2f9592ebe0b99.jpg.html

I do not know how to use neither double vlookup nor index-match.
Can You please create both formulas and explain shortly how it works? Thx in advance. ;)
 
Hi again,
The array formulae I provided you with will work for sure. However if you do not fancy usung array formulae you can make a kind of workaround where standard VLookup or index match functions will work too. What you need to do is to as two columns:
1. Add column c and place there the following forlmulae =A2&B2
Fill in the formulae down the range
2. Add a column between customer and country code (F and G) and place there a formulae concatenating values in column F and G =F2&G2

Once you did it use either vlookuo or match function based on values in added columns
 
Upvote 0

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Put this "regular" formula in H2 then copy down

Change 19 for the last row number with data

=INDEX($C$2:$C$19,SUMPRODUCT(MAX(($A$2:$A$19=F2)*($B$2:$B$19=G2)*ROW($C$2:$C$19))-1))
 
Upvote 0

Forum statistics

Threads
1,214,615
Messages
6,120,538
Members
448,970
Latest member
kennimack

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