A
A
alyuza2021-10-17 10:02:32
Google Sheets
alyuza, 2021-10-17 10:02:32

How to classify strings according to the words they contain?

There are two tables shown in the example : the "Data" and "Keywords" tabs.
Text phrases in the Data tab (column B) must be assigned a category from the Keywords tab (column B) if they contain a certain sequence of characters from the set in the Keywords tab (column A).
An example of the expected result on the "Result" tab.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Grigory Boev, 2021-10-17
@ProgrammerForever

Start with sample data, and preferably one that you will work with. So far, nothing is clear in your question. In addition to REGMATCH () and FILTER () may come in handy

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question