+ Reply to Thread
Results 1 to 4 of 4

Extract only text and numbers from a range that includes 0's and ""

  1. #1
    Registered User
    Join Date
    10-11-2011
    Location
    Denver, CO
    MS-Off Ver
    Excel 2007
    Posts
    6

    Extract only text and numbers from a range that includes 0's and ""

    Any ideas, using only Excel functions, on how to extract only nonblank text and nonzero numerical values from a column of data into a different column?

  2. #2
    Valued Forum Contributor tlafferty's Avatar
    Join Date
    04-08-2011
    Location
    United States, Tacoma, WA
    MS-Off Ver
    Excel 2010, Excel 2013 Customer Preview
    Posts
    1,112

    Re: Extract only text and numbers from a range that includes 0's and ""

    Assuming test values start in A1, put this formula in the first cell to which you want to "extract" values:
    Please Login or Register  to view this content.
    . After filling the formula down, copy and paste values in that column to convert to values.
    If your question has been satisfactorily addressed, please consider marking it solved. Click the Thread Tools dropdown and select Mark thread as solved.
    Also, you might want to add to the user's reputation by clicking the star icon in the lower left corner of the post with the answer- it's why we do what we do...

    Thomas Lafferty
    Analyst/Programmer

  3. #3
    Registered User
    Join Date
    10-11-2011
    Location
    Denver, CO
    MS-Off Ver
    Excel 2007
    Posts
    6

    Red face Re: Extract only text and numbers from a range that includes 0's and ""

    I apologize for not being specific. The result I'm looking for is an array that contains only nonblank and nonzero values with no blank or 0 values inbetween the selected values; e.g., if the text range covers 100 cells say, and 25 noncontiguous cells have something other than a blank or zero, how can I extract a 25-cell array containing those values?

    Thanx!

  4. #4
    Valued Forum Contributor tlafferty's Avatar
    Join Date
    04-08-2011
    Location
    United States, Tacoma, WA
    MS-Off Ver
    Excel 2010, Excel 2013 Customer Preview
    Posts
    1,112

    Re: Extract only text and numbers from a range that includes 0's and ""

    Oops...no code...just functions.
    Last edited by tlafferty; 10-26-2011 at 04:40 PM.

+ 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