If names in 2 cells match names in 2 other cells return valve in another cell

syndee

New Member
Joined
Jan 14, 2017
Messages
18
Cell B2 contains Ball
Cell C2 contains Tara
need to compare to
Cell N2 contains Ball
Cell O2 contains Tara

If both names match return value in column 3 (D:D)

Tried this but only seems to compare 1 name. If two people share 1st or last nae the formula doesn't work.
=VLOOKUP(O3&N3,B:I,3,D:D)

Each person can have multiple entries on spreadsheet.
[TABLE="width: 817"]
<colgroup><col span="2"><col><col span="2"><col><col span="2"><col><col><col></colgroup><tbody></tbody>[/TABLE]
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
One way around this is to insert a "helper" column, in which you combine the First Name and Last Name fields together (i.e. C2&B2), and use this in the VLOOKUP.
 
Upvote 0
One way around this is to insert a "helper" column, in which you combine the First Name and Last Name fields together (i.e. C2&B2), and use this in the VLOOKUP.
Thanks. Figured it out. It works.
 
Upvote 0

Forum statistics

Threads
1,224,827
Messages
6,181,199
Members
453,022
Latest member
RobertV1609

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