+ Reply to Thread
Results 1 to 5 of 5

Importing Data from Text file to proper format

  1. #1
    Registered User
    Join Date
    03-21-2013
    Location
    Ohio
    MS-Off Ver
    Excel 2010
    Posts
    3

    Importing Data from Text file to proper format

    Hi all,

    I am in a pickle with a set of customer data that is currently in a text file. I am trying to convert this file to more organized manner.

    Example: ****These are not actual data but masked data****

    Text file look like this

    "WEI SUET SI","91125056257","" 31,"WEI SUET SUM","91125625062","" 46,"WEI SUET
    TOH","91124891330","" 30,


    I am trying to organized my data into
    Example:

    Column1 ___ Column2 ___ Column3 ___ Column4
    WEI SUET SI ___ 91125056257 ___ "" ___ 31
    WEI SUET SUM ___ 91125625062 ___ "" ___ 46
    WEI SUET TOH ___ 91124891330 ___ "" ___ 30


    and so on..

    ****These are not actual data but masked data****
    Attached is the example of the text file
    test1.txt


    I tried using the delimited function in Excel but it didn't result the formatting that I want
    I seek advise from all the guru here.

    Thank you.

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Importing Data from Text file to proper format

    strange file format, there are some hex 0A characters, it's not easy to import
    If solved remember to mark Thread as solved

  3. #3
    Registered User
    Join Date
    03-21-2013
    Location
    Ohio
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Importing Data from Text file to proper format

    Is there any simple way to organized this file ?

  4. #4
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Importing Data from Text file to proper format

    try this code
    Please Login or Register  to view this content.
    Last edited by patel45; 03-22-2013 at 06:32 AM.

  5. #5
    Registered User
    Join Date
    03-21-2013
    Location
    Ohio
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Importing Data from Text file to proper format

    I combined this code with some delimited function and
    this code work like a charmed. Thank you so much.

    Problem solved appreciate it alot.

+ 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