Answer the question
In order to leave comments, you need to log in
How to specify a range of cells number - 1?
Let's say we have this example:
название цена руб.
яблоко 20
груша 24
банан 35
итого 79
=СУММ(B2:B4)
=СУММ(B2:B(count(B)-1))
Answer the question
In order to leave comments, you need to log in
Sum is not an array formula, so you can't just use it. I usually use INDEX for such purposes.
It is important that you do not have empty rows in the column, otherwise the formula will not work. For empty values, use 0 instead.
=СУММ(B2:ИНДЕКС(B:B;СЧЕТЗ(B:B);1))
Means the following: the range from B2 to the last cell is summed. The index substitutes this cell from the array. Counts counts the number of non-empty values.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question