+ Reply to Thread
Results 1 to 5 of 5

Convert text to numbers and move appropriate rows to another sheet.

  1. #1
    Forum Contributor
    Join Date
    03-25-2011
    Location
    London, England
    MS-Off Ver
    office 2021
    Posts
    318

    Convert text to numbers and move appropriate rows to another sheet.

    Hi Guys
    I have a column of numbers as text. I can convert it to a number but not automatically or in a Macro that will recognise it so that it can be converted. I know it can be easily done but cannot think my way through.
    I want to have a Macro or function what will recognise the cells as numbers, *** off the superfluous apostrophe and zeros leaving me with a clean number. I then want to move these rows out of this sheet into another.
    I have popped us an Excel book with two sheets what I have and what I want.
    Eventually I will want to remove the rows with numbers to another sheet called numbers and have showed that on the sheets though if I get the first bit would be great.

    Thanks in advance.
    Mark
    Attached Files Attached Files
    Last edited by markDuffy; 02-10-2013 at 07:49 AM.

  2. #2
    Forum Contributor
    Join Date
    03-25-2011
    Location
    London, England
    MS-Off Ver
    office 2021
    Posts
    318

    Re: Convert text to numbers and move appropriate rows to another sheet.

    the adapted word is not a slang just the system being a little over zealous. Same letter we use when someone has passed away. Rest in Pease. perhaps i should have used Remove.

  3. #3
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Convert text to numbers and move appropriate rows to another sheet.

    1) I ran the added macro.

    2) Then I used CNTRL + H

    seek '

    replace all (leave empty)

    Replace all

    3) Then I selected the whole range and choose for sort on column F from small to large.
    excel 2007 => data => sort


    See the attached file.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  4. #4
    Forum Contributor
    Join Date
    03-25-2011
    Location
    London, England
    MS-Off Ver
    office 2021
    Posts
    318

    Re: Convert text to numbers and move appropriate rows to another sheet.

    Absolutely fabulous. Much thanks. So elegant

  5. #5
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Convert text to numbers and move appropriate rows to another sheet.

    Thanks for the reply.

    Glad i could help.

    If your question is solved, will you mark your question as solved.

    To add points to the reputation of the helper you can click on the start on the left side.

+ 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