+ Reply to Thread
Results 1 to 9 of 9

Filter or Lookup Keywords in Separate Columns

  1. #1
    Registered User
    Join Date
    11-26-2018
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    6

    Post Filter or Lookup Keywords in Separate Columns

    I am coming up with a simple keyword distinguishing two categories of keywords for me to present to my client. Can anyone help me the formula to come up with just the keyword lists containing “Doctor” in the Doctor column and “Professor” in the Professor column? Does this involve a complex formula? See attached worksheet for reference.
    Attached Files Attached Files
    Last edited by MKTGCLOUD; 11-26-2018 at 03:47 AM. Reason: Attached worksheet

  2. #2
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 365
    Posts
    2,406

    Re: Filter or Lookup Keywords in Separate Columns

    To get somebody able to help you is try upload your sample excel file with detail explanation about the desired results, how to do that? Click on "Go Advanced" button then scroll down to find "Manage Attachments" text button then upload your file.

    Thank you
    Azumi

  3. #3
    Registered User
    Join Date
    11-26-2018
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    6

    Re: Filter or Lookup Keywords in Separate Columns

    I see. OK I have it attached. Thanks for the assist.

  4. #4
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 365
    Posts
    2,406

    Re: Filter or Lookup Keywords in Separate Columns

    Maybe put this on C2 and ENRED as ARRAY formula then copied down
    =IFERROR(INDEX($A$2:$A$612,SMALL(IF(ISNUMBER(SEARCH(C$1,$A$2:$A$612)),ROW($A$2:$A$612)-ROW($A$2)+1),ROWS($A$1:A1))),"")
    Attached Files Attached Files

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Filter or Lookup Keywords in Separate Columns

    Or, using AGGREGATE, a normal formula:

    =IFERROR(INDEX($A:$A,AGGREGATE(15,6,ROW($A$2:$A$612)/(ISNUMBER(SEARCH(E$1,$A$2:$A$612))),ROWS(E$2:E2))),"")
    copy/pasted into E and then down.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  6. #6
    Registered User
    Join Date
    11-26-2018
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    6

    Re: Filter or Lookup Keywords in Separate Columns

    Wow. This works.

  7. #7
    Registered User
    Join Date
    11-26-2018
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    6

    Re: Filter or Lookup Keywords in Separate Columns

    I checked on your formula, and it does work similarly with that Azumi. Big thanks for your help to the both of you.

  8. #8
    Registered User
    Join Date
    11-26-2018
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    6

    Re: Filter or Lookup Keywords in Separate Columns

    Quote Originally Posted by azumi View Post
    Maybe put this on C2 and ENRED as ARRAY formula then copied down
    =IFERROR(INDEX($A$2:$A$612,SMALL(IF(ISNUMBER(SEARCH(C$1,$A$2:$A$612)),ROW($A$2:$A$612)-ROW($A$2)+1),ROWS($A$1:A1))),"")
    Yes this works on both MS Excel and Google Spreadsheets (Note: Aggregate Function is not available in Google Sheets). Many thanks for this.
    Last edited by MKTGCLOUD; 11-27-2018 at 01:45 AM. Reason: Update

  9. #9
    Registered User
    Join Date
    11-26-2018
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    6

    Re: Filter or Lookup Keywords in Separate Columns

    Quote Originally Posted by Glenn Kennedy View Post
    Or, using AGGREGATE, a normal formula:

    =IFERROR(INDEX($A:$A,AGGREGATE(15,6,ROW($A$2:$A$612)/(ISNUMBER(SEARCH(E$1,$A$2:$A$612))),ROWS(E$2:E2))),"")
    copy/pasted into E and then down.
    I checked your formula too, and it does work similarly with that Azumi. Big thanks for your help to the both of you.

+ 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] Lookup two columns in separate sheet
    By froggeja in forum Excel General
    Replies: 3
    Last Post: 05-10-2015, 05:40 PM
  2. Replies: 3
    Last Post: 07-28-2014, 08:00 PM
  3. Lookup value based on 2 criteria in 2 separate columns
    By mattadler22 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-17-2013, 05:59 PM
  4. Setting filter when there are separate columns?
    By toplisek in forum Excel General
    Replies: 0
    Last Post: 01-30-2013, 08:53 AM
  5. command to filter multiple columns and search for words containing keywords
    By melvyndb in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-11-2012, 09:37 PM
  6. Replies: 3
    Last Post: 04-27-2010, 01:47 AM
  7. Comma separate keywords
    By toddroutt in forum Excel General
    Replies: 2
    Last Post: 08-10-2007, 07:27 PM

Tags for this Thread

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