+ Reply to Thread
Results 1 to 4 of 4

Adding a 3rd criteria to a filter.

  1. #1
    Forum Contributor
    Join Date
    05-05-2004
    MS-Off Ver
    Office 365
    Posts
    651

    Adding a 3rd criteria to a filter.

    As you can see below i have 2 criteria for excluding for a new list. Oddly when i add a 3rd criteria to the FIELD:=2 it errors.


    Please Login or Register  to view this content.

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Adding a 3rd criteria to a filter.

    You can only Autofilter more than 2 values if the are an exact match.
    Either look at using an Advanced filter, or put a formula in a spare column that returns (for example) true or false & filter on that.

  3. #3
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Arrow

    Or just use an advanced filter …

    And SpecialCells is useless as the Copy method yet works only with visible cells !
    Last edited by Marc L; 09-15-2019 at 12:58 PM.

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Adding a 3rd criteria to a filter.

    You could use this formula to filter on
    =AND(OR(Y2={"Kit Component","Live Product","Replacement Part"}),C2<>"FP", SUM(COUNTIF(B2,{"wf*","cush*"}))=0)

+ 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. Adding more then two criteria to auto filter
    By BORUCH in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-07-2018, 01:26 PM
  2. adding a second Advanced Filter criteria list
    By nigelog in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-28-2018, 06:49 AM
  3. Replies: 0
    Last Post: 08-04-2017, 02:39 AM
  4. Macro to filter a pivot whilst looping through filter criteria in a variable list.
    By Alistairm88 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-29-2015, 04:25 AM
  5. Replies: 6
    Last Post: 10-16-2014, 08:42 AM
  6. Advanced Filter : One Criteria Cell Breaks the Filter - Returns Only Headers
    By PaulGW in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-28-2014, 10:06 AM
  7. Advanced Filter VBA - Adding More Criteria
    By faboualfa in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-24-2007, 02:19 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