Forum Discussion
Josh_Waldner
Nov 25, 2021Brass Contributor
array to text
is there a way to format an array as one string in a cell? right now i am using this formula: =TEXTJOIN(", ",TRUE,E64:E76) and get this result: 21, 23, 24, 25, 26, 27, 28, 21, 0, , , , , 0. bu...
- Nov 25, 2021
So, you need to exclude cells with zero, blank cells and cells with non-breaking space. That could be like
=TEXTJOIN(", ", 1, IF( ( K8:K22=0 ) + ( K8:K22=UNICHAR(160) ), "", K8:K22 ) )
SergeiBaklan
Nov 25, 2021Diamond Contributor
And what is in E71:E76 - zeroes, blanks or something else?
- Josh_WaldnerNov 25, 2021Brass Contributor
here is somewhat of what i am looking for
in the firs cell is actually a different formula creating the array.
- SergeiBaklanNov 25, 2021Diamond Contributor
So, you need to exclude cells with zero, blank cells and cells with non-breaking space. That could be like
=TEXTJOIN(", ", 1, IF( ( K8:K22=0 ) + ( K8:K22=UNICHAR(160) ), "", K8:K22 ) )- Josh_WaldnerNov 25, 2021Brass Contributorthanks. that works perfect.