+ Reply to Thread
Results 1 to 7 of 7

Advanced filter v Query

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    09-17-2009
    Location
    Torquay, England
    MS-Off Ver
    Excel 2013
    Posts
    253

    Advanced filter v Query

    Hi,

    I have a spread-sheet with a wide range of fields that I need to set up to filter to separate tabs based on a specified criteria.

    I'm not sure what is the best way to do this, I can see from looking online that one way is to use the advanced filter function and another option might be a query. I would really welcome some advice on the best way to proceed.

    If possible I would like to set it up so that the filter works automatically (doesn't need reseting each time).

    Please find attached a simplified example of what I am trying to achieve. Table 1 represents the full data set and table 2 and table 3 represent examples of what I would like to be able to do. Table 3 is slightly different as the columns are not adjacent, not sure if that would require a different approach?

    Any help would be great, please let me know if I haven't explained myself clearly.

    Regards

    Matt
    Attached Files Attached Files

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,644

    Re: Advanced filter v Query

    Matt

    Can you explain further exactly what you want to do, especially the 'automatically' part?
    If posting code please use code tags, see here.

  3. #3
    Forum Contributor
    Join Date
    09-17-2009
    Location
    Torquay, England
    MS-Off Ver
    Excel 2013
    Posts
    253

    Re: Advanced filter v Query

    Hi,

    Thanks for getting back.

    I can see that I could filter all the records which are "Yellow" to another sheet using Advance Filter, but I think I would have to reset the filter set up each time new records were added. I am looking for something that would automatically add them to the second work sheet which is only picking up records with "Yellow" as the criteria.

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,644

    Re: Advanced filter v Query

    Matt

    You can't filter and automatically copy to a new sheet using Advanced Filter.

    Of course you could filter in-place and then manually do the copy.

  5. #5
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Advanced filter v Query

    Your profile says Ex2003
    Your file says Ex2007 or higher

    so I don't know it will work for you but you can try

    done with PowerQuery (Get&Transform)

    after update your source table and to see changes in other tables right click on these tables and select Refresh
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    09-17-2009
    Location
    Torquay, England
    MS-Off Ver
    Excel 2013
    Posts
    253

    Re: Advanced filter v Query

    Hi

    Sorry I hadn't logged on for a couple of years, I now have Excel 2013.

    Thanks for responding to this. When I add a record and refresh I get the message "initialisation of data source failed', so I can't get it to work.

  7. #7
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Advanced filter v Query

    1. change excel version in your profile
    2. for Ex2013 Pro Plus you;ll need to download and install PowerQuery add-in from MS site. It's free. (or upgrade to Ex2016 or higher with PQ built-in)

    after that all should work

+ 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. Replies: 0
    Last Post: 08-04-2017, 02:39 AM
  2. 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
  3. 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
  4. Replies: 5
    Last Post: 12-19-2013, 06:58 AM
  5. 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
  6. Replies: 1
    Last Post: 04-20-2010, 04:14 AM
  7. 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