+ Reply to Thread
Results 1 to 5 of 5

Formula to extract text before the first dot in an E-mail adress

  1. #1
    Forum Contributor
    Join Date
    07-02-2013
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2003 and 2007
    Posts
    197

    Formula to extract text before the first dot in an E-mail adress

    I have in this amazing forum found a formula to extract a textstring before a special character.

    In this case I want the text before the "." dot

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

    This works perfectly, but not for an E-mailadress.

    Is there anyone that can find a formula that extract the text before the first dot in an E-mail adress

    Thank's in advance

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Formula to extract text before the first dot in an E-mail adress

    Please show samples with expected output...


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Formula to extract text before the first dot in an E-mail adress

    The first dot in an email address is before the last word. Isn't it? Let's say

    [email protected]

    Your formula gives as result this.

    Someone@gmail

    Isn't this your expected result?
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Forum Contributor
    Join Date
    09-02-2013
    Location
    Netherlands
    MS-Off Ver
    Office 365 (2013)
    Posts
    268

    Re: Formula to extract text before the first dot in an E-mail adress

    Worked fine for me:ExampleII.xlsx

  5. #5
    Forum Contributor
    Join Date
    07-02-2013
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2003 and 2007
    Posts
    197

    Re: Formula to extract text before the first dot in an E-mail adress

    Sorry, I was looking for a missing comma in the email adress.
    The formula =LEFT(A1,FIND(".",A1,1)-1) is working with e-mail adresses with personal names.

    Thread solved!

+ 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. Replies: 1
    Last Post: 12-28-2012, 07:24 AM
  2. 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
  3. stop e-mail adress becoming hyperlink
    By Nigel_hough in forum Excel General
    Replies: 1
    Last Post: 01-14-2008, 09:01 AM
  4. how to imbed a cell adress in a formula
    By winulf in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 03-30-2007, 09:23 AM
  5. SUM using results from an Adress-formula
    By Langbraten in forum Excel General
    Replies: 3
    Last Post: 03-31-2006, 08:01 AM

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