+ Reply to Thread
Results 1 to 6 of 6

Filter with multiple criteria

  1. #1
    Registered User
    Join Date
    05-27-2020
    Location
    Montréal, Canada
    MS-Off Ver
    365
    Posts
    3

    Filter with multiple criteria

    Hi all,

    I am struggling since a few days with writting a macro.

    - I want to create a macro which allows me to filter the data in the table in green according to the selected criteria of the section in orange and to copy the result in the table in yellow.

    - The Location is determined by an option button that only allows to select one location.

    - The Product are determined by check boxes and it is possible to select from none up to 4 products.

    - The Color are determined by check boxes and it is possible to select from none up to 5 colors.

    - I have already created the formulas so that the selected criteria of the option button and the check boxes appear in the table in orange.

    Regards
    Attached Files Attached Files
    Last edited by edesroch; 05-27-2020 at 11:20 PM.

  2. #2
    Forum Expert dangelor's Avatar
    Join Date
    09-06-2011
    Location
    Indiana, USA
    MS-Off Ver
    365 Pro Plus
    Posts
    2,274

    Re: Filter with multiple criteria

    Possibly...
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    05-27-2020
    Location
    Montréal, Canada
    MS-Off Ver
    365
    Posts
    3

    Re: Filter with multiple criteria

    Thank you for the code.

    Unfortunatly my problem still persists because the proposed code filters the data by line (Warehouse 1 + Product A + Blue ; Product B + Yellow regardless of the location; Product D regardless of the location and color) and not by column.

    I am looking to have as a result Product A, B or C that are Blue or Yellow and located in Warehouse 1.

    Regards

  4. #4
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: Filter with multiple criteria

    Please Login or Register  to view this content.
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  5. #5
    Registered User
    Join Date
    05-27-2020
    Location
    Montréal, Canada
    MS-Off Ver
    365
    Posts
    3

    Re: Filter with multiple criteria

    You nailed it! Thank you so much.

  6. #6
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: Filter with multiple criteria

    .........................................
    Thanks.gif
    Last edited by sintek; 05-28-2020 at 03:55 PM.

+ 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. FILTER with multiple OR criteria
    By mrpeepers in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-16-2020, 02:53 AM
  2. Multiple criteria filter of multiple tables with macro
    By reese_c_c in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 02-07-2018, 09:56 AM
  3. Replies: 0
    Last Post: 08-04-2017, 02:39 AM
  4. Filter Excel Data using vba multiple criteria multiple columns
    By pmyk in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-28-2013, 01:32 AM
  5. Need to filter multiple criteria in Label Filter
    By brassellc7994 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 04-04-2013, 12:54 PM
  6. Replies: 2
    Last Post: 06-15-2012, 05:34 PM
  7. [SOLVED] Filter with Multiple Criteria
    By [email protected] in forum Excel General
    Replies: 1
    Last Post: 09-30-2005, 10:05 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