+ Reply to Thread
Results 1 to 4 of 4

replace only part before @ in a cell

  1. #1
    Registered User
    Join Date
    08-25-2011
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    7

    replace only part before @ in a cell

    Hello,

    I have a column with email addresses and I'd like to replace the part before @ with info. How can I do this?

    I thought about using find and replace, but in this case the part before @ should always be the same. In my column they are all different. I have no clue how to solve this. Any help is highly appreciated!

    Clausule

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: replace only part before @ in a cell

    Assuming your email address in the cell A2, then try this.......

    Please Login or Register  to view this content.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    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: replace only part before @ in a cell

    Or this

    A
    B
    C
    D
    1
    Email Address Modified New info from cell Formulas
    2
    [email protected] Type something [email protected] =REPLACE(A2,1,FIND("@",A2)-1,"Type something here")
    3
    [email protected] Add New [email protected] Add New info =REPLACE(A3,1,FIND("@",A3)-1,C3)
    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

  4. #4
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: replace only part before @ in a cell

    in Find/replace try.

    Find What: *@
    ReplaceWwith: yourtext@
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

+ 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. [SOLVED] Replace specific part of formula in a cell through VBA
    By mrizvi88 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-09-2013, 10:17 AM
  2. Replace part of formula file name using A1 cell value
    By trizzo in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-22-2013, 10:44 AM
  3. [SOLVED] need VBA to find and replace part of a value in a cell
    By Marijke in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-04-2013, 05:46 PM
  4. Find and Replace Part of cell
    By adam2308 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-21-2009, 05:50 AM
  5. Replace part of a cell (first two digits)
    By mattandrew in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 11-21-2007, 10:49 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