Results 1 to 7 of 7

Column if words as filter

Threaded View

njaalgw@gmail.com Column if words as filter 01-26-2014, 11:43 AM
XOR LX Re: Column if words as filter 01-26-2014, 12:54 PM
njaalgw@gmail.com Re: Column if words as filter 01-26-2014, 01:53 PM
njaalgw@gmail.com Re: Column if words as filter 01-26-2014, 02:27 PM
XOR LX Re: Column if words as filter 01-26-2014, 02:37 PM
njaalgw@gmail.com Re: Column if words as filter 01-27-2014, 05:27 AM
XOR LX Re: Column if words as filter 01-27-2014, 05:33 AM
  1. #1
    Registered User
    Join Date
    01-16-2014
    Location
    Oslo, Norway
    MS-Off Ver
    Excel 2011 Mac
    Posts
    25

    Column if words as filter

    Hi

    I have a column of sentences in column A and a column of single words in column B. I want those sentences in column A that contain one or more of the words in column B to appear in a new column; column C.

    I also want the formula to work in such a manner that if a new word is written in the column B or a word is deleted, or if a sentence in column A is replaced or removed or a new is inserted, the list in column C will update automatically according to the changes in column A and B.

    The length of the column of sentences and words in A and B must hence be able to change, and hence so must the length of the list of sentences in column C.


    This works in google.docs with the following formula:

    =FILTER('Sheet1'!A1:A;MMULT(SEARCH(TRANSPOSE(" "&B1:B&" ");" "&'Sheet1'!A1:A&" ");SIGN(ROW('Sheet1'!A1:A))))


    After several rounds of feedback from forum users, I have tried entering these formulas in excel (as arrays in the correct manner), but none of them can do the task:

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

    =IF(OR(ISNUMBER(SEARCH($B$1:$B$1,A1))),A1,"")

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

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


    Some of these produce a list of sentences in C, but not in the manner described that works with the google docs formula.

    I can hardly believe that this is possible to do in google docs but not in excel. I want to use excel because the processing capacity in google docs is rather limited when applied to large amounts of data, compared to excel.


    If anybody is able to help it is greatly appreciated.


    Regards, Njaal, Norway.
    Attached Files Attached Files

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 njaalgw@gmail.com in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 12
    Last Post: 01-23-2014, 12:11 PM
  2. Column of words as filter for column of sentences
    By njaalgw@gmail.com in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-20-2014, 04:03 PM
  3. [SOLVED] Filter a column containing sentences with a column of words
    By njaalgw@gmail.com in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-17-2014, 10:41 AM
  4. Replies: 18
    Last Post: 11-29-2012, 07:43 AM
  5. Counting words in one column to count words in another column
    By stuart1133 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-16-2010, 05:54 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