+ Reply to Thread
Results 1 to 5 of 5

Seperating values that are space-separated in one cell to several cells

  1. #1
    Registered User
    Join Date
    06-27-2012
    Location
    Lincoln, NE
    MS-Off Ver
    2013
    Posts
    5

    Seperating values that are space-separated in one cell to several cells

    Hey,
    I have a .txt file, that is the output of a vb 6 code. It is supposed to have seven columns in each row. The seven values in each row exist, but they are in one cell, and are space-separated. This way I can't do any other calculations with the numbers. I need it to have seven columns in seven separate cells in each row. I'm not sure whether posting this question in macro forum is right or not. Anyway the file is attached. Thank you for your helps.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    10-27-2012
    Location
    London
    MS-Off Ver
    Excel 2007-2010
    Posts
    59

    Re: Seperating values that are space-separated in one cell to several cells

    Hi Ferferi,

    This would be best placed in the formula/functions forum. Maybe one of he mods will move it for you?!

    Open the text file with excel, excel will prompt you to use the text to columns function. Select delimited and then select spaces, click finish. This will your data and break it into cells every time a space is detected.

    Otherwise paste the data into excel, highlight the data. Select Data then select Text to column and follow the instruction as above.

    Hope this helps.

  3. #3
    Registered User
    Join Date
    06-27-2012
    Location
    Lincoln, NE
    MS-Off Ver
    2013
    Posts
    5

    Re: Seperating values that are space-separated in one cell to several cells

    It worked perfectly. Thank you Break_Point.
    I really don't know how to change the forum. I thinks mods know what to do.

  4. #4
    Registered User
    Join Date
    05-21-2012
    Location
    Tehran, Iran
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Seperating values that are space-separated in one cell to several cells

    الان این آخرین جمله ای که نوشتی رو خودت ترجمه کن فرخ

  5. #5
    Registered User
    Join Date
    06-27-2012
    Location
    Lincoln, NE
    MS-Off Ver
    2013
    Posts
    5

    Re: Seperating values that are space-separated in one cell to several cells

    یعنی فکر می کنم که مدیران اینجا خودشون درستش می کنن.

+ 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