+ Reply to Thread
Results 1 to 9 of 9

Excel 2007 : finding and returning the numeric cells in a column

  1. #1
    Registered User
    Join Date
    01-27-2010
    Location
    prague
    MS-Off Ver
    Excel 2010
    Posts
    52

    finding and returning the numeric cells in a column

    hi,

    i have an excel sheet with multiple rows of entries in column A. some cells are text, some are numbers, some are na(), etc. is there a function to extract only the numeric cells and output them to, say, column B? along the same line, can i also extract just the text, or the na(), etc?

    i know i can use the data filter, and then do a copy-paste, but this gets very tedious if i have many such columns to work on.

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: finding and returning the numeric cells in a column

    You might be able to use ISNUMBER, ISTEXT, ISNA, ISERR, ISERROR.....etc. functions
    or a combination to suit.

    See the attached.
    Attached Files Attached Files
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  3. #3
    Registered User
    Join Date
    01-27-2010
    Location
    prague
    MS-Off Ver
    Excel 2010
    Posts
    52

    Re: finding and returning the numeric cells in a column

    thanks for your quick reply there. is there a way to extract as well as collate them into chunks of continuous cells, for easier further processing?

  4. #4
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: finding and returning the numeric cells in a column

    With the example posted, try sorting column A only.

    Does this help?

    Note the potential problem with dates and other numeric values.

    If it is not what you are after you would do best to post a sample workbook showing Before and After.

    It should clearly illustrate your problem and not contain any sensitive data.

    The possibilities are endless, seeing your data types would be a good start.

  5. #5
    Registered User
    Join Date
    01-27-2010
    Location
    prague
    MS-Off Ver
    Excel 2010
    Posts
    52

    Re: finding and returning the numeric cells in a column

    hi Marcol, pls see attached excel to understand what i am referring to.

    what i have done was to basically extend from what you have shown earlier, by manual copy/paste-link of the filled cells. i want to remove the empty cells between the extracted numbers/text, as well as retain their original location, in case the original data has to be changed. is there a more automatic way to carry out this series of actions?

  6. #6
    Registered User
    Join Date
    01-27-2010
    Location
    prague
    MS-Off Ver
    Excel 2010
    Posts
    52

    Re: finding and returning the numeric cells in a column

    sorry, here is the excel file.
    Attached Files Attached Files

  7. #7
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: finding and returning the numeric cells in a column

    Where is your attachment?

    [EDIT]

    That was bad timing, I see it now!!

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

    Re: finding and returning the numeric cells in a column

    There are a few alternatives but if you want to use formulae then using a key of some sort is probably worth while

    I've assumed Logicals are to be treated as "Other" - you don't stipulate that.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    01-27-2010
    Location
    prague
    MS-Off Ver
    Excel 2010
    Posts
    52

    Re: finding and returning the numeric cells in a column

    thanks. those functions look really complicated...will have to take some time to digest them

+ 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