+ Reply to Thread
Results 1 to 9 of 9

Search Functionality or search Button

  1. #1
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2024
    Posts
    2,873

    Search Functionality or search Button

    I have sample data on sheet1 and have a summary sheet where I have set up a data validation list

    I would like to set up a search button or some type of search functionality that if I type for eg shirts it will select the drop down validation list


    I have attached sample data with a few item, but the list could have 150 -200 items so that if one selected the drop down without a search button or search function, it will be cumbersome


    It would be appreciated if someone could assist me to set this up
    Attached Files Attached Files

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

    Re: Search Functionality or search Button

    If yoy have data validation on B1, put this on B3 for "Items":

    =IFERROR(INDEX(Sheet1!$A$1:$A$10,MATCH(B1,Sheet1!$A$1:$A$10,0)),"")

    For "Values", put on C3:
    =IFERROR(INDEX(Sheet1!$B$1:$B$10,MATCH(B1,Sheet1!$A$1:$A$10,0)),"")
    Attached Files Attached Files

  3. #3
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,423

    Re: Search Functionality or search Button

    .
    Your description is not clear. Please be more specific where the drop down is located (none found at this point).

    And are you saying you want to search the drop down list, because there may be a total of 200 items in that list and you don't want the user
    to have to scroll down through it to find the term they are seeking ?

    Are you only wanting to search the drop down ? Or does finding the term you were seeking initiate something else ?

  4. #4
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Search Functionality or search Button

    you want drop down list by typing Shirts any where in the sheet or in a specified Range . For Eg B12:F30.
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  5. #5
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2024
    Posts
    2,873

    Re: Search Functionality or search Button

    Thanks Azumi for your input

  6. #6
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2024
    Posts
    2,873

    Re: Search Functionality or search Button

    what I am looking for is to have a search button, where I can type in for eg shirts in say B1 and it will be linked to the drop down button per the data validation list

  7. #7
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,423

    Re: Search Functionality or search Button

    .
    There is no need for a Command Button to act as a search feature. Here is part of the formulas :

    Please Login or Register  to view this content.
    Review the attached workbook for the remainder of the formulas and layout.


    azumi has an effective approach to your goal as well.

    Overall if you are wanting to use a command button to activate a search function, you should not be using the drop down feature.
    There are other means to search for your term/inventory level without the drop down.
    Attached Files Attached Files

  8. #8
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2024
    Posts
    2,873

    Re: Search Functionality or search Button

    Thanks for the help

  9. #9
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,423

    Re: Search Functionality or search Button

    .
    You are welcome.

+ 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] Search and Update functionality
    By 323100N in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 03-21-2019, 05:40 AM
  2. Search Bar that Executes Search Based on Radio Button and Key Words
    By pomo2016 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-06-2016, 09:26 AM
  3. CRM With Search FUnctionality
    By JamesHansford in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-16-2014, 06:57 AM
  4. CRM, With Search Functionality
    By JamesHansford in forum Excel General
    Replies: 1
    Last Post: 10-16-2014, 06:20 AM
  5. [SOLVED] userform search button remove search only when i type
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-08-2014, 02:32 AM
  6. [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
  7. [SOLVED] creating a search functionality
    By karanpreet in forum Excel Programming / VBA / Macros
    Replies: 30
    Last Post: 05-22-2013, 06:49 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