+ Reply to Thread
Results 1 to 7 of 7

Autofilter Column of Data Based on Cell Input

  1. #1
    Registered User
    Join Date
    07-14-2014
    Location
    nyc
    MS-Off Ver
    2003
    Posts
    74

    Autofilter Column of Data Based on Cell Input

    Hi,
    I have a table of data which I would like to filter based on a manual cell input instead of the autofilter option.

    The table has tickers in column B and has information from column B to U. I would like to filter the data based on a manual ticker that I enter.

    Does anyone know how to do this / if it is possible? THank you!

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Autofilter Column of Data Based on Cell Input

    Hi, juliettelam,

    with the way you want the AutoFilter to work I would suggest to use the Advanced Filter on a sheet with both Criteria and Destination Range while the Data Range is on a different range.

    You could use the Worksheet_Change-event to deliver the new value to the AutoFilter but you should make clear where you want the ticker entered and where the data starts.

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  3. #3
    Registered User
    Join Date
    07-14-2014
    Location
    nyc
    MS-Off Ver
    2003
    Posts
    74

    Re: Autofilter Column of Data Based on Cell Input

    Hello

    Thank you for your response, I am very new to excel could you elaborate on each way? I'm not sure how to do either.

  4. #4
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Autofilter Column of Data Based on Cell Input

    Hi, juliettelam,

    what about answering my questions before I try to write books for a solution that may not fit?

    Ciao,
    Holger

  5. #5
    Registered User
    Join Date
    07-14-2014
    Location
    nyc
    MS-Off Ver
    2003
    Posts
    74

    Re: Autofilter Column of Data Based on Cell Input

    Hi Holger

    The worksheet change event seems to exactly fit what I am looking for. Thanks for your help!

  6. #6
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Autofilter Column of Data Based on Cell Input

    Hi, juliettelam,

    have a look at the workbook attached. Range to enter the criteria is C3 (Data/Validation), all the code is behind Tabelle1:
    Please Login or Register  to view this content.
    Ciao,
    Holger
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    07-14-2014
    Location
    nyc
    MS-Off Ver
    2003
    Posts
    74

    Re: Autofilter Column of Data Based on Cell Input

    that works perfectly!!!!!!!!!!!!!!!!!!!! thank you SO much

+ 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. Autofilter based on input from a range on a worksheet
    By D.Lovell in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-06-2014, 07:09 PM
  2. autofilter based on cell input (=>)
    By ln2012 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-29-2013, 03:40 AM
  3. [SOLVED] Autofilter data in a Column based upon criteria in two other columns
    By Southfish in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-25-2012, 07:24 PM
  4. [SOLVED] Macro to manually input which field (column) to autofilter on using an input prompt
    By rin in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-21-2012, 09:35 AM
  5. select column based on cell input
    By jcfrancisco in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 10-04-2011, 09:52 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