+ Reply to Thread
Results 1 to 6 of 6

Excel 2007 : Add space between characters and numbers in Microsoft Excel

  1. #1
    Registered User
    Join Date
    06-04-2009
    Location
    Virginia
    MS-Off Ver
    Excel 2007
    Posts
    21

    Add space between characters and numbers in Microsoft Excel

    I am doing data scrubbing where I have ~8000 addresses where only some contain the following "errors" in the string:

    10847Elk Run Rd
    11712Jefferson Ave
    11801Coastal Hwy

    I need a way to search for "numtext" and replace with "num text", regardless of how long the leading number or following Latin string is. The ideal function would add spaces where necessary and avoid those that are formatted correctly.

    10847 Elk Run Rd
    11712 Jefferson Ave
    11801 Coastal Hwy

    Please advise.
    Last edited by freerdj; 06-05-2009 at 11:28 AM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Add space between characters and numbers in Microsoft Excel

    Try this:

    =TRIM(LEFT(A1, MATCH(TRUE, MID(A1, {1,2,3,4,5,6,7}, 1)>"9", 0) - 1) & " " & MID(A1, MATCH(TRUE, MID(A1, {1,2,3,4,5,6,7}, 1)>"9", 0), 100) )
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    06-04-2009
    Location
    Virginia
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: Add space between characters and numbers in Microsoft Excel

    No way, that is incredible. All hail!

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Add space between characters and numbers in Microsoft Excel

    Would you please mark the thread as Solved?

  5. #5
    Registered User
    Join Date
    10-08-2015
    Location
    Kolkata, India
    MS-Off Ver
    2007
    Posts
    2

    Re: Excel 2007 : Add space between characters and numbers in Microsoft Excel

    Hi,

    I have a similar issue. I too need to insert space between text and numbers, which are of varying length for eg.

    ABC1234XYZ
    AB12XY
    ABCDE123456LMNO

    I need it to be shown in the following manner.

    ABC 1234 XYZ
    AB 12 XY
    ABCDE 123456 LMNO

    I have some 2000 odd items which needs to be sorted in above manner. Please help

  6. #6
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.95 for Mac MS 365
    Posts
    8,682

    Re: Excel 2007 : Add space between characters and numbers in Microsoft Excel

    Saketpadia, you need to open your own post for your problem. If you believe this post is similar enough you can paste the link into yours as a reference. (Forum rules and all that.).
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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