+ Reply to Thread
Results 1 to 6 of 6

Thread: Inserting text into a cell containing text

  1. #1
    Registered User
    Join Date
    07-12-2007
    Posts
    40

    Inserting text into a cell containing text

    I have pulled a report from a website. The website only allows a certain number of characters. For instance it might go to john.smith@, dave.bird@, tom.jones@... this has been pulled into an excel sheet. I want to add the domain at the end of the email address so it would become

    john.smith@whatever.com
    dave.bird@whatever.com
    tom.jones@whatever.com

    But I have a list of 2000 usernames and I don't want to go line by line inserting whatever.com.

    Is there a way to automatically do this?

    Thank you
    Last edited by NBVC; 06-10-2009 at 12:00 PM.

  2. #2
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,636

    Re: Inserting text into a cell containing text

    If it always the same "whatever.com" then you can use Edit|Replace

    and Replace @ with @whatever.com
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  3. #3
    Registered User
    Join Date
    02-26-2006
    Posts
    10

    Re: Inserting text into a cell containing text

    I'd use CONCATENATE. In col A you'd have john.smith@, In col B, put whatever.com, then in col C enter this formula:

    =CONCATENATE(A1,B1)

    Paste down col C and you should have them all.

    If you copy it to another sheet use the Paste Special to remove the formula.

  4. #4
    Registered User
    Join Date
    06-01-2009
    Location
    India
    MS-Off Ver
    Excel 2003, Excel 2007
    Posts
    66

    Exclamation Re: Inserting text into a cell containing text

    concatenate would work better - as by using replace, you will stand chances of replacing un-wanted text
    Mohit Khurana, CFA

    Excel Matic - A blog on MS Excel

    List of Essential Excel Shortcuts

    e-Book on Excel Math Functions

    Please add to our reputation if you find our replies as helpful.

  5. #5
    Registered User
    Join Date
    07-12-2007
    Posts
    40

    Re: Inserting text into a cell containing text

    Thanks so much for all of your help! That was awesome!

  6. #6
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,636

    Re: Inserting text into a cell containing text

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

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