+ Reply to Thread
Results 1 to 3 of 3

Autofilter options to be displayed as dropdown on another sheet

  1. #1
    Forum Contributor
    Join Date
    09-17-2014
    Location
    UK
    MS-Off Ver
    2007
    Posts
    117

    Autofilter options to be displayed as dropdown on another sheet

    I have a large data set on sheet 1 and which feeds some reports on sheet 2.

    I want the user to be able to customise the reports by essentially filtering criteria on sheet 1 but without having actual access to it.

    The idea is to be able to access the values of the autofilter in another sheet, so that if they select a value from say column a, the selections for column b will reduce (as it does at source), which thereby prevents them from making invalid selections as the criteria will reduce according to previous selections for other columns.

    I currently have a unique filtered list from each column which I use to provide a dropdown (through the data validation option). This is ok, but the user can select multiple criteria which filters out all the data, giving no results. I have a message box informing them of this, however I'd like to prevent them from doing this instead of telling them afterwards by making such criteria unavailable.

    So I suppose the question is how do I get the available autofilter criteria into a cell on a different sheet using data validation?

    Or is their another way to achieve this?

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Autofilter options to be displayed as dropdown on another sheet

    You're describing a data table Slicer. That feature was added to Excel 2013 and later.

    Beyond column filters: Slicers on tables


    If you don't have access to Excel 2013, I suppose you could do it with VBA.

    Quote Originally Posted by BuZZarD73 View Post
    I currently have a unique filtered list from each column which I use to provide a dropdown (through the data validation option).
    Could you to better describe exactly how you do this and a provide an example workbook.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Forum Contributor
    Join Date
    09-17-2014
    Location
    UK
    MS-Off Ver
    2007
    Posts
    117

    Re: Autofilter options to be displayed as dropdown on another sheet

    Thanks for the response.
    We don't yet use 2013 at work so I'll have to wait until around the year 2020 before that becomes available

    I have found a work around which essentially achieves my aim, by immediately applying the user filter selections on the worksheet_change event, instead of waiting for all the selections to be made and then telling the user there's no data, without indicating which selection was responsible.

    Quote Originally Posted by BuZZarD73 View Post
    I currently have a unique filtered list from each column which I use to provide a dropdown (through the data validation option).
    Could you to better describe exactly how you do this and a provide an example workbook.
    From the main dataset (sheet 1), I copy the unique values from each column to sheet 3 as individual lists.
    I then sort each list into alphabetical order and this provides the data validation lists for user selection on sheet 2.
    The user selects their options from the validation lists displayed on the report generator (sheet 2) and this filters sheet 1 before running the report to pull various fields into a table/graphs etc.

    Ideally, the options in sheet 2 would mirror the autofilter options on sheet1 directly, without having to go through list validation, however applying the filters on selection does achieve the result I was looking for.

    Thanks.

+ 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] Filter options displayed on separate sheet
    By macrorookie in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-07-2014, 11:40 AM
  2. [SOLVED] Protect a Sheet with Password and autofilter options
    By devpp in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-11-2013, 07:26 AM
  3. Cull dropdown list options based on selection in another dropdown
    By Kiffar in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-20-2012, 01:53 AM
  4. Replies: 6
    Last Post: 02-03-2010, 10:57 AM
  5. Chart displayed is selected via a dropdown menu
    By Buster1320 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-15-2008, 06:15 AM
  6. Capturing the Excel AutoFilter Sorting Event-sort and autofilter options
    By Kognyto in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-11-2008, 05:36 PM
  7. offer dropdown options based on another dropdown
    By Conor in forum Excel General
    Replies: 2
    Last Post: 01-13-2006, 12:28 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