+ Reply to Thread
Results 1 to 1 of 1

Keyword Find Function

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

    Keyword Find Function

    I actually developed this application for work and for once, it does not contain proprietary information, so I can present it in full here. I am the Excel guru at my company and I present tips to my coworkers. Mostly, these are links back to other sites that explain the concept better than I can. So I developed a spreadsheet that lists the topics and links back to the sites that discuss them. The list grew long and I wanted to give my coworkers a way to search for topics using keywords. So I developed the following.

    It is a function that returns TRUE or FALSE based on whether the keyword is found in the string to be searched. The syntax is: KeyWord(StringToSearch,SearchCriteria,AndOrFlag).

    The string to search is the first argument. The search criteria is the list of keywords separated by commas. The AndOrFlag is 0 or 1 for OR or AND respectively.

    The demo spreadsheet contains real world data and I use a form to "collect" the keywords and some additional VB code to filter and clear data in the table based on a hidden column containing this function.

    Please Login or Register  to view this content.
    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. [SOLVED] Find the row of the cell matching a keyword
    By billj in forum Excel General
    Replies: 4
    Last Post: 11-26-2019, 05:00 AM
  2. [SOLVED] How to find Sentence and seq.number by KEYWORD?
    By tta.akmal in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-20-2018, 12:27 AM
  3. Find Keyword in URL from Lookup Table
    By newbieexceldude in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 10-09-2016, 12:11 PM
  4. [SOLVED] Find if keyword is in the URL (which contains no spaces)
    By ccastell88 in forum Excel General
    Replies: 2
    Last Post: 08-04-2015, 03:24 AM
  5. [SOLVED] Find keyword and delete the rows below and above
    By zeroist in forum Excel Programming / VBA / Macros
    Replies: 25
    Last Post: 09-13-2013, 03:45 AM
  6. Replies: 2
    Last Post: 07-13-2012, 04:02 AM
  7. Find keyword then select all data below and to the right
    By excelRookie06 in forum Excel General
    Replies: 1
    Last Post: 08-08-2011, 01:40 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