+ 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,437

    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 Moderator 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,745

    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

    Someone@gmail.com

    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)

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