+ Reply to Thread
Results 1 to 3 of 3

Filter Search Button

  1. #1
    Registered User
    Join Date
    08-29-2014
    Location
    Kansas City, MO
    MS-Off Ver
    2010
    Posts
    3

    Question Filter Search Button

    I have am working on a log to catalog reshipments of orders. I was hoping to create a search bar that you could enter a value from the spreadsheet and it would only show you the rows of the items searched for. The most important values are the SKU#, Date Entered, Acct# BGCS Chain, & Store#. I tried using the method from a website found through Google (http://www.thespreadsheetguru.com/bl...ing-search-box), but I couldn’t get it to work correctly and it seemed a little convoluted. I know that this could easily be filtered and/or search through doing CTRL+F, but I am going to have a couple coworkers using this form and I wanted to make it simpler. I attached a copy of the spreadsheet I am working with and I am hoping to solve this issue before I have hundreds of reshipments before the New Year. Thanks in advance!2016 test_NAT Reship Log.xlsx

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Filter Search Button

    For the sake of universal usage and simplicity, this is how I would do it.

    1) Add a new column out to the right of your data for a helper column. used column O. The first formula in O8 is:
    =ISNUMBER(MATCH("*" & $F$1 & "*", A8:M8, 0))
    ...copied down.

    2) Unmerge the big cell at the top.

    3) In E1 put the word SEARCH>>

    4) Right click the tab and select VIEW CODE to open the sheet module, the drop in this event macro which will watch cell F1 for any search term you enter:
    Please Login or Register  to view this content.
    5) Now you're ready, type any string you want, long or short, into cell F1 and the sheet will instantly filter to show all the rows that have that string anywhere on their row.

    To see all rows again, simple clear cell F1.
    Attached Files Attached Files
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,907

    Re: Filter Search Button

    Just for fun.
    Open searchform and start typing your searchstring in one of the textboxes. Results will be filtered in listbox
    Attached Files Attached Files

+ 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. Filter data with a search button
    By Triscia in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-20-2015, 12:14 PM
  2. Replies: 4
    Last Post: 11-08-2014, 04:57 AM
  3. Replies: 2
    Last Post: 10-07-2013, 04:57 AM
  4. [SOLVED] Macro/s to create Search Bar to filter to search terms entered activated by Command Button
    By JasonRay in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-08-2013, 03:44 PM
  5. [SOLVED] Button to search and filter all dates between two dates
    By DannyJ in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-11-2012, 11:12 AM
  6. Great Combo Filter/Search form, cant get DATE filter to integrate. HELP
    By fau5tu5 in forum Access Programming / VBA / Macros
    Replies: 4
    Last Post: 05-18-2009, 05:05 PM
  7. Advance filter search does not filter an exact match
    By cfiiland in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-10-2005, 08:05 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