+ Reply to Thread
Results 1 to 4 of 4

Dynamic filters using multiple criteria

  1. #1
    Registered User
    Join Date
    07-10-2015
    Posts
    1

    Dynamic filters using multiple criteria

    I am looking for some advanced level dynamic filtering advice.

    I have successfully applied a dynamic filter to my data and on another tab using an index function of the main data, I am able to only show the data relevant based on 1 drop down list criteria (I.e. Department number).

    I would like to be able to choose the columns that I index based on additional drop down list criteria. Is this possible? For example my main data has values in an actuals, business plan, and June update column. On my secondary tab, I am currently just indexing for a selected department number, but I would like to choose either business plan or June update as well and just show the relevant values based on my selection. Is this possible using arrays/sub arrays? I would prefer not to write a macro if possible.

    Thanks in advance!


    Sent from my iPhone using Tapatalk

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Dynamic filters using multiple criteria

    Hi, welcome to the forum

    Yes, this sounds possible, but to offer better help, I suggest that you upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    06-04-2012
    Location
    MA, USA
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Dynamic filters using multiple criteria

    Below is an picture of my spreadsheet so you can more easily visualize what I am working with.

    7-10-2015 10-30-24 AM.jpg

    The picture is of the secondary tab and the headers are a replica of the main data tab. However, on the secondary tab I would like to only show BP YTD or JU YTD based on the drop down menu in cell C3. Is there a way to only select certain coulmns of data from the main data tab when using dynamic filters and the INDEX/SMALL functions?

    The Department drop dwon menu controls which department's data shows up below. Ex. if i change department to "110053", then that will replace what is shown in my picture.

    I added 3 helper columns to my main data tab and the formula I am using on the secondary tab is =IFERROR(INDEX(Sheet1!$G$20:$M$1077,Sheet1!$P20,COLUMNS($C$5:C5)),"")
    Last edited by aas72; 07-10-2015 at 10:38 AM.

  4. #4
    Registered User
    Join Date
    06-04-2012
    Location
    MA, USA
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Dynamic filters using multiple criteria

    Thanks for the suggestion. Attached is a copy of my workbook.

+ 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. Dynamic filters (different strings) for multiple sheets in the same workbook
    By wildradical in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-03-2014, 08:30 AM
  2. Replies: 3
    Last Post: 07-25-2014, 03:43 AM
  3. [SOLVED] How To... array formula that filters by multiple criteria on same column
    By jprealini in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-18-2014, 11:30 AM
  4. Replies: 4
    Last Post: 07-24-2012, 01:21 PM
  5. Advanced filters with multiple criteria
    By Alicita in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-01-2011, 09:24 AM

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