Answer the question
In order to leave comments, you need to log in
How to fill a cell in a dictionary?
How to populate a column brand
using a dictionary?
If the column contains a brand name from the dictionary, then it is filled with the brand name.
link (didn't find how to download the file)
Answer the question
In order to leave comments, you need to log in
As mentioned above SEARCH
or FIND
can solve this problem
=ARRAYFORMULA(TRIM(TRANSPOSE(QUERY(TRANSPOSE(IFERROR(
IF(
FIND(TRANSPOSE(LOWER('словарь'!B2:B11));LOWER(B2:B11));
TRANSPOSE('словарь'!B2:B11)
)
));;9^9))))
An external algorithm is only to help - either a macro, or a handler on the same python.
It is necessary to compare the occurrence of a substring (brand) in a string (name). At the same time, understand that there can be several occurrences and make a choice.
No other way.
Or maybe just a drop-down list?)
Or do you need to find a word by word from the line in the name column and, if there is a match with the brand, write this brand into the brand column of the corresponding line?
---
Maxim Stoyanov (stomaks), developer of Google Apps Script .
g-apps-script.com
stomaks.me
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question