Find Match in Column A or D, Return C or F

tbone812

New Member
Joined
Feb 26, 2004
Messages
22
Please help with a Match issue. I have two ranges I need to search for a match then pull data associated with the matched location.

Here's a simple example of column setup:

A- Name
B- City
C- Score
D- Name
E- City
F- Score

I need to look down column A and D to find Name and pull Score. Then copy formula down many rows.

This is a sample, the real worksheet is very elaborate and the reason I can't run everything down A,B,and C.

Thank You!
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
This should work.. Adjust the ranges as per your suitability.

Assuming that the name you want to lookup is in A10 as shown in your sample..

=IFERROR(VLOOKUP(A10,A2:C7,3,0),VLOOKUP(A10,D2:F7,3,0))
 
Upvote 0
In E2 control+shift+enter, not just enter, and copy down:

=IFERROR(INDEX($F$2:$F$1000,MATCH($A2,IF($E$2:E$1000=$B2,$D$2:$D$1000),0)),"not available")
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,849
Members
452,361
Latest member
d3ad3y3

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