Extract multiple emails from a single string

fapb48

Board Regular
Joined
Sep 13, 2020
Messages
65
Office Version
  1. 365
Platform
  1. Windows
Hello,

I need to extract the emails that are on a single string into separate columns but not sure how to accomplish this.

Example of the string: aa@aa.com##Receive, Deliver;bb@bb.com##Receive, Deliver;cc@cc.com##Receive, Deliver

I know how to retrieve aa@aa.com and bb@bb.com using textbefore and textafter but not sure how to retrieve the third email.

Any help would be much appreciated it.

Thank you
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Is this what you want then?

24 01 04.xlsm
AB
1: aa@aa.com##Receive, Deliver;bb@bb.com##Receive, Deliver;cc@cc.com##Receive, Deliveraa@aa.com
2bb@bb.com
3cc@cc.com
emails
Cell Formulas
RangeFormula
B1:B3B1=LET(ts,TEXTSPLIT(A1,,{",","#"," ",";"}),FILTER(ts,ISNUMBER(FIND("@",ts)),""))
Dynamic array formulas.
 
Upvote 0
Is this what you want then?

24 01 04.xlsm
AB
1: aa@aa.com##Receive, Deliver;bb@bb.com##Receive, Deliver;cc@cc.com##Receive, Deliveraa@aa.com
2bb@bb.com
3cc@cc.com
emails
Cell Formulas
RangeFormula
B1:B3B1=LET(ts,TEXTSPLIT(A1,,{",","#"," ",";"}),FILTER(ts,ISNUMBER(FIND("@",ts)),""))
Dynamic array formulas.
This is great, thank you!

Is there anyway that this can be somehow converted into columns instead of rows? As i have 1000' of rows of emails and need to auto fill the formula for all rows and it will spill..

Sorry, i probably should have mentioned that beforehand..

Thanks
 
Upvote 0
Do you mean like this?

24 01 04.xlsm
ABCD
1: aa@aa.com##Receive, Deliver;bb@bb.com##Receive, Deliver;cc@cc.com##Receive, Deliveraa@aa.combb@bb.comcc@cc.com
emails (2)
Cell Formulas
RangeFormula
B1:D1B1=LET(ts,TEXTSPLIT(A1,{",","#"," ",";"}),FILTER(ts,ISNUMBER(FIND("@",ts)),""))
Dynamic array formulas.
 
Upvote 0
Do you mean like this?

24 01 04.xlsm
ABCD
1: aa@aa.com##Receive, Deliver;bb@bb.com##Receive, Deliver;cc@cc.com##Receive, Deliveraa@aa.combb@bb.comcc@cc.com
emails (2)
Cell Formulas
RangeFormula
B1:D1B1=LET(ts,TEXTSPLIT(A1,{",","#"," ",";"}),FILTER(ts,ISNUMBER(FIND("@",ts)),""))
Dynamic array formulas.
This is perfect!

Thank you very very much for your help
 
Upvote 0
You're welcome. Thanks for the follow-up. :)
 
Upvote 0

Forum statistics

Threads
1,215,092
Messages
6,123,063
Members
449,090
Latest member
fragment

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