+ Reply to Thread
Results 1 to 12 of 12

Spliting the data

  1. #1
    Registered User
    Join Date
    09-23-2008
    Location
    veraval
    Posts
    39

    Spliting the data

    Dear guru........

    i have export some data (contacts) from my mobile in excel in the following format

    SURESH"""""""""""'',""""""""""9852653563""""""""""suresh@ril.com""""""""""""""
    PRADEEP GOSWAMI""""""""",""""""""02836226358""""""""""""umamarine@yahoo.com

    total 1000 contacts in this format now i want to split it them with suitable format
    pls guide for it.
    I tried for Text to column but the exported data is not in the sequence.
    regds
    devesh
    Last edited by devesh.agrawal; 04-03-2009 at 12:31 AM.

  2. #2
    Registered User
    Join Date
    09-23-2008
    Location
    veraval
    Posts
    39

    Re: Spliting the data

    any body can help in this matter

  3. #3
    Forum Contributor
    Join Date
    03-31-2009
    Location
    Childers QLD, Australia
    MS-Off Ver
    Excel 2003, 2007 & 2013
    Posts
    128

    Post Re: Spliting the data

    Hi,

    First thing you can do is use Ctrl H to replace data.

    In the Find put 2 "" and in the replace put 1 ;

    Use replace all once. Then

    In the Find put 2 ;; and in the replace put 1 ;

    Use replace all intill a message states that there are no more.

    You can now use DATA Text to columns using ; as the delimiter.

    Cheers Tony

  4. #4
    Registered User
    Join Date
    09-23-2008
    Location
    veraval
    Posts
    39

    Re: Spliting the data

    can i sorting the complex data through substitute function is yes pls help
    regds
    devesh

  5. #5
    Registered User
    Join Date
    09-23-2008
    Location
    veraval
    Posts
    39

    Re: Spliting the data

    Can i resolved this problem via substitute function

    regds
    dev...

  6. #6
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Spliting the data

    In your first example you have 2 apostrophe's prior to the first comma, if this is a typo (ie should be "" or " as opposed to '') then I believe (based on sample) that Text to Columns will work without incident, set Delimiter to " and ensure to check "Treat Consecutive Delimiters as One".

    Post a sample file if you are having problems - be sure to randomise names and remove real phone numbers...

  7. #7
    Registered User
    Join Date
    09-23-2008
    Location
    veraval
    Posts
    39

    Re: Spliting the data

    thnx donkeyote & tony
    it works

  8. #8
    Registered User
    Join Date
    09-23-2008
    Location
    veraval
    Posts
    39

    Re: Spliting the data

    sir,

    i m unable to resolve the problem, due to data is not in sequence pls find the attachment for your help pls check and suggest your replies,
    Attached Files Attached Files
    Last edited by devesh.agrawal; 04-03-2009 at 11:50 PM.

  9. #9
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Spliting the data

    Please confirm this data is not REAL... if it is real please remove the attachment.

    To answer your question... you may find running as Delimited with Comma Separator and with a Text Qualifier set to "" you get slightly better results.

  10. #10
    Registered User
    Join Date
    09-23-2008
    Location
    veraval
    Posts
    39

    Re: Spliting the data

    thnx to all

    now i replace the existing attachment to xls file of contacts
    is there any other method to manage proper data

    with text to column i m unable to get some of the data in proper like first name displays in last name, contact no. diplays is email id etc...
    pls help
    Last edited by devesh.agrawal; 04-03-2009 at 11:53 PM.

  11. #11
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Spliting the data

    devesh.agrawal

    Text to Columns has nothing to do with your problem I'm afraid. Your problem put simply, is because the data has been physically stored in the incorrect field in whichever application you have retrieved the data from, this is plainly obvious based on the delimiter positioning. To fix this you should therefore alter the source such that the data is being stored correctly in the first instance. Failing that you will need to update the post text to columns data.

    I should also like to add that based on the sample file it would appear to be the case that only names are an issue so this should not take you too long to resolve... one approach (post Text to Columns run as previously advised):

    First push all names into First Name Column, how ?

    Highlight Column B
    Edit -> GoTo -> SpecialCells -> Blanks -> OK
    Enter: = then navigate to the name in D and press CTRL + ENTER

    All blanks in Column B should now have been populated with the respective names in D.

    Now Copy Column B and Edit -> Paste Special -> Values over B (to dispense with the inserted formulae)

    You can now clear Column D altogether.

    At this point you have a good starting point for splitting out the name in Column B to First / Middle / Last if needed.

  12. #12
    Registered User
    Join Date
    09-23-2008
    Location
    veraval
    Posts
    39

    Re: Spliting the data

    thnx donkeyote
    it works....
    full points to you

+ 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