0

How do I put my named range of a list of values into one cell?

i've tried going into a cell and naming the range like so =namedrange

sample data in my named range:

+---+----------+
|   |    A     |
+---+----------+
| 1 | 'stack', |
| 2 | 'over',  |
| 3 | 'flow',  |
+---+----------+

=OFFSET(Nodes!$B$2,0,0,COUNTA(Nodes!$B:$B),1)

expected output, i would like a formula to do this:

enter image description here

excelguy
  • 411

1 Answers1

0

Lets do 2 cases. Say the Named Range is A1 through A3. Without Named Ranges we can use:

=TEXTJOIN(CHAR(10),TRUE,A1:A3)

enter image description here

With Named Ranges:

=TEXTJOIN(CHAR(10),TRUE,Stooges)

gives the same result.

To use the comma as a separator, replace the 10 with 44