+ Reply to Thread
Results 1 to 7 of 7

Delete not meeting criteria, criteria in column another sheet (Filter)

  1. #1
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Delete not meeting criteria, criteria in column another sheet (Filter)

    Hi.
    This code made by ron de broin.
    I have two tabs, if criteria (column A tab("Sheet2") not meeting in column A tab("Sheet1")), then delete rows.
    In column A tab("Sheet1") only stay data case meet in column A tab("Sheet2").

    Please Login or Register  to view this content.
    Thank you!!
    Attached Images Attached Images
    "No xadrez nem sempre a menor dist?ncia entre dois pontos ? uma linha reta" G. Kasparov.

    If your problem is solved, please say so clearly, and mark your thread as Solved: Click the Edit button on your first post in the thread, Click Go Advanced, select b from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Edit button will not appear -- ask a moderator to mark it.

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Delete not meeting criteria, criteria in column another sheet (Filter)

    In some circumstances, Filter does not work with numbers. Try to format the columns in to text, or attach a sample.

  3. #3
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Re: Delete not meeting criteria, criteria in column another sheet (Filter)

    Look my file.

    I want delete data execpt criteria data.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Delete not meeting criteria, criteria in column another sheet (Filter)

    Try the attached.
    Attached Files Attached Files

  5. #5
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Re: Delete not meeting criteria, criteria in column another sheet (Filter)

    My bad english kill me...

    Maybe i expressed myself wrong.

    Code need delete all data but not delete criteria.

    In my test code delete number criteria

  6. #6
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Delete not meeting criteria, criteria in column another sheet (Filter)

    Filter is not suitable for this task. Try the attached.
    Attached Files Attached Files
    Last edited by AB33; 10-06-2016 at 11:41 AM.

  7. #7
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Re: Delete not meeting criteria, criteria in column another sheet (Filter)

    Thank you!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Count Data Meeting Criteria Across Columns Meeting Criteria
    By idelta in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-06-2015, 03:53 PM
  2. Replies: 1
    Last Post: 12-12-2014, 06:46 AM
  3. Replies: 4
    Last Post: 08-01-2012, 07:31 AM
  4. Macro to delete rows meeting criteria
    By D_N_L in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-23-2012, 05:21 AM
  5. need to sum third column if meeting 2 different criteria
    By hydro in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-27-2011, 04:28 PM
  6. Sorting and Delete rows meeting criteria based on sorting criteria
    By ron2k_1 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-10-2011, 02:40 PM
  7. Loop to delete rows meeting criteria
    By narrowgate88 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-18-2009, 04:54 PM

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