C
C
cyberlain2021-04-23 12:13:03
excel
cyberlain, 2021-04-23 12:13:03

How to count the number of articles of a certain length in excel?

The task is to understand by the article which supplier supplies it. The key difference between suppliers is that they (thank God) have articles of different lengths. Someone has 36, someone has strictly 11. I found a formula
=СЧЁТЕСЛИ(CODES2;ПОВТОР("?";35)&"*")that counts the number of positions in which the length of articles is more than 35.
Question: is there a way to determine the quantity exactly by a specific length? (not more or less)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
John Smith, 2021-04-23
@cyberlain

=SUMPRODUCT(--(LEN(%ДИАПАЗОН_ГДЕ_СЧИТАЕМ%)=%ДЛИНА_КОТОРУЮ_СЧИТАЕМ%))

for example
=SUMPRODUCT(--(LEN($I$27:$I$31)=3))
6082b44cf3cf1459779872.jpeg
In Russian Excel it will probably be like this
=СУММПРОИЗВ(--(ДЛСТР(%ДИАПАЗОН_ГДЕ_СЧИТАЕМ%)=%ДЛИНА_КОТОРУЮ_СЧИТАЕМ%))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question