+ Reply to Thread
Results 1 to 3 of 3

Insert a character into a string

  1. #1
    Registered User
    Join Date
    11-25-2011
    Location
    Congleton, England
    MS-Off Ver
    Excel 2003
    Posts
    6

    Insert a character into a string

    Hi
    I have a sheet with one of the columns containing a 12 character set of letters and numbers, eg XAV907001024. What I want to do is to insert - between the 6th and 7th numbers. Any help would be appreciated.

    Thanks
    John
    Last edited by NBVC; 12-23-2011 at 07:12 AM.

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

    Re: Insert a character into a string

    Try:

    =REPLACE(A1,10,0,"-")
    Where there is a will there are many ways.

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

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

  3. #3
    Registered User
    Join Date
    11-25-2011
    Location
    Congleton, England
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Insert a character into a string

    Thanks NBVC, that worked for me.

+ 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