Forum Discussion
leolapa
Feb 03, 2023Brass Contributor
Join names (TEXTJOIN?) with one-cell 2D spilled formula
Below is a snippet of a list of names that follows some pre-specified criteria: How I got there doesn't really matter, but the fact that I was able to get to this point via a dynamic for...
- Feb 03, 2023
mtarler
Feb 03, 2023Silver Contributor
=INDEX($L$57#,1,) & IF(LEN(INDEX($L$57#,2,)), " & " & INDEX($L$57#,2,), "")
or
=TAKE($L$57#,1) & IF(LEN(TAKE($L$57#,-1)), " & " & TAKE($L$57#,-1), "")
- leolapaFeb 06, 2023Brass Contributormtarler they're both pretty good solutions albeit only covering as far as 2 rows by X columns ranges.
I suppose a recursive LAMBDA approach on top of the INDEX option would address the issue of covering any length of rows, but OliverScheurich's BYCOL solution above does take care of that with a much shorter formula.
Thanks a lot!