+ Reply to Thread
Results 1 to 3 of 3

Reverse concatenate

  1. #1
    Registered User
    Join Date
    10-25-2010
    Location
    edmonton canada
    MS-Off Ver
    Excel 2007
    Posts
    86

    Reverse concatenate

    I have used concatenate to create this :
    R 01 001 A 1 R01001A1 R 01 001 A 2 R01001A2

    I want to do the same thing in reverse:
    taking R01001A1 and seperate into the original 5 cells but on another sheet

    Thanks

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Reverse concatenate

    Copy the text strings into column A of the second sheet.

    Now use Data > Text To Columns > Fixed Width to split them out. Set the break points on page 2 of the wizard.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,303

    Re: Reverse concatenate

    Hi norm01
    Find the attached with the formula. If your example is in A1 then put the formula below in B1 and pull to the right.

    Please Login or Register  to view this content.
    DonkeyOte showed me this a few months ago. What it does is takes every space in your string and substitutes it with lots of spaces. Then it takes the a mid from the string that is blown up with spaces and uses Trim to arrive at what you want.

    hope this helps.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

+ 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