+ Reply to Thread
Results 1 to 3 of 3

Long String of text and need to insert space every 8th character

  1. #1
    Registered User
    Join Date
    02-12-2013
    Location
    Los Angeles
    MS-Off Ver
    Excel 2010
    Posts
    5

    Long String of text and need to insert space every 8th character

    Hello all,

    I have a long string of text in A1. Looks something like this:

    DTLA9494DTLA9494DTLA9494DTLA9494DTLA9494DTLA9558DTLA9433DTLA9450DTLA9457DTLA9491DTLA9324DTLA9491DTLA9074DTLA9074DTLA9073DTLA4912

    That continues on thousands of characters long...

    I would like to insert spaces every 8th character. Alternatively it could be a space in front of DTLA if there is a function that is easier. The data is consistant and DTLA#### repeats numerous times and does not change if that makes sense. I do not know exactly how many characters in total the string is but more than likely it is DTLA#### repeated at least 400 to 500 times.

    Any help is greatly appreciated!
    Last edited by jbang917; 02-14-2013 at 10:49 PM.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Long String of text and need to insert space every 8th character

    Just do a search and replace DTLA with DTLA (that's spaceDTLA). Excel gets kind of grumpy when you overload a cell with too much text however, (it's not a word processer). Probably better to do this in Word.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    02-12-2013
    Location
    Los Angeles
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Long String of text and need to insert space every 8th character

    Beautiful... dont know why I spaced that... thanks much!

+ 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