+ Reply to Thread
Results 1 to 6 of 6

Thread: Extract numbers

  1. #1
    Registered User
    Join Date
    03-28-2008
    Posts
    71

    Extract numbers

    Hello,
    Hoping for some assistance please .I would like to have the list of numbers copied from COL A and placed into COL B. These lists are separated by other info. The first lot are in Row 18,then the next in Row 176,the next in R376 and so on. The amount of numbers in each group varies.
    Attached Files Attached Files
    Last edited by plato; 02-01-2012 at 05:21 AM. Reason: solved

  2. #2
    Forum Guru JBeaucaire's Avatar
    Join Date
    03-21-2008
    Location
    Bakersfield, CA
    MS-Off Ver
    2010
    Posts
    19,224

    Re: Extract numbers

    Put this formula in B1 and copy down:

    =IF(ISNUMBER(A1),A1,"")
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    “None of us is as good as all of us” - Ray Kroc
    “Actually, I *am* a rocket scientist.” - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    03-28-2008
    Posts
    71

    Re: Extract numbers

    Hello JBeaucaire,
    Thank you for very fast response.That works well.I was about to edit the post as further down I notice that some of the lists have numbers with an e on the end.For example row 949 15e.I wonder is there a way these could be included?

  4. #4
    Forum Guru JBeaucaire's Avatar
    Join Date
    03-21-2008
    Location
    Bakersfield, CA
    MS-Off Ver
    2010
    Posts
    19,224

    Re: Extract numbers

    Maybe we can look the other direction:

    =IF(D1<>"", A1, "")
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    “None of us is as good as all of us” - Ray Kroc
    “Actually, I *am* a rocket scientist.” - JB (little ones count!)

  5. #5
    Forum Guru martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    10,789

    Re: Extract numbers

    try
    =IF(ISNUMBER(SUBSTITUTE(A1,"e","")+0),A1,"")
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and a dabbler in Cisco
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  6. #6
    Registered User
    Join Date
    03-28-2008
    Posts
    71

    Re: Extract numbers

    Hello,
    Thank you both,it appears I now have two solutions,both working well as per attachment.Thank you for your time and efforts.
    Attached Files Attached Files

+ 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.2.0