Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Column full of email addresses: how to truncate to just part of eachemail address (before the "@")

Hello

We have a spreadsheet with about a thousand email addresses. Is there a way to JUST have the first part of the email address, and delete the rest?

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 621
Default Column full of email addresses: how to truncate to just part of each email address (before the "@")

Not knowing what "first part" and "rest" means I'll make a sugesstion.

DataText to ColumnsDelimited by "something" then choose to skip the
column after "something".

Or used the "fixed width" option if that suits.


Gord


On Fri, 22 Jun 2012 13:40:24 -0700 (PDT), John
wrote:

Hello

We have a spreadsheet with about a thousand email addresses. Is there a way to JUST have the first part of the email address, and delete the rest?

Thanks!

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 259
Default Column full of email addresses: how to truncate to just partof each email address (before the "@")

On 23/06/2012 8:22 AM, Gord Dibben wrote:
Not knowing what "first part" and "rest" means I'll make a sugesstion.

DataText to ColumnsDelimited by "something" then choose to skip the
column after "something".

Or used the "fixed width" option if that suits.


Gord


On Fri, 22 Jun 2012 13:40:24 -0700 (PDT),
wrote:

Hello

We have a spreadsheet with about a thousand email addresses. Is there a way to JUST have the first part of the email address, and delete the rest?

Thanks!


Try this

=LEFT(A2,FIND("@",A2)-1)

It starts at A2 assuming row 1 is header, change the cell reference to
suit, copy down...

HTH
Mick.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Column of email addresses: how to just use the part before the "@" HelpMeCode Excel Programming 1 June 22nd 12 11:24 PM
Extracting all Email addresses from an Outlook folder"Undeliverables" [email protected] Excel Programming 2 September 5th 09 07:27 PM
"Send Email" macro to multiple addresses LKP Excel Programming 16 November 3rd 08 09:08 PM
copy/convert column email addresses Hyperlink "mailto:" excel97 daleman101 Excel Discussion (Misc queries) 3 November 3rd 05 01:21 PM
debug.print range "full" address Patti[_2_] Excel Programming 5 July 6th 05 09:27 PM


All times are GMT +1. The time now is 08:22 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"