+ Reply to Thread
Results 1 to 2 of 2

Search using multiple criteria within userform and display all results on another sheet

  1. #1
    Registered User
    Join Date
    12-14-2015
    Location
    UK
    MS-Off Ver
    2010
    Posts
    11

    Search using multiple criteria within userform and display all results on another sheet

    Hello,

    I have a table with 7 columns of data (A to G) on the "Data" sheet that I would like to be able to search for strings of text using criteria from any one of the columns or any multiple of columns. I would like to be able to enter the criteria in a userform and get the results on the "Search" sheet. The results should contain all the data from the row that contains a match. The "Search" sheet should also be cleared except for headers before results are dispalyed. I have this working at the moment using a textbox but can only enter one criteria which searches the entire workbook and gives the results from all sheets. This pulls up too many matches I would like to be able to use multilple criteria to filter what I need to see and only search the "Data" sheet. I have attached a workbook to give you an idea of what I have. The workbook uses a userform to enter the data via dropdown lists and textboxes.

    Thanks

    Tony
    Attached Files Attached Files

  2. #2
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: Search using multiple criteria within userform and display all results on another shee

    You could really extrapolate this into a menagerie with the type of data you are trying to search and the possible duplications that can occur. I would suggest that you add a column to your table for serial number which would give you more of a chance to search for a unique value. If you have to use more than one criteria, you could use a loop or autofilter to narrow the choices. I wouldn't want to try it with the current data.

+ 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] userform. search and display results from that row
    By SPARKY347 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-15-2015, 07:40 AM
  2. Excel Multiple Search Criteria and Display results - Supplementary Question
    By Cupsay in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-06-2014, 03:55 AM
  3. Excel Multiple Search Criteria and Display results
    By globaltelemetrics in forum Excel General
    Replies: 14
    Last Post: 02-05-2014, 09:51 PM
  4. [SOLVED] Search sheet by inputbox entry from userform, multiple results
    By skbreen in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-15-2013, 09:06 AM
  5. [SOLVED] Search Multiple columns for string, display matching results on different sheet.
    By RichTea88 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-06-2013, 06:53 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