+ Reply to Thread
Results 1 to 2 of 2

Column of words as filter for column of sentences

  1. #1
    Registered User
    Join Date
    01-16-2014
    Location
    Oslo, Norway
    MS-Off Ver
    Excel 2011 Mac
    Posts
    25

    Column of words as filter for column of sentences

    Hi

    I have excel for mac 2011

    I have a column of sentences ( A ) and a column of words ( B ). I want a new column ( C ) in which sentences from A are copied onto only if they contain one or more of the words in column B.

    I want the sentences in column C to appear with no cells in between them.

    I have tried these formulas:

    =IF(SUMPRODUCT((ROWS($B$2:$B$4)*(COUNTIF(A2,"*"&$B$2:$B$4&"*"))))>0,A2,"")

    =IF(OR(ISNUMBER(SEARCH($B$2:$B$4,A2))),A2,"")

    =IF(COUNT(INDEX(SEARCH($B$2:$B$4,A2),0)),A2,"")

    =IFERROR(INDEX(A:A,SMALL(IF(FREQUENCY(IF(ISNUMBER(SEARCH(TRANSPOSE($B$2:$B$4),$A$2:$A$5)),ROW($A$2:$A$5)),ROW($A$2:$A$5)),ROW($A$2:$A$5)),ROWS($2:2))),"")


    but i keep getting "formula contains error". Any ideas for a solution?


    Regards,
    Njaal, Norway.
    Attached Files Attached Files

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: Column of words as filter for column of sentences

    Welcome to the Forum, unfortunately:

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.
    http://www.excelforum.com/for-other-...sentences.html

+ 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] Column of single words as filter for columns with sentences
    By [email protected] in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 12
    Last Post: 01-23-2014, 12:11 PM
  2. Replies: 6
    Last Post: 01-17-2014, 10:41 AM
  3. Remove Stop Words from a column containing 16000 rows of sentences
    By Abhayrajify in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-30-2013, 07:14 PM
  4. Replies: 18
    Last Post: 11-29-2012, 07:43 AM
  5. List out words from sentences
    By ap_naveen in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-21-2010, 06:58 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