+ Reply to Thread
Results 1 to 5 of 5

Advanced Filter

  1. #1
    Registered User
    Join Date
    05-31-2013
    Location
    Somewhere
    MS-Off Ver
    Microsoft 365
    Posts
    81

    Advanced Filter

    Hello all,

    I'm trying to create an advanced filter. I've attached a sample of the data, what I have figured out so far, but also what I'm hoping for the end result.

    My gap is what I have figured out vs the end result. I don't need all columns to be transferred over, and I don't know the best way to handle it.

    Also, is there a way that when the filtered cells (Figured Out tab - L3:M4) are updated, the table itself is updated without having to redo the advanced filter settings?

    Any help would be appreciated.
    Attached Files Attached Files

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,913

    Re: Advanced Filter

    Start your advanced filter process from your End Result sheet.

    That will allow you to select export range as End Result.
    List Range would be... "'Source Data'!$A$1:$G$6"
    Criteria range "'Filtered Data - End Result'!$E$2:$F$3"
    Copy to: "'Filtered Data - End Result'!$A$1:$C$1"

    As long as you have exact match for header records you want (Name, Temp Address, Date) in A1:C1 range. It will pull the info meeting your criteria.

    Once done. Excel will created 2 named ranges. 'Filtered Data - End Result'!Criteria and 'Filtered Data - End Result'!Extract.
    You can use these for future operation.

    As for second question, you can use small macro to do it.
    Ex:
    Please Login or Register  to view this content.
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

  3. #3
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,792

    Re: Advanced Filter

    Filtered Data - End Result

    A2=IF(CHOOSECOLS(FILTER('Source Data'!A2:G6,('Source Data'!A2:A6='Filtered Data - End Result'!E3)*('Source Data'!E2:E6='Filtered Data - End Result'!F3)),3,6,7)=0,"",CHOOSECOLS(FILTER('Source Data'!A2:G6,('Source Data'!A2:A6='Filtered Data - End Result'!E3)*('Source Data'!E2:E6='Filtered Data - End Result'!F3)),3,6,7))

  4. #4
    Registered User
    Join Date
    05-31-2013
    Location
    Somewhere
    MS-Off Ver
    Microsoft 365
    Posts
    81

    Re: Advanced Filter

    @CK76 Thank you. This was super helpful!!

  5. #5
    Registered User
    Join Date
    05-31-2013
    Location
    Somewhere
    MS-Off Ver
    Microsoft 365
    Posts
    81

    Re: Advanced Filter

    @CARACALLA

    Would you be able to explain this formula to me? I'm trying to figure out where I would place it and which problem it would solve.

+ 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] Advanced Filter Code : Criteria Range More Than 1 Row Breaks Filter
    By PaulGW in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-10-2021, 04:30 PM
  2. Replies: 0
    Last Post: 08-04-2017, 02:39 AM
  3. VBA Advanced Filter - Two Filters Without Deleting Bottom Filter Data In Same Column Range
    By hysterical.useless in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-14-2017, 02:54 PM
  4. 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
  5. Replies: 5
    Last Post: 12-19-2013, 06:58 AM
  6. advanced filter - button to re apply advanced filter across multiple sheets
    By motmac87 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-05-2013, 11:16 PM
  7. [SOLVED] advanced filter a range:Advanced Filter function
    By Il Principe in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-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