Lookup based on 2 values

djdiplomat

New Member
Joined
Sep 7, 2009
Messages
31
Hi

I'm looknig for a way to perform a dual lookup.

e.g.


Range would be:

Column A contains an account name, column B contains a product code, column C contain a value.


Lookup Formula would need to look account name, then product code and return the corresponding value.

Can anyone push me in the right direction please?

Thanks

Will
 

Some videos you may like

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

baodinh

New Member
Joined
Feb 27, 2011
Messages
36
Will, Insert a new column A. Concatenate account and product code in new column A eg: in cell A2, type in formula "=B2&C2" and copy down. Then you can perform you vlookup based on the combined data in column A.
 

djdiplomat

New Member
Joined
Sep 7, 2009
Messages
31
Will, Insert a new column A. Concatenate account and product code in new column A eg: in cell A2, type in formula "=B2&C2" and copy down. Then you can perform you vlookup based on the combined data in column A.

This will work - thanks.

But is there a formula that will perform dual lookup (VLOOKUP, MATCH, INDEX etc?)

Would be good if I didn't have to Concatentate as I'm working with multiple data sources.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,569
Messages
5,596,915
Members
414,110
Latest member
docops

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