How To Deconstruct An Email Address

mcgonma

Board Regular
Joined
Nov 2, 2011
Messages
162
Office Version
  1. 365
  2. 2013
Platform
  1. Windows
I am looking for a way to deconstruct or disect email addresses in Excel. Here is the situation.

I have about 300 email addresses in and Excel spreadsheet in the following format:
namename@agency.state.md.us where the word "agency" is the actual name of the person's agency within the organization
I need to create a way to extract "agency" name from this email address.

Do you know of a formula, or approach (i.e., series of formulas in columns), or even a tool that I can use to do this?
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Thank you SO much for your replies!!!
The "=TRIM" function formula works perfectly.
One thing I didn't anticipate that becomes a problem in the formula for the "=MID" function formula is that the second FIND(".",A9) portion of the formula returns an error if the first part of the email address has a "." in it (i.e., name.name@agency.state.md.us)
Again...thank you all SO much for expanding my knowledge of all the things that Excel can do that I had absolutely no idea about. Truly amazing!!!
 
Upvote 0

Forum statistics

Threads
1,224,885
Messages
6,181,587
Members
453,055
Latest member
cope7895

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