Doing lookup with Multiple Criteria

DaKen

Board Regular
Joined
Feb 18, 2002
Messages
55
I need to pull info from 2 different sheets within a workbook where info in 2 columns match. Any help?
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Sample data:
Sheet 1
Column 1 colmn 2
004 Red
004 Blue
006 Red
004 Green
006 Blue

Sheet 2
Column 1 Coumn 2 Coulmn 3
006 Blue 25
004 Blue 50
004 Red 20
006 Green 10

I want to pull what's on Sheet 2 in column 3 if Sheet 1,Col 1 and 2 match Sheet 2, Col 1 and 2.

Hope this clarifies.
 
Upvote 0
How about this ?

{=INDEX(Sheet2!C1:C4,MATCH(A1&B1,Sheet2!A1:A4&Sheet2!B1:B4,0))}

This is an array formula, it must be entered with Control Shift Enter, not just Enter for it to work.
 
Upvote 0

Forum statistics

Threads
1,214,523
Messages
6,120,034
Members
448,940
Latest member
mdusw

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