Distribution linst - Extract emails

Fran10

New Member
Joined
Jul 18, 2022
Messages
9
Office Version
  1. 365
Platform
  1. Windows
I created a formula to extract email's from a distribution list, but unfortunately the formula dont get update when user is using an apple computer.
Any thoughts on this? Or maybe somebody has another formula that could help me.

Thanks..

The distribution list can have until 400 emails.
see example below:

Distribution list:
Shurtliff, Scott <Scott.Shurtliff@IRIWorldwide.com>; Weidner, Erin <Erin.Weidner@iriworldwide.com>; Stuart, Gail <Gail.Stuart@iriworldwide.com>; Gregozeski, Brian <Brian.Gregozeski@iriworldwide.com>; Rosenthal, Michael <Michael.Rosenthal@IRIWorldwide.com>; Simon, Macee <Macee.Simon@IRIworldwide.com>; Nann, Andreas <Andreas.Nann@iriworldwide.com>

=SUBSTITUTE(FILTERXML("<x><y>"&SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2,"<","#"),">","#")," ",";"),";","</y><y>")&"</y></x>","//y[contains(.,'#')]"),"#","")
Excel Formula:
 

Attachments

  • Distribution List.JPG
    Distribution List.JPG
    88.5 KB · Views: 3

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Do you have the new TEXTSPLIT function?
 
Upvote 0
When the user has a apple computer and past a "new" distribution list, the extract results return an error.
Formula below:
=SUBSTITUTE(FILTERXML("<x><y>"&SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2,"<","#"),">","#")," ",";"),";","</y><y>")&"</y></x>","//y[contains(.,'#')]"),"#","")
 
Upvote 0
The filterxml function does not exist on a mac. Can you answer my question.
 
Upvote 0
I have TEXTSPLIT function in my excel, but I dont know if it's the "new" one.
 

Attachments

  • textsplit.JPG
    textsplit.JPG
    66.1 KB · Views: 4
Upvote 0
Yes it is. :)
How about
Fluff.xlsm
A
1
2Shurtliff, Scott <Scott.Shurtliff@IRIWorldwide.com>; Weidner, Erin <Erin.Weidner@iriworldwide.com>; Stuart, Gail <Gail.Stuart@iriworldwide.com>; Gregozeski, Brian <Brian.Gregozeski@iriworldwide.com>; Rosenthal, Michael <Michael.Rosenthal@IRIWorldwide.com>; Simon, Macee <Macee.Simon@IRIworldwide.com>; Nann, Andreas <Andreas.Nann@iriworldwide.com>
3
4Scott.Shurtliff@IRIWorldwide.com
5Erin.Weidner@iriworldwide.com
6Gail.Stuart@iriworldwide.com
7Brian.Gregozeski@iriworldwide.com
8Michael.Rosenthal@IRIWorldwide.com
9Macee.Simon@IRIworldwide.com
10Andreas.Nann@iriworldwide.com>
11
Data
Cell Formulas
RangeFormula
A4:A10A4=INDEX(TEXTSPLIT(A2,"<",">;"),,2)
Dynamic array formulas.
 
Upvote 0
Looking at the image in post#5 you do not have the Textsplit function.
I'll post another option shortly.
 
Upvote 0
Ok, how about
Fluff.xlsm
A
1
2Shurtliff, Scott <Scott.Shurtliff@IRIWorldwide.com>; Weidner, Erin <Erin.Weidner@iriworldwide.com>; Stuart, Gail <Gail.Stuart@iriworldwide.com>; Gregozeski, Brian <Brian.Gregozeski@iriworldwide.com>; Rosenthal, Michael <Michael.Rosenthal@IRIWorldwide.com>; Simon, Macee <Macee.Simon@IRIworldwide.com>; Nann, Andreas <Andreas.Nann@iriworldwide.com>
3
4Scott.Shurtliff@IRIWorldwide.com
5Erin.Weidner@iriworldwide.com
6Gail.Stuart@iriworldwide.com
7Brian.Gregozeski@iriworldwide.com
8Michael.Rosenthal@IRIWorldwide.com
9Macee.Simon@IRIworldwide.com
10Andreas.Nann@iriworldwide.com
11
Data
Cell Formulas
RangeFormula
A4:A10A4=LET(Txt,"<"&SUBSTITUTE(A2,">","<")&"<",s,SEQUENCE(LEN(Txt)-LEN(SUBSTITUTE(Txt,"<",""))-1),ary,REPLACE(LEFT(Txt,FIND("||",SUBSTITUTE(Txt,"<","||",s+1))-1),1,FIND("||",SUBSTITUTE(Txt,"<","||",s)),""),FILTER(ary,ISNUMBER(FIND("@",ary))))
Dynamic array formulas.
 
Upvote 0
Fluff.... you are a GENIUS!!! OMG OMG OMG.... Works perfect in the mac, in the share point and in the other computers.
THANK YOU, THANK YOU, THANK YOU 🥰

One day I want to be like you!!!! (for real)
 
Upvote 0

Forum statistics

Threads
1,215,465
Messages
6,124,982
Members
449,201
Latest member
Lunzwe73

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