I
I
Illarion Labahua2020-07-06 12:12:03
Google Sheets
Illarion Labahua, 2020-07-06 12:12:03

FIND(13;L73:L78)?

In order to select all rows in the filter that have the number 13 in column L, it is
enough to write like this

FILTER(
{Wonderful array};
FIND(13;PartNumber)
)

But if I want to select all rows that contain not only 13, but and 17 and 27, then this formula doesn't work anymore:

FILTER(
{Wonderful array};
OR(FIND(13;PartNumber);FIND(17;PartNumber);FIND(27;PartNumber))
)

And this one doesn't filter either :

FILTER(
{Fantastic array};
FIND(13;BatchNumber)+FIND(17;BatchNumber)+FIND(27;BatchNumber)
)

Question:

But which one still works?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Grigory Boev, 2020-07-06
@ProgrammerForever

OR() doesn't usually work very well in such cases
. Try this:

{ FILTER({Замечательный массив};FIND(13;НомерПартии));
FILTER({Замечательный массив};FIND(17;НомерПартии));
FILTER({Замечательный массив};FIND(27;НомерПартии)) }

In general, it is better to use QUERY () here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question