+ Reply to Thread
Results 1 to 5 of 5

Formula to remove few leter from email adress

  1. #1
    Forum Contributor
    Join Date
    11-04-2012
    Location
    Czech Republic
    MS-Off Ver
    MS 365
    Posts
    260

    Formula to remove few leter from email adress

    HI all,

    I just wanted to ask, if here is somebody who could help me to remove few characters from email address ?

    I have a lot list which is quite time consuming to do it manually :-D

    if I have address [email protected] what I need is to remove "-1" in the end. Each email could have more letters to be removed, but in the end I need the addresses only :-)

    Thanks

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Formula to remove few leter from email adress

    If there are no hyphens within the email address, you can use Find and Replace.

    Highlight the column > Find & Select > Replace

    Find what: -*
    Replace with: (leave blank)

  3. #3
    Forum Contributor
    Join Date
    11-04-2012
    Location
    Czech Republic
    MS-Off Ver
    MS 365
    Posts
    260

    Re: Formula to remove few leter from email adress

    I would prefer to have it in function as Id like to add it into macro code as there might be more digits to me removed :-(

  4. #4
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Formula to remove few leter from email adress

    Oops, sorry, I missed the word "formula" in the title.

    Try
    =LEFT(A1,FIND("-",A1)-1)

  5. #5
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Formula to remove few leter from email adress

    Try this
    Enter in B1 and copy down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Or this
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Both formula don't care for how may characters after the last dash. It will remove them all.
    Last edited by AlKey; 09-21-2017 at 04:24 PM.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Extract number from email adress via function
    By dobracik in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-21-2017, 03:13 AM
  2. Email with personal adress
    By zarathustra68 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-31-2017, 10:05 PM
  3. Verify if an email adress exists
    By Aphis in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-21-2015, 10:13 AM
  4. Help copying an email adress from one cell to another if true
    By BB79 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-24-2015, 10:17 PM
  5. Find and replace-Replacement is always capital leter
    By Guerolito in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-23-2013, 01:16 PM
  6. Trying to get an screenshot and mail it to an email adress
    By basmienis in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-12-2012, 05:26 AM
  7. How can I get the domain name out a email adress?
    By Gauthier in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-07-2005, 03:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1