+ Reply to Thread
Results 1 to 3 of 3

Deleting rows using complex(custom) filtering

  1. #1
    Registered User
    Join Date
    02-18-2011
    Location
    S, France
    MS-Off Ver
    Excel 2010
    Posts
    2

    Deleting rows using complex(custom) filtering

    Hi all,

    I'm new to XL programming therefore we will be hopefully seeing each other more often.

    At the moment I'm helping out molecular biologists with an excel sheet they need 'filtered" in a specific way, but i cant seem to get my head around it since I'm not that good

    In the attached example i need to write a script which will filter out some specific occurences of genes and their positions. The VBA filter should in practice:

    delete all the the ROWS of data WHERE:
    = for a unique "Gene.name" ALL the "Position.build" numbers are the SAME

    The rest must be untouched.

    For example:
    most of the rows contain "gene.name"s with alot of same "position.build"s but a few which are different or a group of "position.build"s that are different. In this case everithing should be kept as is and untouched.

    Please Login or Register  to view this content.
    Wooow what a challenge ah? at least for me it is untill i learn...

    Like I said, i'm new to this all and would appretiate some pointers on how to use the code and if possible comments within code so that i could learn and then be more proficient and be able to help around the lab.
    Attached Files Attached Files
    Last edited by djreklame; 02-18-2011 at 01:14 PM. Reason: to comply with rules

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: The GENE challenge :)

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    02-18-2011
    Location
    S, France
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Deleting rows using complex(custom) filtering

    I changed it accordingly, hope it suits the rules now.

    Also I would like to add that I would appreciate any links to tutorials concerning this topic specifically.

+ 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