Lookup multiple criteria problem

Stacy Rueda

Board Regular
Joined
Jun 23, 2016
Messages
87
Hi guys,

i need help on what formula should I use on below data. I have two files that consists of hundred of rows, wherein I want to lookup the price from file 1 to file 2 that will meet the same destination.

Example: For Part number AQ-123 (it has many destinations from file 1), but in file 2 i want to lookup the price only the required destination. Hope someone can help me, or if there is the same thread, kindly reply with the link. Appreciate your response. Thank you in advance.

File 1
Part No.DestinationPrice
AQ-123CN $ 13.00
AQ-909HK $ 76.00
AQ-987US $ 23.00
AQ-671US $ 34.00
AQ-234CN $ 131.00
AQ-298HK $ 421.00
AQ-123US $ 872.00
AQ-123HK $ 909.00
AQ-123 JP $ 16.00
File 2
Part No.DestinationPrice
AQ-298HK
AQ-234CN
AQ-123CN
AQ-123US
AQ-909HK
AQ-987US
AQ-671US

<colgroup><col><col><col></colgroup><tbody>
</tbody>
 
Hi @jtakw, your formula really works. #N/A displays if no result found. I want to hide it using IFERROR, sorry I'm not good in excel formula.

With IFERROR to show "" Blank:


Book1
ABC
10AQ-123US$872.00
11AQ-123HK$909.00
12AQ-123US$872.00
13AQ-123US$872.00
14
15
16
17
18Part No.DestinationPrice
19AQ-298HK$421.00
20AQ-234CN$131.00
21AQ-123CN$13.00
22AQ-123US$872.00
23AQ-909HK$76.00
24AQ-987US$23.00
25AQ-671US$34.00
26AB-123US
Sheet586
Cell Formulas
RangeFormula
C19{=IFERROR(INDEX(C$4:C$13,MATCH(A19&"|"&B19,A$4:A$13&"|"&B$4:B$13,0)),"")}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
You're very welcome, thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,919
Messages
6,122,259
Members
449,075
Latest member
staticfluids

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