C
C
CREWbig2019-11-23 19:02:26
Google Sheets
CREWbig, 2019-11-23 19:02:26

How to write a formula for searching in a range and displaying values ​​in an adjacent column?

Greetings, is it possible to display all cells with a match (if the cell contains the word "BP") in one column where the formula fits.
=VLOOKUP("*BP *";A8:A27;1;) - displays only the first match, ignores the rest.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Ivanov, 2019-11-23
@CREWbig

You need to use a formula that expands its own range.
=FILTER(A2:A15;REGEXMATCH(A8:A27;".*БП.*"))
The most profitable option in this case is FILTER
=FILTER(A2:A15;REGEXMATCH(A8:A27;"БП"))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question