+ Reply to Thread
Results 1 to 3 of 3

Sort and Elimination Help

  1. #1
    Registered User
    Join Date
    02-11-2009
    Location
    sadjf
    MS-Off Ver
    Excel 2007
    Posts
    15

    Sort and Elimination Help

    Okay here we go.

    I want to be able to specify certain machine numbers whose records (rows) I want to keep. All other machines that do not match these couple of machine numbers, I want deleted.

    What would be required to do this? An advanced sort?

    Ive attached a simple excel sheet as an example. Let us say I want to keep the records for the 1108, 1118, and 2201. All other machine rows should be deleted.
    Attached Files Attached Files

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Sort and Elimination Help

    if its only a couple use auto filter/custom does not = 1118 "and" does not =1108
    then delete the filtered rows
    if its more than 2 then use advanced filter as attached
    or do as in the alternative put your list in say column h then in e2 dragged down put

    =IF(ISNUMBER(MATCH(A2,$H$1:$H$16,0)),1,"")
    sort the lot by col E all the ones you want will be at the top
    Attached Files Attached Files
    Last edited by martindwilson; 04-08-2011 at 04:39 PM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    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

  3. #3
    Registered User
    Join Date
    02-11-2009
    Location
    sadjf
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Sort and Elimination Help

    That is exactly what I was looking for! The advanced filtering works the best for me.
    Thanks!

+ 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