Formula

Jones1413

New Member
Joined
Jul 26, 2019
Messages
47
Office Version
  1. 365
Platform
  1. Windows
Hello,

I am looking for a formula to search the email addresses in cell A1 in Sheet 1 and return the value of the names from Column A in Sheet 2. I would like for the return value to be in Column B of sheet 1.

Sample.xlsx
A
2
Sheet1


Sample.xlsx
A
5
Sheet2
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Hi there. When you use the copy function of the xl2bb add in, you need to select your ranges. As you see all you have provided are a blank cell on two worksheets.
Please update your sample data.
 
Upvote 0
Sample.xlsx
AB
1johnsmith@aol.com; richards@gmail.com; jones@hotmail.com; smith@yahoo.com
2
3
4
5
6
Sheet1


Sample.xlsx
AB
1John Smith johnsmith@aol.com
2Bill Richardsrichards@gmail.com
3Ben Jonesjones@hotmail.com
4Robert Smithsmith@yahoo.com
5
6
Sheet2
 
Upvote 0
I just did it all on one sheet. You can move the formulas and cell references around as you need. I also had blank spaces when I copied your data over. So, you may not need the SUBSTITUTE function in your formula.

But, try this:
Book2
ABCDEF
1John Smith johnsmith@aol.com
2Bill Richardsrichards@gmail.com
3Ben Jonesjones@hotmail.com
4Robert Smithsmith@yahoo.com
5
6johnsmith@aol.com; richards@gmail.com; jones@hotmail.com; smith@yahoo.com
7
8John Smith
9Bill Richards
10Ben Jones
11Robert Smith
12
13
Sheet2
Cell Formulas
RangeFormula
A8:A11A8=INDEX(A1:A4,MATCH(TEXTSPLIT(SUBSTITUTE(A6," ",""),,";",1,1),B1:B4,0))
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,215,360
Messages
6,124,493
Members
449,166
Latest member
hokjock

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