+ Reply to Thread
Results 1 to 2 of 2

Search multiple keywords

  1. #1
    Registered User
    Join Date
    06-05-2019
    Location
    UK
    MS-Off Ver
    2016
    Posts
    8

    Search multiple keywords

    Hi

    I have a spreadsheet that will be updated weekly with info drawn from a tender/contract website.

    This will be going to multiple people and they would like to filter according to keywords in the tender 'description' box.

    I have managed to set up a VBA/macro search box where they can input a keyword and the list will be filtered accordingly, for that one word.

    I'd like to be able to go a step further and allow them to click on a macro button that would filter the list for ANY of a list of keywords in the description column.

    e.g if they were interested in IT related contracts they would like to see only contracts containing any of the words "Network" "Data" "IT" "Computer" "Cloud" etc. etc.

    Is there an easy way to do this?

    I'm guessing it would use Advanced Filter rather than autofilter (which I used for the basic search) but not sure of the possibilities.

    Many thanks in advance

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Search multiple keywords

    Here is a concept that works. Columns A:B contain the data. The keyword list is in cells O1:O4. If you want a variable length list, we'll have to go to VBA. I assumed you have a fixed list of keywords users can search. If you are going to allow free-form entry, then we'll probably have to toss in an array formula.

    Column C is a helper column that compares the keywords selected with and whether it's in column A. It evaluates to TRUE if column A matches one of the key words.

    I hope this gets you started off in the right direction. If you need additional help, I suggest including a sample workbook.

    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Attached Files Attached Files
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

+ 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. Search for multiple keywords within a single text cell
    By ndube50 in forum Excel General
    Replies: 22
    Last Post: 06-30-2020, 07:23 AM
  2. Search Keywords and Delete Every Line Except Keywords
    By area51plustax in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-16-2018, 12:30 PM
  3. Multiple keywords in one cell & want to search / sort
    By teachmeinfo in forum Excel General
    Replies: 3
    Last Post: 10-08-2014, 08:41 PM
  4. [SOLVED] Search for keywords and copy rows containing keywords to new sheet
    By lenorsk in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 10-15-2013, 06:54 AM
  5. Search a cell containing a string for multiple keywords
    By bishoposiris in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-18-2013, 02:21 PM
  6. Replies: 2
    Last Post: 11-24-2010, 05:44 PM
  7. Search multiple worksheets for several keywords
    By gyro11 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 10-08-2010, 05:10 PM

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