+ Reply to Thread
Results 1 to 6 of 6

Unable to split one long text into several cells

  1. #1
    Forum Contributor
    Join Date
    04-23-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    113

    Unable to split one long text into several cells

    Dear All,

    I want to split long text (which contain digit and text) in separate cells example - If Cell A1 contains 3D 6A 4Z O9 So answer Should be - 3D should be in A2, 6A should be in B2, 4Z sholud be in C2, and O9 should be in D2 and so on......

    Is there any formula in excel or vba code.

    Attache sample file for reference....

    thanks in advance

    Dev
    Attached Files Attached Files

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Unable to split one long text into several cells

    Hi,

    Will the strings in question always be of an identical format to the one you give, i.e. four sets of two characters separated by a single space?

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Forum Contributor
    Join Date
    04-23-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    113

    Re: Unable to split one long text into several cells

    Yes it will be always in same format


    Dev

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Unable to split one long text into several cells

    In A2 and copy across:

    =TRIM(MID($A$1,3*(COLUMNS($A:A)-1)+1,2))

    Regards

  5. #5
    Forum Contributor
    Join Date
    04-23-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    113

    Re: Unable to split one long text into several cells

    Dear XOR LX,

    Thanks for ur help it works great for me...


    Dev

  6. #6
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Unable to split one long text into several cells

    You're welcome.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Unable to split text and numbers into Separate Cells that have no space
    By BDavis in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-21-2013, 04:39 PM
  2. Split cells long text with Max 40 character to multiple row using Macro
    By chee1012 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-31-2012, 10:10 AM
  3. Split a long text in a userform textbox to multiple rows on a worksheet
    By newbi004 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-31-2012, 09:03 AM
  4. [SOLVED] How to split too long text in one row to break in next row.
    By KrunoCro in forum Excel General
    Replies: 2
    Last Post: 09-14-2005, 09:05 AM
  5. [SOLVED] Split Long Text Cell into Two Shorter Cells Without Splitting Word
    By Naomi T in forum Excel General
    Replies: 1
    Last Post: 07-07-2005, 01:49 AM

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