+ Reply to Thread
Results 1 to 2 of 2

Thread: Return string to the right of a given character

  1. #1
    Registered User
    Join Date
    11-03-2011
    Location
    Boston, MA
    MS-Off Ver
    Excel 2003
    Posts
    1

    Return string to the right of a given character

    Hi --

    I have a list of e-mail addresses, and need to extract just the domains, that is, everything after the "@" character. I've tried a bunch of things and haven't been able to account for the fact that the string length will be variable.

    Here are some data examples with the result I need:

    abc @si.idemitsu.co.jp = si.idemitsu.co.jp
    abc @ic.ac.uk = ic.ac.uk
    abc @plusorthopedics.com = plusorthopedics.com
    abc @unsw.edu.au = unsw.edu.au
    abc @psu.edu = psu.edu
    abc @dpyus.jnj.com = dpyus.jnj.com
    abc @sous.com* = sous.com

    Any advice?

    Thanks very much


    *pls ignore the spaces before the @ symbols -- just trying to keep the site from turning these into active links.

  2. #2
    Forum Moderator Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2007
    Posts
    5,953

    Re: Return string to the right of a given character

    Hi Ohthatdeb, welcome to the forum.

    Perhaps try this formula (assuming strings are in A1:Axx):

    =MID(A1,FIND("@",A1)+1,LEN(A1))

    Hope that helps!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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.2.0