+ Reply to Thread
Results 1 to 7 of 7

Unable to do data parsing into readable and useful format in Office 2010

  1. #1
    Registered User
    Join Date
    01-15-2014
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    5

    Lightbulb Unable to do data parsing into readable and useful format in Office 2010

    Hi,

    I have data in the format as attached in original data.txt. I want to convert it into the format as mentioned in Final desired output.xls,But Im unable to do this .Can someone help me out with this. I have like 50000-70000 lines of data similar to original data.txt.

    Thanks,
    Regards,
    theo28
    Attached Files Attached Files

  2. #2
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,372

    Re: Unable to do data parsing into readable and useful format in Office 2010

    Assumed your data in A2 and down:

    =TRIM(MID(SUBSTITUTE(TRIM(SUBSTITUTE($A$2,"*"," "))," ",REPT(" ",LEN($A$2))),(COLUMNS($A$2:A2)-1)*LEN($A$2)+1,LEN($A$2)))

    copied cross until shows blank cells

    Azumi
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    01-15-2014
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    5

    Exclamation Re: Unable to do data parsing into readable and useful format in Office 2010

    Quote Originally Posted by azumi View Post
    Assumed your data in A2 and down:

    =TRIM(MID(SUBSTITUTE(TRIM(SUBSTITUTE($A$2,"*"," "))," ",REPT(" ",LEN($A$2))),(COLUMNS($A$2:A2)-1)*LEN($A$2)+1,LEN($A$2)))

    copied cross until shows blank cells

    Azumi
    Hi Azumi and Excel users,

    Thanks for the help but it does not give the output desired by me. I was able to make it little legible by using "Text to columns and separate by * ".This is represented in 'original sheet' of original text parsed but incomplete.xls The final output has to be in a single row as shown in the 'final sheet'. Could you or anyone else help me attain this desired output?

    Thanks.
    Regards,
    theo28
    Attached Files Attached Files

  4. #4
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,372

    Re: Unable to do data parsing into readable and useful format in Office 2010

    Fix it...

    =TRIM(IF(COUNTA('original sheet'!A3:A7)=1,'original sheet'!A3,IF(COUNTA('original sheet'!A3:A7)=2,TRIM('original sheet'!A3)&TRIM('original sheet'!A4),IF(COUNTA('original sheet'!A3:A7)=3,TRIM('original sheet'!A3)&TRIM('original sheet'!A4)&TRIM('original sheet'!A5),IF(COUNTA('original sheet'!A3:A7)=4,TRIM('original sheet'!A3)&TRIM('original sheet'!A4)&TRIM('original sheet'!A5)&TRIM('original sheet'!A6),IF(COUNTA('original sheet'!A3:A7)=5,TRIM('original sheet'!A3)&TRIM('original sheet'!A4)&TRIM('original sheet'!A5)&TRIM('original sheet'!A6)&TRIM('original sheet'!A7)))))))

    Hope it works
    Attached Files Attached Files

  5. #5
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,372

    Re: Unable to do data parsing into readable and useful format in Office 2010

    Repost the file
    Attached Files Attached Files

  6. #6
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,372

    Re: Unable to do data parsing into readable and useful format in Office 2010

    Or this without condition:

    =CONCATENATE(TRIM(A3),TRIM(A4),TRIM(A5),TRIM(A6),TRIM(A7))

    Azumi

  7. #7
    Registered User
    Join Date
    01-15-2014
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    5

    Exclamation Re: Unable to do data parsing into readable and useful format in Office 2010

    Hi Azumi
    Thanks for your response.

    I have 50000-70000 lines of data which I want to process. I want to automate it or if one formula can be dragged to update multiple rows,it would be very useful.
    Also there is difference in number of lines between successive entries as well as number of rows that actually have data.
    Im attaching a sample of 200 rows which is around 1% of the data that needs to be processed in the above manner.

    Regards,
    theo28
    Attached Files Attached Files
    Last edited by theo28; 01-16-2014 at 06:37 AM.

+ 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. Replies: 1
    Last Post: 10-12-2012, 05:59 AM
  2. Replies: 1
    Last Post: 06-26-2012, 09:53 PM
  3. Replies: 2
    Last Post: 11-18-2010, 02:56 PM
  4. Help Turning Mass of Data into Readable Format
    By dvent in forum Excel General
    Replies: 1
    Last Post: 03-22-2010, 06:33 AM
  5. [SOLVED] Office 2003 documents readable by Office 2002 applications?
    By Captain Infinity in forum Excel General
    Replies: 2
    Last Post: 05-10-2005, 06:06 PM

Tags for this Thread

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