Name match in column A to column C then copy email in adjacent column B next to matched name in column D

sheenabest

New Member
Joined
Oct 24, 2013
Messages
3
Need help with two lists of names and emails.

I have sample date below in which the names in column A are different to those in column C and need to;

1. See if the names in column C are in Column A
2. If the name is found in column A, copy the email address adjacent to it into Column D adjacent to the corresponding name in Column C?

Hope this makes sense

Thanks
Sheena


Column AColumn BColumn C
joe bloggs</SPAN>joebloggs@me.com</SPAN>anna smith</SPAN>
angus boreham </SPAN>angusboreham@me.com</SPAN>robert breen</SPAN>
rebecca quinn</SPAN>rebeccaquinn@me.com</SPAN>alex reed</SPAN>
anna smith</SPAN>annasmith@me.com</SPAN>joe bloggs</SPAN>
robert breen</SPAN>robertbreen@me.com</SPAN>sarah tooze</SPAN>
sarah tooze</SPAN>sarahtooze@me.com</SPAN>john wright</SPAN>
ken barber</SPAN>kenbarber@me.com</SPAN>Eileen morrow</SPAN>
greg shand</SPAN>gregshand@me.com</SPAN>ken barber</SPAN>
john wright</SPAN>johnwright@me.com</SPAN>julie prince</SPAN>
christopher makay</SPAN>christophermakay@me.com</SPAN>maria pine
</SPAN>

<TBODY>
</TBODY><COLGROUP><COL><COL><COL></COLGROUP>
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Do you mean something like so?


Excel 2010
ABCD
1joe bloggsjoebloggs@me.comanna smithannasmith@me.com
2angus borehamangusboreham@me.comrobert breenrobertbreen@me.com
3rebecca quinnrebeccaquinn@me.comalex reed
4anna smithannasmith@me.comjoe bloggsjoebloggs@me.com
5robert breenrobertbreen@me.comsarah toozesarahtooze@me.com
6sarah toozesarahtooze@me.comjohn wrightjohnwright@me.com
7ken barberkenbarber@me.comEileen morrow
8greg shandgregshand@me.comken barberkenbarber@me.com
9john wrightjohnwright@me.comjulie prince
10christopher makaychristophermakay@me.commaria pine
Sheet1
Cell Formulas
RangeFormula
D1=IFERROR(INDEX($B$1:$B$10,MATCH(C1,$A$1:$A$10,0)),"")
 
Upvote 0
That hasn't worked, all the cells come up blank when I drag the formula down.

If it make a difference there are 2608 rows for columns A and B and only 1338 in Column C? I just used the above as sample data.

Thanks for your help.

Sheena
 
Upvote 0
All I can Add is to change formula in Cell D1 to:

=IFERROR(INDEX($B$1:$B$2608,MATCH(C1,$A$1:$A$2608,0)),"")

And drag down to D1338.
 
Upvote 0
Is there anyway you could attach an example please? I'm still not getting the email addresses to copy in the adjacent cell once matched?

Thanks
 
Upvote 0
Select the Cell D1, then (assuming you are XL 2007 or later) on the Ribbon, go to Formulas, Formulas Auditing Group, then click on Evaluate Formula. It will step you through the components of the total formula showing you as you go, each calculation. Report back when any component doesn't seem to be producing what it should. Jim
 
Upvote 0

Forum statistics

Threads
1,215,830
Messages
6,127,134
Members
449,361
Latest member
VBquery757

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