+ Reply to Thread
Results 1 to 2 of 2

Loop filter multiple criteria different columns

  1. #1
    Registered User
    Join Date
    08-08-2008
    Location
    Johannesburg
    MS-Off Ver
    2007
    Posts
    55

    Loop filter multiple criteria different columns

    Hello Team

    I'm struggling with this one..
    trying to create a loop that

    1. Make 'unique values' list of MAIN category
    2. Filter the table based on that list
    3. Select it's SUB category and make a 'unique values' list of it
    4. Filter based on the SUB category list and run the code
    5. Start over with the next value of MAIN category

    This is my code:
    Please Login or Register  to view this content.
    While it's running Ok on the first MAIN Category value,
    It fails to continue to the next one.


    Can you help me spot the problem?

    Many thanks,
    Amit.
    Using Excel 2007.
    Amit Cohen

  2. #2
    Valued Forum Contributor
    Join Date
    09-19-2008
    Location
    It varies ...
    MS-Off Ver
    Office365 - 64bit
    Posts
    862

    Re: Loop filter multiple criteria different columns

    Attach a workbook with at least a sample of the data and I'll take a look. You will always get faster responses when you provide a sample workbook rather than require people to recreate your data from an explanation or by guessing.
    MatrixMan.
    --------------------------------------
    If this - or any - reply helps you, remember to say thanks by clicking on *Add Reputation.
    If your issue is now resolved, remember to mark as solved - click Thread Tools at top right of thread.

+ 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] Add multiple criteria to auto filter one by one via loop from a range / array
    By Ronnet2 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-08-2016, 07:25 AM
  2. Replies: 6
    Last Post: 10-16-2014, 08:42 AM
  3. Filter - sort by criteria in multiple columns using Colour..
    By vba_madness in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-29-2014, 10:53 AM
  4. Filter - Multiple Columns - Loop through Visible Rows issue
    By Vinod Krishna.C in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-11-2014, 05:30 PM
  5. [SOLVED] Filter to show multiple columns that satistfy single criteria
    By singerj6 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-13-2014, 02:34 PM
  6. 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
  7. Replies: 2
    Last Post: 06-15-2012, 05:34 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