+ Reply to Thread
Results 1 to 8 of 8

unable to display only filtered data in dropdown

  1. #1
    Registered User
    Join Date
    11-29-2020
    Location
    india
    MS-Off Ver
    2021
    Posts
    92

    unable to display only filtered data in dropdown

    i have 2 sheets 1 has all the data in table format and other has drop down box in b1 CELL...i managed to get all the dates from sheet data to populate in drop down box BUT what i i am trying is to get the filtered data only to display which is not working....e.g if i filter the data for type books in sheet named data then i want the that drop down display only the dates with filtered data which gets displayed on sheet data after filter n not all the data , ...m attaching the file
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,980

    Re: unable to display only filtered data in dropdown

    Administrative Note:

    Is your forum profile showing the version of Excel that you need this to work for?

    Members will tailor the solutions they offer to the version of Office (Excel, NOT Windows) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your version is for Mac, please also state this.

    The three most recent versions of Excel are Excel 2019, Excel 2021 and MS365 - if you are using MS365, please give this name along with the release number in your profile (e.g. MS365 Version 2211). This is in the About Excel section further down the Account page.

    Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,369

    Re: unable to display only filtered data in dropdown

    Try to formatted as date on your data validation

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,980

    Re: unable to display only filtered data in dropdown

    How is that going to help, @azumi? I don't think it addresses the filtering issue.

  5. #5
    Registered User
    Join Date
    11-29-2020
    Location
    india
    MS-Off Ver
    2021
    Posts
    92

    Re: unable to display only filtered data in dropdown

    ms version is update in my profile...i cant seem to see where the excel version needs to be specifically updates

  6. #6
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,832

    Re: unable to display only filtered data in dropdown

    Here's one way:

    Add column to Table on "data" tab. formula in column:
    =SUBTOTAL(3,[@Date])

    Put this formula somewhere else (it's in cell F1 on the attached, but you can put it anywhere) ("Filtered" is the column header I gave to the new column in the table)
    =FILTER(Table1[Date],Table1[Filtered]=1)

    In your Drop-down Data Validation, choose "List", and put this in Source:

    =data!$F$1# (where F1 is whatever cell you put the formula above in.
    Attached Files Attached Files

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,980

    Re: unable to display only filtered data in dropdown

    Another way:

    1. Create a sheet called 'hidden'.
    2. In A1 of the new sheet: =LET(x,Table1[Date],FILTER(x,SUBTOTAL(3,OFFSET(x,SEQUENCE(ROWS(x))-1, 0, 1))))
    3. Data validation for the drop-down: =hidden!$A$1#
    Attached Files Attached Files

  8. #8
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,443

    Re: unable to display only filtered data in dropdown

    Worksheet or Tab name : data

    Pls try this VBA Code

    Please Login or Register  to view this content.

+ 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] unable to copy data from a filtered data set
    By tushjain00 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-02-2019, 05:41 AM
  2. Unable to copy and paste the Filtered data to new workbook
    By Rajkumar_h in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-15-2017, 12:14 PM
  3. [SOLVED] Unable to debug VBA to copy filtered raw data to new sheet
    By Belta in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-12-2017, 06:09 AM
  4. DROPDOWN LIST ISSUES | filtered, sorting, data validation
    By rsbuslon in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-05-2014, 03:42 AM
  5. Linking a dropdown box to an array of filtered data
    By Paragoomba in forum Excel General
    Replies: 5
    Last Post: 08-22-2013, 09:41 AM
  6. Unable to save or copy filtered data
    By teachme in forum Excel General
    Replies: 1
    Last Post: 03-10-2012, 07:40 AM
  7. Display of data when filtered
    By Vinodsralian in forum Excel General
    Replies: 3
    Last Post: 09-25-2009, 12:50 AM

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