Forum Discussion
SergeiBaklan
Jan 22, 2022MVP
long texts with arrays in conditional functions
PeterBartholomew1 , tboulden or someone else
Perhaps you know the workaround, even with lambdas. In simplest case
=IF( 1, REPT("a", 256) ) works
=IF( {1}, REPT("a", 256) ) returns #VALUE!
...
HansVogelaar
Jan 22, 2022MVP
=IF( {1}, REPT("a", 256) )
works for me if I confirm the formula with Ctrl+Shift+Enter (using Excel 2021, which has dynamic arrays).
SergeiBaklan
Jan 22, 2022MVP
Yes, it works. CSE returns first element of the array, other words works as with scalar value. In more complex case like
=LET( t, FILTER( range, criteria), IF( t = "", "", t ) )
it doesn't work
Or, for example,