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.

<colgroup><col span="2"><col><col span="2"><col><col span="2"><col><col><col></colgroup><tbody></tbody>
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
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
You are welcome.
 
Upvote 0

Forum statistics

Threads
1,214,929
Messages
6,122,315
Members
449,081
Latest member
tanurai

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