Need formula to remove text outside of parenthesis

bighedstev

New Member
Joined
Apr 25, 2012
Messages
3
I have emails copied to Excel that look like:

Email Owners Name (email address); Email 2 Owners name (email address 2); Email 3 Owners Name (email address 3); ect ect for about 500 email addresses total. When copied from the distribution list in Outlook and pasted into Excel, they're all in the same cell.

I need to extract only the email addresses and remove the names and parenthesis. Can anyone help with this? Mucho Gracias!
 
you didn't answer my question.....show us what you want the result to be from that cell that contains
bear (male), bear (female)
 
Upvote 0

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Did you want this

Excel 2007
AB
1
2
3bear (male), bear (female)bear male
4bear female
5
6
Sheet1
Cell Formulas
RangeFormula
B3=LEFT(SUBSTITUTE(SUBSTITUTE(A3,"(",""),")",""),FIND(",",A3,1)-3)
B4=MID(SUBSTITUTE(SUBSTITUTE(A3,"(",""),")",""),FIND(",",A3)-1,LEN(A3))
 
Last edited:
Upvote 0
Upvote 0
If you need to create new lines you will need a VBA solution, my manual formulas may be just as simple!!
See Post #12
 
Upvote 0
Last edited:
Upvote 0
Power Query aka Get&Transform : Excel for Office 365 Excel 2019 Excel 2016 Excel 2013 Excel 2010
I don't know it will work for iPad so you need to check this.
I know your file and I post your file with the result so check post #15

Power Query - Get&Transform

If iPad is something like Mac - forget about PowerQuery
 
Last edited:
Upvote 0
Power Query aka Get&Transform : Excel for Office 365 Excel 2019 Excel 2016 Excel 2013 Excel 2010
I don't know it will work for iPad so you need to check this.
I know your file and I post your file with the result so check post #15

Power Query - Get&Transform

If iPad is something like Mac - forget about PowerQuery

I got your example file now cuz I'm still learning how to use this forum. I saw that you managed to do that at line 13/14, how do I apply this same query formula for the whole spreadsheet content ?

https://www.dropbox.com/s/qziwjqd14l6w423/Photo 04-11-18 03 33 26.png?dl=0

Thanks,
 
Upvote 0
First check if Excel for iPad support PowerQuery aka Get&Transform.
if not - look for vba solution
if yes - load source table into PQ editor then split each column by comma to the rows

some help for PowerQuery: Microsoft Power Query for Excel Help
 
Last edited:
Upvote 0
First check if Excel for iPad support PowerQuery aka Get&Transform.
if not - look for vba solution
if yes - load source table into PQ editor then split each column by comma to the rows

some help for PowerQuery: Microsoft Power Query for Excel Help

Sandy,

I manage to find this powerquery on my laptop excel, could you tell me what to do to split into another cell the content detached by comma on columns C, E and H
maintaining all other column the same into these new lines?

Heres screenshot of the screen (the same you got in your example with green lines):
https://drive.google.com/file/d/1oqROR0WbrU3mM-M1m-QWEUyUVb6aFX2s/view?usp=sharing


Thanks vm,
 
Upvote 0

Forum statistics

Threads
1,223,992
Messages
6,175,822
Members
452,672
Latest member
missbanana

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