+ Reply to Thread
Results 1 to 4 of 4

Search for keyword in table and output all matches

  1. #1
    Registered User
    Join Date
    04-20-2018
    Location
    Berlin
    MS-Off Ver
    Latest
    Posts
    5

    Search for keyword in table and output all matches

    Dear Excel-Gurus,

    I am facing the problem that I have an Excel-table with a lot of websites in a column. I would like to search through these websites looking for matching keywords and if there is any fit to the keyword, I would like to extract the whole matching row to another place.

    The list is quite long and takes quite a while if done single handedly.

    I attached a practical use case and the desired outcome to this posting.

    Your help is highly appreciated !

    Regards
    Attached Files Attached Files

  2. #2
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: Search for keyword in table and output all matches

    =iferror(small(if(isnumber(search($a$13,$a$2:$a$8)),row($a$2:$a$8)),rows($a$16:$a16)),"") cse
    =index(a:a,$o16)
    Attached Files Attached Files

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,446

    Re: Search for keyword in table and output all matches

    Hi Mccream1,

    You can also do your problem using an Advanced Filter and using wildcard searches. If you use *casino* as your filter criteria it would do what you want.

    Look at this site and down to the "asterisk" example.

    https://trumpexcel.com/excel-advanced-filter/
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Registered User
    Join Date
    04-20-2018
    Location
    Berlin
    MS-Off Ver
    Latest
    Posts
    5

    Re: Search for keyword in table and output all matches

    Thank you guys. The Advanced Filter method worked for me.

    The only downside is, that the output has to be in the same tab, which does not look very nice when you have a very large table + to keep your tabs clear.

    Works anyway ! Thank you everybody!!

+ 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. Replies: 11
    Last Post: 11-02-2017, 11:02 AM
  2. Search cells C1:C3000 for keyword and if exists place a keyword in A1:A3000
    By GregQuick in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-24-2015, 07:38 PM
  3. Search a table with multiple search inputs and return all matches
    By JDI in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-16-2014, 12:23 PM
  4. Replies: 6
    Last Post: 03-18-2014, 11:16 AM
  5. keyword search using excel table
    By Barrys in forum Excel General
    Replies: 2
    Last Post: 03-08-2012, 08:59 AM
  6. Replies: 1
    Last Post: 12-27-2010, 08:53 AM
  7. Table search and position output question
    By yellephant in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-22-2007, 08:35 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