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

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
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,394
Messages
6,178,342
Members
452,841
Latest member
GenAkaman

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