+ Reply to Thread
Results 1 to 5 of 5

Using Split

  1. #1
    Forum Contributor Rick_Stanich's Avatar
    Join Date
    11-21-2005
    Location
    Ladson SC
    MS-Off Ver
    Office365
    Posts
    1,163

    Using Split

    I cant seem to figure out how to use "Split". I searched in this forum and found a few posts but I did not understand the solved ones.

    I have data in many rows in this format:
    $$ #901,11d3,[-B-] Ø.2494 +.0005/-.0000

    The first thing to do is get rid of "$$ ", no biggie.
    Second is to split the data up based on the "," comma location. The above data would read
    #901
    11d3
    [-B-] Ø.2494 +.0005/-.0000

    Each being in its own cell by "columns", thus the above break down would be in A2, A3 and A4 respectively assuming the original data is in A1.

    Some strings of data can be over a hundred characters in length with multiple commas.

    Tips, hints or code is always appreciated.
    Last edited by Rick_Stanich; 04-28-2009 at 02:46 PM.
    Regards

    Rick
    Win10, Office 365

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

    Re: Using Split

    Why not just use Text to Columns, Rick?
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Contributor
    Join Date
    01-13-2009
    Location
    Mumbai
    MS-Off Ver
    Excel 2003, 2007
    Posts
    168

    Re: Using Split

    Hi,
    You can use the following Macro,

    Please Login or Register  to view this content.
    Just select the Column where you want the split to take place.

    Select one column at a time that doesn't have anything on its right side as it may be lost.

    @shg -- Saw your reply after writing this post. Text to column is a great and a simple idea. I dont know how it slipped out of my mind.
    Last edited by c.vaibhav; 04-28-2009 at 02:43 PM. Reason: @shg

  4. #4
    Forum Contributor Rick_Stanich's Avatar
    Join Date
    11-21-2005
    Location
    Ladson SC
    MS-Off Ver
    Office365
    Posts
    1,163

    Re: Using Split

    I cant seem to find that in Excel 2000, is it in the help file?

    Found it, perfect!

    Thanks guys!
    Last edited by Rick_Stanich; 04-28-2009 at 02:46 PM.

  5. #5
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Using Split

    Shg is referring to Data menu -> Text to Columns
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ 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