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

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
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,223,907
Messages
6,175,300
Members
452,633
Latest member
DougMo

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