+ Reply to Thread
Results 1 to 5 of 5

Extraxct firat 4 characters from email address before . (dot)

  1. #1
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2021
    Posts
    2,749

    Extraxct firat 4 characters from email address before . (dot)

    I would looking for a formula to extract the 1st 4 characters from a name in an email address before the . (dot)

    I have attached sample data


    Your assistance in this regard is most appreciated

  2. #2
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,743

    Re: Extraxct firat 4 characters from email address before . (dot)

    Please Login or Register  to view this content.
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,794

    Re: Extraxct firat 4 characters from email address before . (dot)

    If you want to ensure that you are only looking at the characters before the first dot (even if there are fewer than 4), then you could use this:

    =LEFT(LEFT(B1,FIND(".",B1)-1),4)

    If you are sure there will always be at least 4 characters before the first dot, then you could use this:

    =LEFT(B1,4)

    Hope this helps.

    Pete

  4. #4
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2021
    Posts
    2,749

    Re: Extraxct firat 4 characters from email address before . (dot)

    Thanks for the help Guys. Formula's works perfectly

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,794

    Re: Extraxct firat 4 characters from email address before . (dot)

    You're welcome, thanks for the rep.

    Pete

+ 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. 1 email per email address, include cell value in email subject
    By melody10 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-31-2019, 10:27 PM
  2. Update Email Address from Global Address based on Cell Value
    By nasrulla in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-16-2019, 03:19 AM
  3. [SOLVED] vba email send from excel - ignore second email address if "ENTER EMAIL ADDRESS"
    By nigelog in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-28-2016, 07:22 AM
  4. Email a screenshot of a specifc row in an email to a specfic email address
    By Cobra75007 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-19-2015, 10:36 AM
  5. [SOLVED] Need Help with HTMLBody. Hyperlink email address and web address in body message VBA
    By Christopher Val in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-11-2015, 04:39 PM
  6. Replies: 1
    Last Post: 03-08-2012, 01:57 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