Forum Discussion
AmyM-NirR
Feb 18, 2023Copper Contributor
Formula evaluated in curly brackets
in cells A19:A31 I have numbers in sorted order. I've applied this formula: =SEQUENCE(ROUND(ABS(MIN(A19:A31)-MAX(A19:A31)),0)+1,,ROUND(INDEX(A19:A31,1),0),1) in order to create a sequence of numbers ...
AmyM-NirR
Feb 18, 2023Copper Contributor
I've managed to make it work, but I don't understand the mechanism behind it.
Apparently, if I use SUM around the INDEX function, it does what it is intended to do.
Any ideas why this is happening, and how to use it more wisely than using SUM function?
Apparently, if I use SUM around the INDEX function, it does what it is intended to do.
Any ideas why this is happening, and how to use it more wisely than using SUM function?
Detlef_Lewin
Feb 18, 2023Silver Contributor
Usually N() resolves such problems. But not in this case.
I suppose it has to do with the dynamic array inside INDEX().
It works if you use a range-reference instead.
It works if you use helper cells instead of LET().