lookup & match?

blackduck

New Member
Joined
Sep 27, 2017
Messages
7
Hi,

Please help me, i'm not very good with excel. My scenario is I have 3 columns of names. I want to look at the first name column (which is my source of truth) and see if the name exists in the other two columns. If the name does exist in all three columns, I want to return a "Y" value in a new column. Issue is the columns are in different orders (names are not on the same lines), so i need a formula that looks at the entire column 2 then entire column 3 and the works out if there is a match in both then return the value.... help?

[TABLE="width: 500"]
<tbody>[TR]
[TD]NAME1[/TD]
[TD]NAME2[/TD]
[TD]NAME3[/TD]
[TD]RESULT[/TD]
[/TR]
[TR]
[TD]sally[/TD]
[TD]Peter[/TD]
[TD]John[/TD]
[TD]Y[/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD]sally[/TD]
[TD]Alex[/TD]
[TD]N[/TD]
[/TR]
[TR]
[TD]Peter[/TD]
[TD][/TD]
[TD]sally[/TD]
[TD]N[/TD]
[/TR]
[TR]
[TD]Alex[/TD]
[TD][/TD]
[TD][/TD]
[TD]N[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
You are welcome.

Please note that the formula from Post # 2 would work even if you have duplicate names in a particular column.
Ahh, unfortunately he is right. My formula will give a false positive if you have dublicate names in Column B and no name in Column C.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,326
Members
452,635
Latest member
laura12345

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