+ Reply to Thread
Results 1 to 2 of 2

Filter data on a sheet based on a drop down from another sheet

  1. #1
    Registered User
    Join Date
    11-24-2015
    Location
    England
    MS-Off Ver
    2010
    Posts
    1

    Filter data on a sheet based on a drop down from another sheet

    Hi,

    On one sheet called "Control", I have two columns, one is "Area Size" and one is "Show?". Like this:

    Area size Show?
    0-19,999 Yes
    20,000-39,999 Yes
    40,000-59,999 Yes
    60,000-79,999 Yes
    80,000-99,999 Yes
    100,000-119,999 Yes
    120,000-139,999 Yes
    140,000-159,999 Yes
    160,000-179,999 Yes
    180,000-199,999 Yes
    200,000-219,999 Yes
    220,000+ Yes


    Depending on the text in column F (Show column), I want to autofilter data in a sheet called "Output". In output, I have 200 rows of data and a column D that contains the area grouping of each building. This is my current VBA code, however it is not working, and whenever I select Yes or No in the control sheet, it filters out all of the data as if none match the criteria, when I know it does.

    Please Login or Register  to view this content.
    Any idea as to why this isn't working?

  2. #2
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Filter data on a sheet based on a drop down from another sheet

    whats your data look like
    what is actually in column D?

    attached working file
    Attached Files Attached Files
    Last edited by humdingaling; 11-24-2015 at 08:02 PM.
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

+ 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. To filter data based on a particular value in other sheet
    By sasankmohan in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-22-2014, 11:14 AM
  2. How to design sheet Advanced Filter using drop down list from another sheet ?
    By ahmeddfouad in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-09-2014, 03:52 PM
  3. Replies: 6
    Last Post: 07-09-2014, 03:52 PM
  4. Pivot Filter based off drop down cell will not update in protected sheet
    By THAT guy 112073 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-30-2014, 01:03 PM
  5. Move data from Sheet 1 to Sheet 2 based on critera like adv filter?
    By gspivey79 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-02-2012, 12:45 PM
  6. Replies: 0
    Last Post: 04-25-2012, 10:05 AM
  7. Filter sheet then assign values into array based on this filtered sheet
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-06-2011, 10:32 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