+ Reply to Thread
Results 1 to 6 of 6

Excel 2007 : Insert Text into string

  1. #1
    Registered User
    Join Date
    10-30-2007
    Posts
    13

    Insert Text into string

    I need to insert the number 11_ after the second _ in column A. I was trying to this with a concatenate and multiple (LEN,LEFT,MID) Functions.

    BS_NU_SilexGrey
    BS(AC)_NML_Brookstone

    Should look like this.

    BS_NU_11_SilexGrey
    BS(AC)_NML_11_Brookstone
    Attached Files Attached Files
    Last edited by skidz; 11-12-2010 at 12:58 PM.

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Insert Text into string

    Hi try

    =SUBSTITUTE(A1,"_","_11_",2)

  3. #3
    Registered User
    Join Date
    10-30-2007
    Posts
    13

    Re: Insert Text into string

    Quote Originally Posted by arthurbr View Post
    Hi try

    =SUBSTITUTE(A1,"_","_11_",2)
    Perfect. Thanks! I knew there was an easy way to do it. I've not used the substitute function before.

  4. #4
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Insert Text into string

    How did you know it was an easy way without knowing how to do it?

  5. #5
    Registered User
    Join Date
    10-30-2007
    Posts
    13

    Re: Insert Text into string

    Quote Originally Posted by arthurbr View Post
    How did you know it was an easy way without knowing how to do it?
    LOL. I knew there had to be a function for it. The function is pretty self explanatory. I've just never used it before. Thanks again! I'll remember that one.

  6. #6
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Insert Text into string

    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

+ 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