+ Reply to Thread
Results 1 to 3 of 3

Search multiple terms through excel

Hybrid View

  1. #1
    Registered User
    Join Date
    03-16-2007
    Posts
    8

    Search multiple terms through excel

    Hi,

    I've got a spreadsheet of all of the products that we stock, along with the different prices that we charge. In order to help our new staff to search for the right product, I've put together a front sheet which allows you to search, and then returns those items which match. This is done via VB, but the actual search is just using the standard Excel search function.

    What I want to do is allow the user to type in multiple search terms into one box, and just return results that match that criteria.

    eg If they are looking for product type A from manufacturer B, I want them to be able to type in "A B" and return the relevant lines that have that info in. At the moment it will only return a line that contains the string "A B".

    I've attached a sample of the spreadsheet, so you can see what's happening. (It's only sample data - there are thousands more lines).

    The code is a bit long winded because I have had to write multiple sections dependant on which column the data is found. Data is held on DATA sheet - hidden (& workbook protected but I've removed passwords).

    Let me know if you have any ideas on this.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    One way would be to have a nominated delimiter and you could then split out the various items, and loop the search for all the items. I don't think it could be a space, as this may be part of a valid search string.


    rylo

  3. #3
    Registered User
    Join Date
    03-22-2007
    Location
    Malaysia
    Posts
    21
    hi,

    I suggest you to use autofilter and search from multiple textbox. User can simply put from various textbox and search from multiple options.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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