Domanda

I have a Google Sheets where I store RSS feeds (in Sheet1). What I would like to do is to create a formula that will, in Sheet2, copy and display all feeds from Sheet1, which contain certain words. Screenshot of example: Screenshot of example

In this example I would like to copy and display (from Sheet1 to Sheet2) all feeds with the words BLACK and SHIRT, and from here on I would like to auto copy and display feed, every time it will contain this two words.

Is this possible and how?

È stato utile?

Soluzione

To return rows that contain the string 'black shirt':

=QUERY(Sheet1!B:B;"select * where B contains 'black shirt'";1)

To return rows that contain any complete words listed in C2:C:

=FILTER(Sheet1!B2:B;MMULT(SEARCH(TRANSPOSE(" "&C2:C&" ");" "&Sheet1!B2:B&" ");SIGN(ROW(Sheet1!B2:B))))

QUERY documentation

FILTER documentation

Example spreadsheet

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top