+ Reply to Thread
Results 1 to 4 of 4

Remove undesired values in a column

  1. #1
    Registered User
    Join Date
    11-02-2011
    Location
    Delhi
    MS-Off Ver
    Excel 2010
    Posts
    43

    Remove undesired values in a column

    Hello!
    I am dealing with a large set of numbers (>32000). First I have to remove all negative numbers in the column. Is there any quicker way so that instead of searching and removing one by one?

    I have to restrict the numbers to 32000. So I want to remove very close values from the list so that total numbers remains within the limit of 32k. Is there a way out?

    Thanks in advance.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: How to remove undesired values in a column

    Depends on what you are allowed to do. You can sort by that column and then delete rows 2 through whatever which are negative. Or you can filter using a "number filter" and "Less than" 0. then delete those rows.

    I am not sure what you mean by your second statement in your post.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    11-02-2011
    Location
    Delhi
    MS-Off Ver
    Excel 2010
    Posts
    43

    Re: How to remove undesired values in a column

    Thanks ChemistB. For the first problem do I have to remove the numbers one by one or it will sort and remove those rows automatically?
    In second query I want to remove number value which is very close to next or previous number value in the column. I need to do this to restrict the total rows to 32k. Could I make it clear? Thanks again.

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: How to remove undesired values in a column

    Once you filter, you can select all the rows still showing, right click and "Delete Row" then Clear the filter.

    For the second part, in a column next to the column of numbers (assuming numbers are accending) enter an equation like so

    =AND(A3-A2<0.1, B1=FALSE) (replacing 0.1 with whatever you deem to be close enough together to want to delete.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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