S
S
Sergey Shilovsky2018-11-13 20:37:16
excel
Sergey Shilovsky, 2018-11-13 20:37:16

How to combine ranges of cells into an array?

I'm trying to count all the diagonal minors of a matrix. For the first and last element no difficulty:

spoiler
5beb0aed8208c166496714.png5beb0b9557c0d858875231.png

For the remaining elements, I can’t figure out how to combine a set of ranges or how to exclude a row and column from a range, I tried to do something like this:
spoiler
5beb0b1b87c32357962554.png

But instead of merging, it stupidly adds numbers.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pychev Anatoly, 2018-11-13
@First_Spectr

Well, you can use named ranges
"Formulas" panel - "Name Manager"
Create a new name and when selecting a range, select all the cells you need using Ctrl
Then use this name
in the formula To insert into the formula, you can use the "Formulas" command - "Use in Formula"
Or count with VBA

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question