+ Reply to Thread
Results 1 to 5 of 5

How to copy data from cells without Alt+Enter..

Hybrid View

  1. #1
    Registered User
    Join Date
    06-24-2012
    Location
    Home
    MS-Off Ver
    Excel 2010
    Posts
    15

    Question How to copy data from cells without Alt+Enter..

    Hi to all,
    I want to copy data from a column, in each cell I have entered data which is "Form No." and "Date" with manually entered alt+enter to separate these entries. But now I want separate Data before alt+enter and after alt+enter to copy in two new columns.
    I have attached a file to show what I need.
    If someone can help I'll be thankful.

    BYE.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: How to copy data from cells without Alt+Enter..

    Hi,

    Yes you can.

    Highlight the column the data is in (column B in your example)
    Select "Text to Columns" from the "Data" menu
    Make sure "Delimited" is selected and click "Next"
    In the "Delimiters" section, untick everything already selected and tick "Other"
    Press and hold the Alt key and type "010" (zero one zero - without the quotes) on the numeric keypad at the right of your keyboard rather than the numbers along the top
    When you let go of Alt, the preview pane should show what you're after. Click "Finish" and it's done.
    Last edited by Spencer101; 06-24-2012 at 06:19 AM.
    If I've been of help, please hit the star

  3. #3
    Registered User
    Join Date
    06-24-2012
    Location
    Home
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: How to copy data from cells without Alt+Enter..

    Hello Spencer101,
    Thanks for your help. This is what I needed.


    Thank you.

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,860

    Re: How to copy data from cells without Alt+Enter..

    To get the Form No you can use this in F2:

    Formula: copy to clipboard
    =LEFT(B2,SEARCH(CHAR(10),B2)-1)


    and to get the date you can use this in G2:

    Formula: copy to clipboard
    =MID(B2,SEARCH(CHAR(10),B2)+1,255)


    Copy the formulae down as far as you need to.

    Hope this helps.

    Pete

  5. #5
    Registered User
    Join Date
    06-24-2012
    Location
    Home
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: How to copy data from cells without Alt+Enter..

    Quote Originally Posted by Pete_UK View Post
    To get the Form No you can use this in F2:

    Formula: copy to clipboard
    =LEFT(B2,SEARCH(CHAR(10),B2)-1)


    and to get the date you can use this in G2:

    Formula: copy to clipboard
    =MID(B2,SEARCH(CHAR(10),B2)+1,255)


    Copy the formulae down as far as you need to.

    Hope this helps.

    Pete
    Hi Pete,
    Thanks for your help too. This also works as I need.

    Thank 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