+ Reply to Thread
Results 1 to 3 of 3

Advanced Filtering where two or more criteria have to be met

  1. #1
    Registered User
    Join Date
    09-13-2017
    Location
    UK
    MS-Off Ver
    2016
    Posts
    3

    Advanced Filtering where two or more criteria have to be met

    Hi,
    I am producing a database in MS Access - which I can subsequently export into Excel if required - listing works to be carried out to many different properties. What I am hoping to do is highlight all of the addresses that amongst their many work items have had two or more specific items carried out, e.g. some properties may get new windows, some may get new doors but I would like to filter out all of the properties who get both new doors AND new windows but excluding those who only get one or the other. Is there a way to do this either in Access (or Excel as I can always import the table into there if it is easier)?

    Any help would be greatly appreciated, Thanks.

  2. #2
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: Advanced Filtering where two or more criteria have to be met

    If you only have two criteria, then you can use the AutoFilter method of Excel by using the Operator parameter.

    Example:
    Please Login or Register  to view this content.
    Any code provided by me should be tested on a copy or a mock up of your original data before applying it to the original. Some events in VBA cannot be reversed with the undo facility in Excel. If your original post is satisfied, please mark the thread as "Solved". To upload a file, see the banner at top of this page.
    Just when I think I am smart, I learn something new!

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2403 Win 11 Home 64 Bit
    Posts
    23,810

    Re: Advanced Filtering where two or more criteria have to be met

    In an Access query, you can set the parameter for "Windows" and "Doors" in the appropriate field.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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. Advanced filtering criteria fail when the number is not an integer!
    By feronimus in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-02-2017, 07:40 AM
  2. [SOLVED] Easy filtering method via vba/formula/advanced filtering?
    By jedemeyer1 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-10-2014, 12:35 AM
  3. More advanced advanced filtering
    By Acceleracer in forum Excel General
    Replies: 2
    Last Post: 02-06-2014, 09:02 PM
  4. Advanced filtering with a criteria list
    By jimmy13 in forum Excel General
    Replies: 4
    Last Post: 12-19-2013, 01:58 PM
  5. Excel 2007 : Advanced Filtering criteria
    By rocu in forum Excel General
    Replies: 1
    Last Post: 11-14-2008, 01:39 AM
  6. Advanced Filtering with multiple criteria
    By drumbody in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-16-2007, 08:51 AM
  7. [SOLVED] Advanced Filtering - Computed Criteria
    By KIM in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-28-2005, 05:06 PM

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